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.
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.
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.
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.
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.
Last modified: 2024/06/28