Skip to main content
The If/Else Branch node evaluates multiple conditions in sequence and routes each contact to the first matching path. Each condition is built using the Unified Query Engine, giving you access to contact fields, company fields, engagement data, audience membership, and more.

Configuration

Adding branches

Click Add branch to add a new Else if condition. There is no limit to the number of branches you can add.

Match counts

When you edit a branch’s condition, its count is relative to the contacts on this path, such as 312 of 4,210 contacts on this path. Contacts on this path are those who:
  • Meet the trigger’s contact conditions: the criteria, the scheduled filter, or the event-based filter
  • Don’t meet the exit condition
  • Match the branches the path takes above this node
  • For an Else if condition, don’t match any branch above it
Branches that rejoin stop narrowing the path. The count uses each contact’s current data, so it estimates who would reach this step rather than recording who has. Re-enrollment doesn’t change it. The count on the condition’s button in the sidebar covers all contacts. If a condition on the path can’t be counted ahead of time, such as one that references the triggering event, the condition’s count also covers all contacts.

Building conditions

Each branch uses the Unified Query Engine condition builder. You can combine multiple conditions within a single branch using AND/OR logic and nested groups. For details on available operators and field types, see the Unified Query Engine overview.

Behavior

  • Conditions are evaluated top to bottom (left to right visually on the canvas), starting with the If condition.
  • As soon as a condition matches, the contact follows that path. Remaining conditions are not evaluated.
  • If no condition matches, the contact follows the All others path.
  • Each contact follows exactly one path.
  • Contacts are evaluated using the most current data available at the moment they reach the node.

Example

An If/Else Branch that routes contacts by name: A contact named Alice matches the first condition and follows the If path. The remaining conditions are skipped. A contact named Carol doesn’t match any condition and follows the All others path.

Use cases

  • Engagement-tiered nurture — route contacts into high, medium, and low engagement paths based on email activity thresholds
  • Lead scoring tiers — send hot leads to sales, warm leads to a nurture sequence, and cold leads to a re-engagement flow
  • Multi-region routing — direct contacts to region-specific messaging based on country or locale
  • Lifecycle-based onboarding — deliver different onboarding content for trial users, new customers, and returning customers
  • Funnel stage actions — trigger different follow-ups depending on how far a contact progressed through a signup or demo request flow