Documentation is being updated. Some sections may not reflect the latest features.
Looking for step-by-step guides? Explore Tutorials →

Condition Node

Branch your workflow based on data conditions.

Overview

The Condition node allows you to create if/else branches in your workflow. Route data to different paths based on variable values. Supports multiple conditions with AND/OR logic.

Operators

Operator Description
== Equals
!= Not equals
> Greater than
< Less than
>= Greater than or equal
<= Less than or equal
contains String contains substring
startswith String starts with
endswith String ends with

Building Conditions

Each condition consists of:

  1. Variable - The value to check (e.g., {{status}})
  2. Operator - How to compare
  3. Value - What to compare against

Multiple Conditions

Combine conditions using logical operators:

Operator Description
AND All conditions must be true
OR At least one condition must be true

ELSE IF Branches

Add multiple ELSE IF branches for complex routing logic:

  1. Click Add ELSE IF to create a new branch
  2. Each branch can have its own set of conditions
  3. Branches are evaluated in order from top to bottom
  4. The first matching branch is executed

Output Ports

  • IF - Executes when conditions are true
  • ELSE IF - Additional conditional branches
  • ELSE - Executes when no conditions match

Example

IF: {{response.status}} == "success"
  → Process success path

ELSE IF: {{response.status}} == "pending"
  → Wait and retry

ELSE:
  → Handle error
AI AssistantPowered by Ubex
Beta
Ask me anything about Ubex workflows, nodes, or the API.