Appearance
Flow Variable Switch
Routes execution based on the value of a variable. Creates one output per case.
Inputs: 1 · Outputs: default + dynamic outputs
INFO
If you only need to compare a variable against one value, consider using the If / Else node instead.
Settings
| Setting | Type | Required | Default | Description |
|---|---|---|---|---|
| Variable to Check | String | Yes | — | Variable or placeholder whose value determines the route. |
| Comparison Type | Select | Yes | Equals | How to compare the variable to each case: =, ≠, >, <, ≥, ≤. |
| Cases | String Array | Yes | — | Possible values. Each creates an output. Non-matching values go to default. |
| Case Sensitive | Boolean | No | false | Whether matching is case-sensitive. |
Example
Route by player rank:
- Variable to Check:
%player_group% - Cases:
vip,admin,member - Connect each output to its rank-specific logic
- default → handle unknown ranks
