Conditions and branching

Condition steps, the nine operators, ALL/ANY matching, and routing by survey sentiment.

Updated Available on Free Agent Pro Agent Advanced Agent Enterprise

Conditions decide which path a workflow takes. There are two kinds, plus filtering on the trigger itself.

Condition steps

A Condition step tests a value and splits the flow into a true branch and a false branch. Each branch can run a completely different sequence, and neither has to rejoin.

Operators

Operator Meaning
EQUAL Equal to
NOT_EQUAL Not equal to
GREATER_THAN Greater than
GREATER_THAN_OR_EQUAL Greater than or equal to
LESS_THAN Less than
LESS_THAN_OR_EQUAL Less than or equal to
CONTAINS Contains any of the values as a substring
CONTAINS_ALL Contains every value as a substring
NOT_CONTAINS Contains none of the values

Which operators are offered depends on the fieldโ€™s type โ€” you wonโ€™t be shown GREATER_THAN for a boolean. Field types are string, integer, number, date, datetime, boolean and enum.

Watch the boundaries. LESS_THAN 3 excludes 3-star reviews. If you mean โ€œ3 and belowโ€, use LESS_THAN_OR_EQUAL. This is the single most common condition mistake.

Trigger conditions

Model Event triggers can carry their own conditions, evaluated before the workflow runs at all. Filtering here rather than in a Condition step is usually better โ€” nothing downstream starts, so nothing is wasted.

Pick the model youโ€™re triggering on and the builder offers the fields that model supports, each with the operators valid for its type. Fields backed by a fixed set of values โ€” an enum, or a link to another record โ€” offer their options directly rather than making you type a value.

ALL vs ANY

Rules combine two ways:

  • ALL (AND) โ€” every rule must match
  • ANY (OR) โ€” any one rule matching is enough

Default to ALL. ANY is broader than people expect, and a broad trigger is how automations end up firing on things nobody intended.

Survey Response Condition

A special step that waits for a survey response, then routes on sentiment. Four branches:

  • positive
  • neutral
  • negative
  • default โ€” the fallback, including when no response arrives

This is the cleanest way to build a recovery flow:

Send Survey
  โ†“
Survey Response Condition
  โ”œโ”€ positive  โ†’  ask for a public review
  โ”œโ”€ neutral   โ†’  thank them, no further action
  โ”œโ”€ negative  โ†’  notify team, escalate to team inbox
  โ””โ”€ default   โ†’  wait, then send one reminder

Always configure the default branch. People donโ€™t answer surveys. If the default does nothing, a meaningful share of customers silently fall out of the flow.

Conditions worth adding to almost everything

A rating or sentiment threshold. Without one, your โ€œsorry to hear thatโ€ flow fires on five-star reviews.

A recency check. The most common complaint about automated systems isnโ€™t the message โ€” itโ€™s the third message.

A location or group filter. For multi-site businesses, so alerts reach the right manager.

An internal exclusion. Your own team will trigger workflows while testing. Exclude staff addresses.

Keep them simple

If a workflow needs more than about four conditions, itโ€™s usually two workflows. Split it โ€” two simple flows are far easier to debug, and much easier to explain to whoever inherits them.

Was this article helpful?

Still stuck? Talk to us โ€” or open the chat in the corner.