How to Build Marketing Automation Workflows: Triggers, Conditions, Actions [2026]

Quick answer: A marketing automation workflow is built from five components: a trigger (form fill, page visit, score change) that starts it, conditions (if/then branches) that route each contact, actions (send email, create task, update CRM), delays (wait steps between actions), and exit criteria (reply, meeting booked, unsubscribe) that stop it. Triggered emails earn roughly 4x the click-through rate of bulk sends, and automated emails generate about 320% more revenue than one-off blasts — but only if the exit logic is right. The full anatomy, a 7-step build process, and 5 proven B2B workflow templates are below.
Most B2B teams buy a marketing automation platform, build two workflows in the first month, and never touch the builder again. The tool isn't the problem. The problem is that nobody taught them the grammar: what should trigger a workflow, when to branch, and — most neglected of all — when a contact should leave.
This guide covers the mechanics that apply in any platform, whether you're on HubSpot, Marketo, Brevo, or one of the 14 B2B marketing automation platforms we ranked for 2026.
The Anatomy of a Workflow: 5 Building Blocks
Every automation platform uses different labels, but under the hood there are exactly five parts.
| Component | What it does | Examples |
|---|---|---|
| Trigger | Starts the workflow for a contact | Form submission, pricing-page visit, lead score crosses threshold, list membership, webinar registration |
| Condition | Branches the path with if/then logic | Job title contains "sales", opened previous email, company size over 50, visited docs vs. pricing |
| Action | Does something | Send email, notify rep in Slack, create CRM task, update a property, add to ad audience |
| Delay | Waits before the next step | Wait 3 days, wait until Tuesday 9 AM, wait until property changes |
| Exit criteria | Removes the contact from the workflow | Replied, booked a meeting, became a customer, unsubscribed, no longer matches entry conditions |
The single most common failure mode we see in B2B audits: workflows with rich triggers and clever branches but no exit criteria. The result is the prospect who books a demo on Tuesday and still gets the "any interest in a demo?" email on Thursday. Define exits before you write a single email.
Triggers: behavioral beats demographic
Demographic triggers ("added to newsletter list") start weak workflows. Behavioral triggers start strong ones, because behavior encodes intent:
- High intent: pricing-page visit, demo-page abandon, free-tool usage, proposal viewed
- Medium intent: case-study read, webinar attended, third blog visit in a week
- Low intent: ebook download, newsletter signup, event badge scan
The strongest trigger most B2B teams ignore is anonymous-visitor identification. If you can resolve who is on your pricing page before they fill a form, your workflow starts days earlier than your competitor's. That's the core of our website visitor identification comparison — match rates vary wildly (8-41% person-level in our testing), but even the low end feeds workflows that bulk email can't touch.
Conditions: branch on engagement, not just attributes
A drip campaign sends email #4 to everyone. A workflow checks what happened to emails #1-3 first:
- Opened but didn't click → change the angle, not the offer
- Clicked the feature link → send a case study about that feature
- No opens across 3 sends → drop to a re-engagement track, or suppress entirely
- Replied → exit immediately and hand to a human
That last one is not optional. Per triggered-campaign benchmarks, behavior-triggered follow-ups shorten lead-to-close journeys by roughly a quarter — but a bot that keeps emailing after a human replied burns the relationship permanently.

Delays: the most underrated block
Two rules of thumb:
- Front-load value, back-load asks. Day 0 deliver the thing they asked for. Day 3 context. Day 7 proof. Day 12 the meeting request.
- Wait on state, not just time. "Wait until lead score is above 50" beats "wait 5 days" — it adapts to fast movers and slow movers automatically.
Exit criteria: decide them first
Before building content, write down the three ways a contact leaves:
- Converted — booked the meeting, started the trial. Exit and move to the next lifecycle workflow.
- Raised a hand differently — replied, even with "not now." Exit to human follow-up or a long-term nurture with a re-entry rule.
- Disqualified — unsubscribed, bounced, wrong ICP. Suppress.
Add re-entry logic deliberately: someone who exits with "not now" in March should be allowed to re-trigger the workflow if they hit the pricing page in September.
Building Your First Workflow: 7 Steps
- Pick one conversion goal. One workflow, one job: "book a demo from pricing-page visitors." Not "nurture all leads."
- Define exit criteria first. Converted, replied, disqualified — write all three down.
- Choose the trigger. The highest-intent behavior you can reliably detect for that goal.
- Map the happy path. 3-5 touches: deliver value → build proof → make the ask. This mirrors the structure in our signal-to-meeting SDR workflow, compressed for marketing.
- Add 2-3 branches, no more. Branch on reply, on click-vs-no-open, and on ICP fit. Ten-branch workflows are unmaintainable and untestable.
- Set delays. Start conservative (2-4 business days between touches), then tighten based on data.
- Launch to 20% of the eligible audience. Compare against the untouched 80% for two weeks before rolling out. Automation compounds mistakes as efficiently as it compounds wins.
5 B2B Workflow Templates That Earn Their Keep
1. Pricing-page abandon
- Trigger: identified visitor hits pricing, no demo booked within 24h
- Path: day 1 — short email addressing the top pricing objection; day 3 — customer story with hard numbers; day 6 — direct meeting ask with calendar link
- Exit: demo booked, reply, or 3 sends completed
- Why it works: you're catching evaluated intent, not manufacturing it. Pair it with the website-visitors-to-pipeline workflow to feed it.
2. Free-tool / lead-magnet follow-up
- Trigger: used a free tool (calculator, grader, free lead generation tool)
- Path: day 0 — deliver results + one insight they didn't expect; day 2 — "here's what teams like yours do with this"; day 5 — soft ask
- Exit: trial started or reply
- Why it works: welcome-stage automations post the highest click-to-conversion rates of any workflow type (Omnisend's 2026 data puts welcome flows near 58%).
3. Webinar / event no-show recovery
- Trigger: registered, didn't attend
- Path: day 0 — recording + 3 timestamped highlights; day 2 — the single best takeaway as text; day 5 — offer a 15-minute walkthrough
- Exit: meeting booked or recording watched + subsequent site visit (route those to sales instead)
4. Lead-score threshold handoff
- Trigger: score crosses your MQL line
- Path: instant — create CRM task and Slack-notify the owning rep; hour 1 — if no rep action, escalate; day 1 — if still untouched, send the "book directly" email
- Exit: rep logs activity or meeting booked
- Why it works: this is a marketing workflow babysitting a sales SLA — the highest-ROI use of conditions we know. Wire its output into a pipeline dashboard measured in dollars and the SLA argument ends.
5. Closed-lost re-engagement
- Trigger: deal marked closed-lost 90 days ago, loss reason is "timing" or "budget"
- Path: day 90 — what's changed since we talked; day 104 — relevant new proof; day 120 — direct re-open ask
- Exit: reply of any kind
- Why it works: the list is small, the context is rich, and nobody else is running it.
Where Workflows Are Heading: Agents, Not Flowcharts
The five building blocks aren't going anywhere, but who assembles them is changing. AI agents now sit on both sides of the workflow: on your side, composing branches and drafting the emails; on the buyer's side, researching your product on Google before any human visits. We've watched machine-generated queries hit our own site at a third of total impressions — which changes what "trigger" even means, and is why we wrote a GEO playbook for getting cited by AI buying agents.
The practical takeaway for 2026: keep workflows short, legible, and exit-heavy. Long flowcharts were already hard for humans to maintain; they're also exactly what agent-assisted platforms will refactor first. If you're automating the sales side too, start with our complete guide to SDR automation and the best sales automation software ranking.
The Numbers That Justify the Build
- Marketing automation returns an average of $5.44 per $1 spent over the first three years, and 76% of companies see positive ROI within year one
- Triggered emails drive about 4x the CTR of batch-and-blast
- Automated emails generate roughly 320% more revenue than non-automated sends
- Behavior-triggered follow-up shortens lead-to-close by about 26%
None of those numbers come from adding more workflows. They come from a few workflows with sharp triggers, honest exits, and content that respects the reader.
Want the workflow without building it? MarketBetter identifies who's on your site, scores the intent, and tells your team exactly what to do next — trigger to booked meeting. Book a demo →








