Browse documentation

Workflow node reference

Condition

Branch based on conditions (if/else). Exact configuration, outputs, execution behavior, errors, limits, and examples for the Condition workflow node.

Automation buildersIntermediateAvailable

What this guide covers

  • Category: Logic.
  • Use it to route an execution through Yes or No based on one or more comparisons.
  • 2 configuration fields and 2 documented outputs.
  • Comparisons use current execution values; they do not query historical executions.

What this node does

Branch based on conditions (if/else)

Use it to route an execution through Yes or No based on one or more comparisons.

When not to use it

Do not use it for random experiments; use A/B Split. Do not use it to classify natural language; use Classifier.

Prerequisites

  1. At least one available variable or value
  2. A comparison operator and expected value
  3. Both required output paths connected

Inputs and configuration fields

Condition configuration fields
FieldKeyControl / typeRequirementDefaultAccepted values and behavior
Conditionsconditionscondition-builderRequired when shownNo defaultDefine your conditions. Value accepted by the displayed control
Matchmatch_typeselectOptionalallAll conditions (AND) (all), Any condition (OR) (any)

Configure the node

  1. Drag Condition from Logic in the node palette.
  2. Select the node to open its configuration drawer.
  3. Complete every required field and any conditional field revealed by your choices.
  4. Insert variables only from the current trigger or an earlier node on the same path.
  5. Connect every required output handle to the intended next step.
  6. Save and run Workflow Test with representative data before activation.

Outputs

Later nodes can use these values only after this node has run successfully on the same execution path.

Condition output variables
VariableTypeMeaning
{{nodes.condition.result}}booleantrue or false
{{nodes.condition.matched_conditions}}arrayWhich conditions matched

Execution behavior

  1. Evaluates all conditions with AND or any condition with OR.
  2. Emits a boolean result and matched-condition details.
  3. Continues only through the Yes or No handle.

Example use case

Send a priority alert when the extracted order total is greater than a business threshold.

Complete workflow pattern
text
Message Received → Extract Info → Condition → Notify Team / Send Text

Common errors

Condition common errors
SymptomResolution
Wrong path runsCheck variable type, operator, expected value, and All versus Any.
Value is missingConfirm the producing node ran earlier on the same path.

Limitations

Comparisons use current execution values; they do not query historical executions.

Every intended handle must be connected.