NodesOperation
Switch Case
Slot Usage: 0
Overview
Switch Case compares one input value against up to four case values and routes to the first matching case output, otherwise to default.
Supports string and number comparison modes.
Input
Input Type
stringComparison mode:
- String (
string): compares switch value to string case values. - Number (
number): compares switch value to numeric case values.
Default: string
Switch Value (String Mode)
stringValue to evaluate when Input Type = string.
Case 1-4 Value (String Mode)
stringCase match values for string mode.
Comparison is exact equality.
Switch Value (Number Mode)
numberValue to evaluate when Input Type = number.
Case 1-4 Value (Number Mode)
numberCase match values for number mode.
Each case is optional. Only provided values are checked.
Output
No custom output fields besides common metadata.
Branching
Case 1 / Case 2 / Case 3 / Case 4
Triggered when switch value matches corresponding case value.
Default
Triggered when no case matches.