Branching rules
Overview
Branching rules let you define multiple sets of actions based on different conditions within a single rule. This allows you to consolidate and manage more dynamic workflows within a single rule. When a conversation matches multiple branches, the rule will prioritize the highest path in the list. For situations where you need to execute all actions from every branch, we recommend using a rule set instead.
Not sure where to start? Start with a linear rule to create one path, then upgrade to branching as your needs evolve.
Instructions
Step 1
Click the gear icon, navigate to your company, workspace, or personal settings in the left sidebar, then select Rules and macros or Rules, depending on your view.
Step 2
For company and individual rules, click the arrow icon next to Create rule, then select Create branching rule.
For workspace rules, click Create rule and select the Create branching rule template.
Step 3
In the Settings step, enter a name for your rule, add a description, and select the inboxes the rule applies to. Click Save.
Step 4
In the Triggers step, add events that determine when your rule will run.
In this example, we want the rule to apply to inbound messages.
Step 5
Click the plus (+) icon, then Branch by condition to add a branch to your rule.
Step 6
Click Add condition in the side panel, then add rule conditions for criteria that needs to exist for your rule to run specific actions. Click Save when finished.
❗Important to know:
Branches sorted higher in the list will execute first. Use the move up / move down arrows to reorder your branches based on priority.
Every branch will not be executed. If a conversation matches multiple branches, the branch with the higher sort order will be used.
In this example, we want the rule to take different actions depending on the customer’s account type.
Step 7
Use the plus (+) icon to add additional branch steps, or click Add action in your action steps to tell the rule what to do once the conditions are met.
In this example, we want to assign the conversation to the customer’s account manager if they have a “Managed” account, move to the Tier 2 inbox if they have a “Tier 2” account, or assign to the Support team for any other account type.
Step 8
Click Create to finish your rule.
Step 9 (optional)
If needed, reorder the branching rule in your rule list based on when you want it to be evaluated.
FAQ
Are there any limitations?
Branching rules with not work with:
Delayed rule conditions (Oldest message is unreplied after, Conversation is unassigned and open after, Time passed since trigger is)
Load balancing rule action
Rule templates such as rule sets, CSAT, time goal, required tagging, etc.
Test conversation feature
How are branching rules ordered in the rule list?
Branching rules are displayed as a single rule in the rule list. You can change the sort order for your branching rule, but other rules cannot be placed within your branching rule.
Pricing
Rules are available on all plans. See this article to review triggers, conditions, and actions included in each plan.