Sign In

If / Else

Route workflow execution down a true or false path based on one or more conditions with AND/OR logic.

The If / Else node evaluates a set of conditions against incoming data and routes execution to one of two output handles: True or False. Use it whenever your workflow needs a binary decision point -- for example, checking whether a form value exceeds a threshold, a field is empty, or an API response contains a specific status.

If no conditions are defined, the node always routes to the True output (vacuous truth).

Configuration

Logic

Controls how multiple conditions are combined.

ValueBehavior
ANDAll conditions must be true to route to the True output
ORAny single condition being true routes to the True output

Defaults to AND.

Conditions

Each condition compares a field value against an expected value using a typed operator. You can add as many conditions as you need.

FieldTypeRequiredDescription
Fieldtemplate stringYesVariable path to the value being tested, e.g. nodes.form1.email
Data typeselectNoType hint for the comparison: String, Number, Boolean, Date, Array, Object, or Any. Defaults to Any. Changes which operators are available.
OperatorselectYesComparison operator (equals, not equals, contains, greater than, etc.). The list updates dynamically based on the selected data type.
Valuetemplate stringConditionalThe expected value to compare against. Hidden for unary operators like "is empty" or "is not empty".
Ignore casetoggleNoWhen enabled, string comparisons are case-insensitive. Only shown for String and Any data types. Defaults to off.

Click Add to append a new condition. Click the trash icon on any condition card to remove it.

Output Handles

The If / Else node has two output handles:

HandleColorDescription
TrueGreenFires when the combined condition result is true
FalseRedFires when the combined condition result is false

Connect downstream nodes to the appropriate handle to build your branching logic.

Output

FieldTypeDescription
routestringThe matched route: "true" or "false"

Example

A support ticket form collects a priority field. You want to send urgent tickets to Slack and route everything else to email:

  1. Add an If / Else node after the form submission.
  2. Set Logic to AND.
  3. Add a condition: Field = nodes.supportForm.priority, Data type = String, Operator = Equals, Value = urgent.
  4. Connect the True handle to a Slack integration action.
  5. Connect the False handle to an Email integration action.

When a user submits the form with priority set to "urgent", the workflow follows the True path. All other values follow the False path.

See the Logic Nodes overview for a full list of available nodes.

On this page

If / Else | Buildorado