🇪🇸 Español 🇬🇧 English 🇧🇷 Português

Node: If (Condition)

How to configure the If node to split a workflow into two branches based on a simple condition.

Jul 11, 2026

The If node evaluates a simple condition and splits the workflow into two paths: True and False. If you need more than two possible outcomes, use the Switch node instead.

When to use it

  • For a binary decision inside the flow: does the message contain a word? Is the amount over a threshold? Is a field empty?
  • As a filter before a costly action (e.g. only send an email if the customer opted into communications).

Configuration

  • Field: the variable to evaluate, e.g. $trigger.tag or $deal.amount.
  • Operator: equals, not_equals, contains, not_contains, starts_with, ends_with, greater_than, less_than, is_empty, is_not_empty.
  • Value: the comparison value (supports variables). Not required when the operator is is_empty or is_not_empty.

Example

If node with field $trigger.tag, operator contains, value vipTrue branch: "Assign AI Agent" (VIP Sales); False branch: continues the standard flow.

Tips

  • greater_than/less_than only work when both sides are numeric; if the field holds text, the condition evaluates to false.
  • You can compare against another variable instead of a fixed value, e.g. value = {{$deal.previous_amount}}.

Troubleshooting

  • The condition always evaluates false: open the Variables panel and confirm the field actually exists in context at that point of the workflow.
  • You need 3+ possible outcomes: replace the If node with a Switch node.
Was this helpful?

Related articles