Connect blocks in Postman Flows

Blocks communicate with each other through connections. Connections are like unidirectional conduits that carry data between blocks. Most blocks have an input port, an output port, or both, where connections can begin or end. Many blocks' output ports can have multiple connections so you can send their data to more than one block. You can select and drag a block's output port to create and connect to a new block.

Add a connection

A typical flow often involves making a request, and then doing something with the result of that request. To do this, flows pass information between blocks to perform tasks.

Using one block's output as another block's input

Once data is selected, it can be used with other blocks. Sending it to a Display block is great for seeing that the request worked, but it doesn't actually do anything with the value.

Using selected data

Adding another Send Request block and then dragging a connection to its value1 and value2 variable inputs lets the request use the value for eur and date that was returned in the first request.

You can also create a Select block by dragging and dropping output data from a Send Request or Display block. The new Select block automatically selects the data you dragged and dropped.

Select block

Blocks inside of other blocks

You may have noticed in the previous step that the Send Request block has a variable named value1 that's using a Select block with no value set. When this happens, it's selecting everything that's being sent to it (which in this case is eur).

This flow can be simplified to remove the extra Select block and instead use the existing ones in the second Send Request block.

Simplifying the flow

Last modified: 2024/06/28


Postmanaut dancing. Illustration.