Skip to content

Switch ​

The Switch node compares an input value against a list of switch values and returns a matching result if found. This node is useful for branching logic based on predefined input options within your automation workflows.


Dependencies ​

No external service or node dependencies are required for this node.


Input Fields ​

LabelInput TypeDescriptionRequiredVisible WhenDefaultExample
Switch InputVariableThe input value to compare to listed switch values.✅ YesAlwaysnull{{MathOperations-#.Result}}
Switch ValuesTextThe switch values to compare the provided input to.✅ YesAlwaysnull1

Output ​

No output is generated by this node.


Examples ​

Switch – Lead workflow into a specific branch if input is matched.

lead workflow into branch if result input is 2.

FieldValue
Switch Input{{MathOperations-#.Result}}
Switch Values1
Switch Values2
Switch Values3
Outputno output

Potential Errors ​

Error ConditionDescription
No known errros

Developer Notes ​

  • The Switch Input must be a valid variable.
  • If no match is found, the node will follow the default branch.

Tentech 2024