All topics
Get started8Account, team & permissions44Units & fields70Records, views & tasks39WhatsApp & Cortex Chat68Email & social27Lead ads & distribution38Automations52Documents & quotes32Dashboards40Cortex AI18Developers & API12
Help Center·448 guidesAll topicsContact support

Send each run down a path by conditions (if / else)

The “Choose a path” step tests groups of conditions in order. The first group that matches decides the path, and if none matches, the run goes to Everyone else.

6 min
Before you start · for owners and managers
Permission to edit workflows
  • You need: Permission to edit workflows

Steps

1
Press Add a step and choose Choose a path.
2
For the first path, press Add a rule under Records go down this path when, and name the path if you like, such as “Riyadh”.
3
Press Add another path for more paths, in order.
4
Set the Everyone else step for anything that doesn’t match a path, or leave it empty so the branch ends.
5
Connect each path to its steps.

How it works

Paths are tested from top to bottom, and only the “first” path that matches is chosen.

Inside one path, conditions are combined with “and”. To combine with “or”, create two paths that lead to the same step.

To route by a field’s value, create one path for each value. Several paths can lead to the same step.

You can add up to 200 paths, and a run takes only one of them.

The path’s name shows on the map and in the run log: “Took the Riyadh path”.

Conditions read the record as the earlier steps left it.

If you turn off the step, the run takes the Everyone else path without any test.

Every condition and operator is in Conditions: operators, relative dates, messages and language.

If something goes wrong

What you see
Why
What to do
Everything goes to Everyone else
The conditions don’t match the record.
Check each path’s rules, then do a practice run on a record that should match.
A step after the branch never runs
It isn’t connected to any path.
The checklist warns you: “No path leads to this step, so it never runs.”

A real example

Namaa Academy
The situation

Clients from Jeddah and Riyadh need different teams.

What they did
  1. The “Riyadh” path: City equals Riyadh → notify the Riyadh team.
  2. The “West” path: City equals Jeddah or Makkah → notify the Western team.
  3. Everyone else → the team for the other cities.
The result

Every client reaches the team for their city.

A made-up company, to show the idea. The numbers are rounded.

Good to know

Up to 200 conditions in a path, and up to 200 condition paths.
Did this guide solve it?
If not, we’ll ask what was missing.
Open in Corteksa
Did this guide solve it?

We read every answer. To get a reply, use Contact support.