The Branch action is available on Plus, Professional and Enterprise plans.
The Branch action sends contacts down different paths based on conditions you set. Choose If/Else for a Yes or No decision. Choose Multi-branch to route contacts by field values, tags, lists, or segments.
Take note
Review these points before you add a Branch action:
- Existing If/Else actions keep their Yes and No paths
- Multi-branch supports one to 10 condition paths plus a final No Match path
- One criteria type and one operator apply to all paths in a multi-branch action
Choose a branch type
Choose the option that fits the decision you want to make.
Use If/Else when you need one set of conditions with two outcomes. Contacts who meet the conditions take Yes. All other contacts take No.
Use Multi-branch when you need several outcomes in one action. For example, send contacts down different paths based on a field that stores their product interest.
Multi-branch checks paths from top to bottom. Each contact takes the first path they match. A contact who matches no condition path takes No Match.
Add an If/Else action
Use this option to create a Yes or No decision.
- Click Automations and open the automation you want to edit.
- Click the plus sign where you want to add the action.
- Click Workflow, then Branch.
- Click If/Else.
- Set your conditions in the segment builder.
- Click Save.
- Add actions under the Yes and No paths.
If your action menu still shows If/Else, select it to open the two-path setup.
Add a multi-branch action
Use this option to route contacts into several groups.
- Click the plus sign where you want to add the action.
- Click Workflow, then Branch.
- Click Multi-branch.
- Choose Based on field values, Based on tags, Based on list, or Based on a segment.
- Choose the operator that applies to all paths. For field values, also select the field.
- Set a value, tag, list, or segment for each branch row.
- Click Add a branch to add more paths. You can add up to 10 condition paths.
- Drag the rows into the order you want contacts to follow.
- Click Save.
- Add actions beneath each path, including No Match.
Each row needs a target before you can save. Two rows cannot use the same target. No Match is added for you and stays last.
Choose your criteria
Each multi-branch action uses one type of criteria. Choose the type before you set up its paths.
Field values
Select one field and choose is equal to or is not equal to. Set a different value for each path.
For example, use a product-interest field with paths for Roses, Tulips, and Lilies. A contact with a different value takes No Match.
Tags
Choose Tag exists or Tag does not exist. Select a different tag for each path.
A contact can have more than one of your chosen tags. Place the tag with the highest priority first.
Lists
Choose one list status and select a different list for each path. The available criteria cover active subscriptions, inactive subscriptions, unsubscribed contacts, unconfirmed contacts, hard bounces, contacts added to a list, and contacts never added to a list.
Being added to a list does not mean a contact has an active subscription.
Segments
Choose is in segment or is not in segment. Then choose Select an existing segment or Configure segment for each path.
An existing segment stays linked to its branch. If you edit that shared segment later, you can change which contacts match the branch. Configure segment lets you define conditions for that branch.
Set the path order
Path order matters when a contact can match more than one branch. Place the path you want that contact to take first.
For example, a contact has both Customer and Newsletter tags. With Tag exists, put Customer first if customers should take that path. The contact will not also take Newsletter during that visit to the action.
Review negative conditions with care. With Tag does not exist, a contact takes the first path whose tag they do not have.
No Match handles contacts who match none of the conditions. A failed condition check does not send a contact to No Match.
Edit and test your paths
Open the saved action to edit its conditions or path order. You cannot change a saved If/Else action into Multi-branch, or Multi-branch into If/Else.
Test each condition path and No Match. Include a test contact who matches more than one path to check your order. When you test email activity, give the contact time to open or click before they reach Branch.
Use the contact's automation path to check which branch they took. See how to test your automation and how to view a contact in an automation.