Customers & growth · Email marketing
Workflow branching & logic
Best for Startup to Growth
Use it when
Your triggered workflow sends everyone down one path, and you need people routed to different emails by what they did, who they are or a test split.
Skip it when
- You have no single-path triggered workflow running yet. Build one with Behavior-triggered workflows first.
- You have not decided whether the goal needs a drip, a nurture or a lifecycle program. Use Drip vs nurture vs lifecycle distinctions first.
- The workflow runs from a date, such as a renewal or a webinar, and is not built yet. Use Event-triggered sequences first, which feeds this one.
- Leads must move between nurture tracks and reach sales at a score threshold. Use Lead nurture automation.
What to apply first and what to use instead are listed below.
Approaches
Split paths
A split step checks each person's conditions as they reach it and sends them down the first path they match, with a catch-all path for everyone else.
- Pro Each path can change the number, timing and content of the emails that follow.
- Con Every path adds emails to build, test and maintain, and a person stays on the chosen path even if their data changes later.
Content variants in one email
One email holds variants of a block or section, and each recipient sees the first variant whose conditions they meet, or a fallback.
- Pro The workflow keeps one path, so timing and goal tracking stay simple.
- Con Some platforms do not report results by variant, and conditions can only use profile data or the event that started the workflow.
Inputs
- Live workflow specTrigger, exit goal, emails and delays from Behavior-triggered workflows, with entries and goal conversions since launch.
- Branch dataThe profile fields, past events and trigger event properties the platform can test at each step, such as order value, product category, language or customer tier, with how many contacts have each one filled.
- Path contentThe emails or content variants for each path, from the content team.
- Expected volumeEntries per path per month, estimated from the last 90 days of the workflow or from analytics.
- Test questionOptionalA new path you want to test against the current one, with its winning metric.
Steps
- Mark each point in the workflow where people need a different next step, and write the question each branch answers, such as did they buy or did they click the first email.
- Write each branch as conditions on profile data, past actions or the trigger event, ordered from most specific to least, so no one can match two paths, and add a catch-all path.
- Decide for each branch whether it changes the path or only the content, and use a content variant with a fallback where only the wording or offer differs.
- Add a short delay before any branch that reads data written moments earlier, such as a form field, an email click or a page view, and require those fields at enrollment.
- Add a random split wherever you want to test a new path against the current one, and name the winning metric and read date before launch.
- Run test profiles that match each path and the catch-all, then launch and record entries and goal conversions for every path.
Output
A branch map for the workflow, with one row per branch and path, matching the live build.
- Branch point and the question it answers
- Path conditions, in the order they are checked
- Catch-all path
- Change type (path or content variant)
- Delay before the branch
- Entries per path per month
- Goal conversion per path
- Owner and review date
Done when
- Every branch has a catch-all path, and no person can match two paths at the same branch.
- Every branch that reads recent activity or form data has a delay before it.
- Every path reports its entries and goal conversions separately.
- Every random split names its winning metric and read date.
- Test profiles have been run through every path and the catch-all before launch.
Measure
Report goal conversion rate and unsubscribes for each path monthly, against the single-path workflow's rate in the 90 days before branching. It worked when the combined conversion rate across paths beats that rate. Fold back any path that does no better than the catch-all once it has enough entries to read, and check path volumes each quarter.
Hypothetical example
Harbor Tea's browse abandonment workflow sent everyone two emails and converted 3.1 percent of entries. The team added one split after the trigger. Shoppers who viewed a tea over 40 dollars went down a path with a brewing guide and a sample offer. Repeat buyers went down a path with their loyalty points. Everyone else kept the old emails. Instead of a new path for each language, the first email's hero block got language variants with an English fallback. A five-minute delay before the split let the product data arrive. After two months, the high-value path converted 4.6 percent, repeat buyers 5.2 percent and the catch-all 3.0 percent, lifting the combined rate to 3.9 percent.
Common mistakes
- Writing overlapping conditions, so people land on the wrong path. Order paths from most specific to least and make them exclusive.
- Branching on data that has not arrived yet. Add a short delay and require the fields at enrollment.
- Building a whole new path for a change in wording. Use a content variant with a fallback.
- Nesting new splits under the catch-all path. Add paths to the same split instead.
- Judging the workflow on its totals. Report conversion for each path and fold back paths that add nothing.
Sources
- Use branches in workflows · HubSpot Knowledge Base, 2026
- Multi-branch splits · Klaviyo Help Center, 2026
- Show or hide template blocks based on dynamic variables · Klaviyo Help Center, 2026
By company stage
Apply first
- Behavior-triggered workflowsCustomers & growth · Email marketing
Branching adds if/then logic on top of triggered workflows; the single-path trigger comes first.
Use instead
- Behavior-triggered workflows
You have no single-path triggered workflow running yet. Build one with Behavior-triggered workflows first.
- Drip vs nurture vs lifecycle distinctions
You have not decided whether the goal needs a drip, a nurture or a lifecycle program. Use Drip vs nurture vs lifecycle distinctions first.
- Event-triggered sequences
The workflow runs from a date, such as a renewal or a webinar, and is not built yet. Use Event-triggered sequences first, which feeds this one.
- Lead nurture automation
Leads must move between nurture tracks and reach sales at a score threshold. Use Lead nurture automation.
Where it sits
Open the email marketing roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account