Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.heybreez.ai/llms.txt

Use this file to discover all available pages before exploring further.

The If node routes the workflow into different branches based on one or more evaluated conditions.
Each condition compares two values using a selected operation, and multiple conditions can be combined using AND/OR logic.
The node exposes two output paths:
  • True — triggered when the condition logic evaluates to true
  • False — triggered when it evaluates to false

Main Settings

Conditions

A list of one or more conditions to evaluate. Each condition includes: Data Type
Determines how the values will be interpreted. Options:
  • String
  • Number
  • Boolean
Value 1
The first value to compare.
Supports variables, including expressions like:
{{$node("NodeName").field}}
Operation
The comparison to perform between Value 1 and Value 2.
Available operations depend on the Data Type selected.
For example:
  • String operations include options like equality, containment, prefixes/suffixes, regex, and length checks.
  • Number operations focus on numeric comparisons (greater/less/equal, etc.).
  • Boolean supports only equality-based comparisons.
The UI only shows the valid operations for the chosen data type. Case Sensitive
Applies only to string comparisons.
When enabled, comparisons are case-sensitive (e.g., “Hello” ≠ “hello”).
Value 2
The second value to compare against.
Also supports variable expressions.

Combine Conditions

Specifies how multiple conditions should be evaluated together. Options:
  • ALL conditions must be true (AND) — every condition must evaluate to true
  • ANY condition must be true (OR) — at least one condition must evaluate to true