Build a "Hello, world" flow module

Postman Flows is a visual, low-code editor you can use to build almost any workflow you can imagine. In this tutorial, you'll create a two-block flow module that displays the text Hello, world. You'll learn how blocks and connections work and prepare yourself to build larger and more complex flows.

Create a new flow module

With flow modules, you can create reusable flow components that can be added to multiple other flow modules and actions. You can share your flow modules with teammates so they don't need to rebuild the same components.

You create flow modules in a workspace. Use workspaces to organize your API projects and collaborate with your team.

To create a new flow module, do the following:

  1. Choose an existing workspace or create a new one.
  2. From the Postman sidebar, select Flow icon Flows.
  3. Select Add icon Create a new folder or flow > Add-On Lego icon Create flow module.
  4. In the sidebar, hover over the new flow module and select Options icon View more actions > Rename.
  5. Rename the flow module to Hello, world.
  6. Select the Return or Enter key.

Add a String block

Use the String block to define text, which you can send to another block.

To add a String block, do the following:

  1. From the canvas toolbar, select Add icon Block.
  2. Select String icon String. You can also search for the block by entering "string" in the search box.
  3. To the right of the Start block, select the canvas to place the String block in that location.
  4. In the String block, enter the text Hello, world.

In the next procedure, you'll connect this block to a Display block to display your text.

Connect a Display block

When you connect two blocks, you connect one block's input to another block's output. Inputs are on the block's left side and outputs are on its right side. The Display block displays incoming data, such as the String block's string value.

To connect a Display block, do the following:

  1. Hover over the String block's output port. The pointer changes to a crosshair.
  2. Drag the output port to the right of the String block to place the Display block in that location.
  3. Select View icon Display. You can also search for the block by entering "output" in the search box.

Run the flow module

From the canvas toolbar, select Run icon Run.

"Hello, world" flow

Congratulations! You built your first flow module and displayed Hello, world in a Display block.

Last modified: 2025/04/22