All help articles

Automations

Branch a journey with a condition

Send people one way or another on what you know about them at that moment, test the rule on a real customer, and decide where unanswerable cases go.

Updated 20 November 2026

A Condition built under Journey conditions has three exits, not two. Match and Otherwise are the obvious ones. The third, Data unavailable, is for people Qcom can't answer the question for, and it needs a step of its own.

A condition checks the person when they reach it, not when they entered. A tag added an hour ago counts.

Build the rule

Under Journey conditions, each condition starts with what it reads:

  • Customer fact: anything on the customer's record, grouped as Contact, Demographics, Engagement, Lead, Payment, Forms, Commerce, Order and Invoices. Examples are Tags, Lead stage, Has paid, Last order and Has an overdue invoice.
  • Saved segment: choose a segment, then Is in segment or Is not in segment. An inactive segment is marked *(inactive)* in the list.
  • Trigger event: a value from what started the journey, such as status.
  • Earlier step output: a value an earlier step produced, written as the step and the value, such as step-id.status.

Then choose how to compare it. The choices follow the type of fact: text has is, contains and is blank; numbers have is more than and is at least; dates have is in the last and is between; tags have has any of, has all of and has none of.

Combine conditions

Add condition adds another rule to the same group. Switch the group between Match all (every rule must hold) and Match any (one is enough).

Add group nests a group inside, for rules like "has paid, and either is in the VIP segment or ordered in the last 30 days".

Test it before you publish

Under Preview with customer, search for a customer and choose Run preview. The result shows which exit they'd take today: Match, Otherwise or Data unavailable. Try someone you expect on each side.

Connect all three exits

Every journey condition needs exactly one Match, one Otherwise and one Data unavailable route before it can publish. A condition from an older journey or a template may show True and False instead. It has only those two exits, and both need connecting.

Data unavailable is for when the answer is genuinely unknown: the fact isn't recorded, or Qcom can't check it at that moment. It isn't a "no". Send these people somewhere sensible, such as the Otherwise path's first step or a Notify Team step, rather than treating them as a match.

What it doesn't do

  • It doesn't wait for the answer to change. Someone who doesn't match goes down Otherwise straight away. Use a waiting step first if they need time.
  • It doesn't split by chance. For a random share of people, use a Split.
  • It doesn't check one Catalog item by itself. Save a segment for the item and branch on Is in segment.

When it won't publish

  • "must have exactly one Match, Otherwise, and Data unavailable route": an exit is unconnected or connected twice.
  • "uses values that are not available on every path here": an Earlier step output comes from a step that not every path runs. Read a value every path produces, or move the condition after that step.

Was this article helpful?

Branch a journey with a condition — Qcom Help