Get Variable
Get Variable reads a workflow variable and hands its value to the next nodes.
Screenshot placeholder
When to use it
Use it to pick up a value saved earlier by Set Variable.
Settings
| Field | What it does | Notes |
|---|---|---|
| Variable name | Name of the workflow variable to read | Placeholder my_variable |
| Output key | The key the value is stored under for downstream nodes | Default var_value |
| Default value | A fallback if the variable is not set | Placeholder null |
Inputs and outputs
- One input at the top and one output at the bottom.
- The value is available to later nodes under the Output key.
Example
Illustrative. Read customer_id with Output key customer_id and Default value left empty. Later nodes can then use that key.
Tips
- The name must match the one used in Set Variable.
- Set a Default value if the variable might not have been set yet.