Set Flow Variable
Runs on: Shared. Runs on the Community backend or inside a chatbox overlay.
Assigns a value to a flow variable. Define the variable in the flow's variable panel first. Flow variables reset each time the flow starts. Use them for counters, flags or accumulated text within one run.
Inputs
| Name | Type | Description |
|---|---|---|
Value | string, number, or boolean | The new value. Must match the variable's type. |
Configuration
- Variable: The flow variable to set, from the flow's variable panel.
Example
Define a number variable count defaulting to 0. Each time a !join Chat Command fires, add 1 to the current count with a Math node and pass the result to Set Flow Variable.