Skip to main content

Node Inputs

Required Fields

Condition:
The condition to evaluate.
Example: "{{value}} > 100"
Left Value:
The left operand for comparison.
Example: 150
Operator:
The comparison operator.
Available options:
  • equals (==): Equal to
  • not_equals (!=): Not equal to
  • greater_than (>): Greater than
  • greater_than_or_equal (>=): Greater than or equal
  • less_than (<): Less than
  • less_than_or_equal (<=): Less than or equal
  • contains: String contains
  • not_contains: String does not contain
  • starts_with: String starts with
  • ends_with: String ends with
  • is_empty: Value is empty
  • is_not_empty: Value is not empty
    Example: "greater_than"
Right Value:
The right operand for comparison (not required for is_empty/is_not_empty).
Example: 100

Optional Fields

Case Sensitive:
Whether string comparisons should be case-sensitive.
Example: false
Default: true
Multiple Conditions:
Array of additional conditions with AND/OR logic.
Example:
[
  {
    "left": "{{status}}",
    "operator": "equals",
    "right": "active",
    "logic": "AND"
  }
]

Node Output

Condition Result:
The result of the condition evaluation and the path taken.
Example Output:
{
  "condition_met": true,
  "left_value": 150,
  "operator": "greater_than",
  "right_value": 100,
  "branch_taken": "true_branch",
  "evaluation_details": {
    "expression": "150 > 100",
    "result": true
  }
}
Multiple Conditions Output:
{
  "condition_met": true,
  "conditions_evaluated": 2,
  "all_conditions": [
    {
      "left": 150,
      "operator": "greater_than",
      "right": 100,
      "result": true
    },
    {
      "left": "active",
      "operator": "equals",
      "right": "active",
      "result": true,
      "logic": "AND"
    }
  ],
  "branch_taken": "true_branch"
}

Node Functionality

The Conditional Node:
  • Evaluates conditions to control workflow execution paths.
  • Supports multiple comparison operators for numbers and strings.
  • Enables complex logic with multiple conditions (AND/OR).
  • Routes workflow to different branches based on conditions.
  • Provides detailed evaluation results for debugging.
  • Essential for dynamic workflows and business logic implementation.