The Get Variable block can retrieve the value of any variable defined by a Create Variable block anywhere in the flow. The Get Variable block then sends that value from its output port.
Select a variable - When a variable is selected, this port sends the variable's value.
You can add a Get Variable block directly to the canvas, or insert it inline within any block that takes variables as input. See Related blocks.
Select Select a variable and choose a variable from the dropdown list. The list is populated with variables created by Create Variable blocks in the flow.
A pin icon will appear in any Get Variable block that you insert inline into a block that's within a loop. To learn how variable pinning works, see Loops with external data.
To see the Get Variable block in an example flow, check out Flow Snippets: Variables.
Any value that the Get Variable block can retrieve must first be defined by a Create Variable block somewhere in the canvas.
Numerous blocks allow you to insert the Get Variable block inline, including the Create with AI, Evaluate, If, List, Record, and Template blocks.
Last modified: 2024/08/23