Using Branch Block
The Branch is a workflow block for defining multiple alternative paths in one place. Instead of chaining many separate Condition blocks (hard to read and maintain), you add branches inside a single block and set rules for each. The system evaluates branches top ā bottom and sends the contact down the first branch whose rules are met. This keeps complex logic clear, compact, and easy to maintain.
Why use it
- More order: Replace long Condition chains with one tidy decision point.
- Faster reviews: All rules are visible side-by-side ā no more opening blocks and memorizing details.
- Easy edits: Label, duplicate, collapse, and rename branches without rebuilding logic.
Setting Up Branch Rules
- Open or create a workflow in the Automation ā Workflows section.
- Drag the Branch block from the left sidebar into the workflow.
- Configure branches. You can base its rules on any of the following:
- Start event parameter (context of the event that triggered the workflow)
- Contact field
- External event ā tracked behavioral events (e.g., app actions) and their attributes
- Event in messages (engagement with earlier Message blocks)
- Segment membership ā checking the input to the audience lists youāve already built
NoteThe UI shows icons to recognize rule types quickly.
Start Event Parameter
- Choose the workflow's start event parameter (e.g.,
utmCampaign,orderValueBucket,shippingMethod). - Pick an operator (e.g.,
Equals,Contains,Between,Is set). - Enter the value.
Usage example
- Branch 1:
orderValueBucket Equals Highā Thank-you + loyalty fast-track and premium support info trackers) - Branch 2:
orderValueBucket Equals Mediumā Cross-sell essentials (care kit, add-ons) - Branch 3:
orderValueBucket Equals Lowā AOV booster bundle (free shipping threshold tip) - Fallback:
Didnāt match 1ā3ā Standard post-purchase series
NoteThe Fallback branch is evaluated after all other branches. It captures contacts that donāt match any prior rules. If you disable Fallback, contacts that donāt match any branch will stop at this point in the workflow.
Contact Field
- Select a contact field (e.g.,
favoriteCategory,sizePreference,preferredBrand). - Choose an operator appropriate for the field type (e.g.,
Equals,Does not equal,Is set,Is empty). - Specify the value.
Usage example
- Branch 1:
favoriteCategory Equals Footwearā Sneaker drops + size-based recommendations - Branch 2:
favoriteCategory Equals Apparelā Outfit builder + new arrivals in preferred sizes - Branch 3:
favoriteCategory Equals Homeā Room-by-room bundles + seasonal decor guide - Fallback:
Didnāt match 1ā3ā Best-sellers + āpick your interestsā prompt
TipCombine with another field using the AND rule (e.g.,
favoriteCategory Equals FootwearANDsizePreference Equals 42) for higher relevance.
External Event
- Specify the event type with segmentation enabled (e.g.,
ProductViewed,CartUpdated,OrderPlaced). - Select the time window (the most recent relevant event is used).
If you want to check the event parameter, click the AND parameter and specify the parameter name, its value, and one of the available validation operators, e.g., deviceCategory equals Mobile.
Usage example
- Branch 1:
ProductViewed during last 7 daysANDcategory Equals Sneakersā āComplete the lookā (socks, care kit, laces) - Branch 2:
CartUpdated during last 7 daysANDcategory Equals Dressesā Size & fit guide + matching accessories - Branch 3:
OrderPlaced during last 30 daysANDbrand Equals Xā Brand-loyal perks + early access - Fallback:
Didnāt match 1ā3ā Browse best-sellers + personalized pick
Event in Messages
- Select message status: Delivered, Opened, or Clicked.
- Select condition:
- is true ā the status occurred within the chosen scope.
- is false ā the status did not occur within the chosen scope.
- Select scope:
- for the last message ā checks the most recent Message block before this Branch.
- for all messages ā checks across all earlier Message blocks in the workflow.
Usage example
- Branch 1:
Clicked is true for the last messageā Flash-sale CTA with personalized picks - Branch 2:
Delivered is false for the last messageā Switch channel (SMS/push) + address validation tip - Branch 3:
Opened is false for the last messageā Web push/In-app: āNew arrivals just dropped ā shop nowā
Segment Membership
Select the condition In segment / Not in segment / In any of segments and specify the segment(s).
Usage example
The BackInStock Trigger:
- Branch 1:
Segment = VIPā 24-hour early access, limited quantity, priority shipping. - Branch 2:
In any of the segments = BargainHunters, CouponUsersā Promo code -10% for 48 hours + āReserve your size.ā - Branch 3:
Segment = ChurnRisk (90 days without purchases)ā Win-back: free shipping/easy returns, multi-channel reminder series. - Branch 4:
Segment = RepeatBuyers or HighLTVā Bundle of compatible products + extra loyalty points. - Branch 5:
Segment = NewSubscribers (ā¤7 days)ā Welcome discount, short FAQ on shipping/sizing, soft deadline. - Fallback:
Othersā Standard āBack in stockā message without discount: product photo, āBuy nowā CTA, easy-returns guarantee.
AND / OR Rules
Inside a single branch, conditions are grouped into rule cards.
- Within one card, conditions are combined with AND rule (all must be true).
- OR rules group adds another card as an alternative set of conditions.
The branch passes if all conditions in any one card are true (Card 1 OR Card 2 OR Card 3, etc.).
Settings
- In your branch, add the first conditions ā this becomes Rule card 1 (all conditions here use AND).
- Click OR rules group to add Rule card 2 (an alternative set).
- Configure the conditions in Rule card 2 (again, theyāre AND-ed within the card).
- (Optional) Add more OR rules groups to create additional alternative cards.
Usage example
- Rule card 1:
loyaltyLevel Equals VIP - OR rule card 2:
orderValueBucket Equals High
ā Action: Send āFree Express Shipping ā Today Onlyā message
Branch Actions
Created branches (max 20) have the following management options:
- Duplicate ā copy a branch with all its conditions (using the button in the block settings or selecting the branch and pressing
Ctrl + Don Windows orCmd + Don macOS).
- Rename ā improve on-canvas readability with short, clear labels.
- Delete ā remove an obsolete branch or rule.
Updated 2 months ago
