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

  1. Open or create a workflow in the Automation → Workflows section.
New workflow
  1. Drag the Branch block from the left sidebar into the workflow.
Branch
  1. 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., site/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
Rules
📘

Note

The UI shows icons to recognize rule types quickly.

Icons

Start Event Parameter

  1. Choose the workflow's start event parameter (e.g., utmCampaign, orderValueBucket, shippingMethod).
  2. Pick an operator (e.g., Equals, Contains, Between, Is set).
  3. Enter the value.
Start Event Parameter

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
📘

Note

The 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

  1. Select a contact field (e.g., favoriteCategory, sizePreference, preferredBrand).
  2. Choose an operator appropriate for the field type (e.g., Equals, Does not equal, Is set, Is empty).
  3. Specify the value.
Contact Field

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
📘

Tip

Combine with another field using the AND rule (e.g., favoriteCategory Equals Footwear AND sizePreference Equals 42) for higher relevance.

External Event

  1. Specify the event type with segmentation enabled (e.g., ProductViewed, CartUpdated, OrderPlaced).
  2. Select the time window (the most recent relevant event is used).
  1. 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 days AND category Equals Sneakers → “Complete the look” (socks, care kit, laces)
  • Branch 2: CartUpdated during last 7 days AND category Equals Dresses → Size & fit guide + matching accessories
  • Branch 3: OrderPlaced during last 30 days AND brand Equals X → Brand-loyal perks + early access
  • Fallback: Didn’t match 1–3 → Browse best-sellers + personalized picks

Event in Messages

  1. Select message status: Delivered, Opened, or Clicked.
  2. Select condition:
  • is true → the status occurred within the chosen scope.
  • is false → the status did not occur within the chosen scope.
  1. 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.
Event in Messages

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.
AND / OR Rules

The branch passes if all conditions in any one card are true (Card 1 OR Card 2 OR Card 3, etc.).

Settings

  1. In your branch, add the first conditions — this becomes Rule card 1 (all conditions here use AND).
  2. Click OR rules group to add Rule card 2 (an alternative set).
  3. Configure the conditions in Rule card 2 (again, they’re AND-ed within the card).
  4. (Optional) Add more OR rules groups to create additional alternative cards.

Usage example

  • Rule card 1: loyaltyLevel = 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 + D on Windows or Cmd + D on macOS).
Duplicate
  • Rename — improve on-canvas readability with short, clear labels.
Rename
  • Delete — remove an obsolete branch or rule.
Delete