Switch
Sends items to one output per rule
Parameters
Section titled “Parameters”mode
Mode · string · required · default rules · one of rules, expression
How the step works; the fields below change with it.
rules
Rules · array · optional
Fields:
conditions(object) Conditionsoutput(string) Output
output
Output · string · optional
Shown when mode is expression.
fallback
Fallback output · boolean · optional · default false
allMatching
Send to every matching output · boolean · optional · default false
Outputs
Section titled “Outputs”The outputs depend on the parameters (for example one per rule).