Conditions and branches

Use conditions to run steps only when something is true, and branches to do different things in different cases.

On this page
  1. Simple checks on the step-by-step page
  2. Condition / branch in the builder
  3. Example: different answers by day and night
  4. Other ways to split a workflow
  5. Good to know

A condition is the Only if… of a workflow: a check that must be true before the next steps run. A branch is a condition with several ways out, so different cases get different steps.

Simple checks on the step-by-step page

Under 2 Only if… you can tick:

  • The message has certain words: for example refund, broken, late. Any one of the words is enough.
  • It's on a certain channel: for example only WhatsApp.
  • The contact has a tag: for example vip.
  • It's outside business hours: uses your business hours and holidays from Inbox → Business hours.

Every ticked check must be true. If one isn't, the run stops quietly and nothing is sent.

Condition / branch in the builder

Each check becomes a Condition / branch block. Click it to see its branches:

  • A branch has rules, for example Message text contains refund.
  • Match any means one rule is enough; match all means every rule must be true.
  • Branches are checked from top to bottom. The first one that matches wins.
  • Default is where the run goes when no branch matches. Connect it to a step, or leave it empty to stop.

Each branch has its own output on the block. Connect each output to the steps for that case.

Example: different answers by day and night

  1. Condition / branch with a branch Outside business hours (rule: Business hours equals Outside business hours).
  2. Connect that branch to Send message: We're closed now and will reply in the morning.
  3. Connect Default to Assign agent / team, so a teammate answers during the day.

Other ways to split a workflow

  • AI classify: AI sorts the message into your categories (for example Pricing, Support, Complaint) and each category gets its own output.
  • Split (A/B): sends people down two or more paths at random, to test two messages. A person always gets the same path.
  • Ask a question and Wait for reply: continue on Answered / Replied, or on the way out when nobody answers in time.

Good to know

A value that was never set counts as empty. So contains and equals are false for it, while does not contain and is empty are true.