Mailerflow Start free
Blog › AI Email Marketing › AI Email Automation

AI SaaS Onboarding Emails: Build Branches Around Activation Milestones (2026)

Published December 2, 2026 · Updated December 3, 2026 · 7 min read

Illustration for AI SaaS Onboarding Emails: Build Branches Around Activation Milestones

Onboarding emails work best when they branch on activation milestones — the first moment a user gets real value — rather than on a fixed day count. Instead of "Day 1, Day 3, Day 7," you track whether the user created a first project, invited a teammate, connected an integration, or sent a first campaign, and you let the email sequence react to those events. AI can draft that whole branching structure for you: you describe the workflow in a sentence, review the trigger, waits, conditions and emails it proposes, and adjust before activation. This guide walks through the setup, the exact settings, a worked example, and how to verify each branch actually fires.

What you'll set up and what you need

The core idea is simple: an activation milestone is the first moment a user gets real value from your product. Not a login, not a page view — an action that signals the user has gotten value. Typical examples:

  • Created a first project
  • Invited a teammate
  • Connected an integration
  • Sent a first campaign
  • Imported real data

Each milestone becomes a field or tag on the contact record. Your onboarding automation reads those fields as conditions and sends a different email depending on what the user has or hasn't done.

Before you start, you need:

  1. A Mailerflow account with a verified sending domain. Mailerflow walks you through DKIM, SPF and DMARC setup and verifies it automatically. Don't skip this — it affects inbox placement for every email in the sequence.
  2. An event source. Either an embeddable signup form with double opt-in, or your product sending events into Mailerflow via the REST API (scoped keys and idempotency keys are supported) or signed webhooks.
  3. Custom fields or tags for milestones. Decide the names now: milestone_first_project, milestone_invited_teammate, milestone_connected_integration, milestone_first_send. Consistent naming saves you a rebuild later.
  4. A way to set those fields from your product. Your backend calls the Mailerflow API to set the field when the user completes the action, or sends an event via a signed webhook. If you have no developer, form-based milestones (like "requested a demo") work without code.

Two Mailerflow features do the heavy lifting here. The AI automation builder takes a one-sentence description and drafts the workflow — trigger, waits, conditions and emails — for you to review before activation. The AI email builder turns a description into a complete responsive design with subject lines and preview text. You still review everything; the AI drafts, you decide.

If you are still deciding where to send from, see the Best Email Marketing Platforms compared side by side, with prices checked daily on each provider's own pricing page.

Step-by-step: build milestone-based onboarding branches

1. Define three to five milestones and map each to a field

Start with the smallest set that reflects real activation. Aim for a small set — three to five is a common starting point. For each one, write down the exact field name and the event that sets it. Keep the operator logic in mind: your conditions will check is set or is not set.

2. Create the entry trigger

Use a signup event or form submission as the trigger. Set the first wait to 10 minutes so the welcome email lands while intent is high, but after any double opt-in confirmation completes. If you use a form, enable double opt-in and keep the consent record — Mailerflow stores it for you.

3. Write the AI automation prompt in plain language

Describe the workflow the way you'd explain it to a colleague. For example:

When a contact signs up, send a welcome email, wait 1 day, then branch: if milestone_first_project is not set, send a nudge; if it is set, send the invite-teammate email. Wait 2 days and re-check.

The AI automation builder returns a drafted structure you can inspect node by node.

4. Review the drafted workflow before activation

Check four things: the trigger fires on the right event, the waits are the durations you asked for, the conditions use the correct operators (is set / is not set), and each email is attached to the right branch. Nothing sends until you activate.

5. Edit each drafted email

In the AI email builder, describe the goal of the email — "nudge a user who hasn't created their first project, one clear CTA, short" — and you get a responsive design, subject lines and preview text. Adjust blocks in the visual editor: headings, heroes, columns, social links. Save reusable templates for the emails you'll repeat across branches.

6. Add a condition node per milestone

Each branch needs its own condition. Use dynamic segments or direct field checks. A clean pattern is one condition node per milestone, with the "not set" path leading to the nudge and the "set" path leading to the next-stage email.

7. Connect your product to set the milestone field

When the user completes the action, your backend calls the Mailerflow API to set the field, or sends an event via a signed webhook. Use idempotency keys so a retried call doesn't double-set anything. Signed webhooks include retries and delivery logs, so you can see exactly what arrived.

8. Set send-time behavior

For non-urgent nudges, use "send when the contact is most active" so the email lands in the user's normal working window. Keep time-sensitive emails (like a trial-ending notice) on a fixed schedule.

9. Activate and monitor

Turn the automation on. Watch delivery, bounces, complaints, clicks and approximate opens per email. If a branch isn't firing, the condition operator is the usual culprit.

A worked example: a project-management SaaS

This is an illustrative example, not a real customer. The product is a project-management tool. Four milestones:

Milestone Trigger event Email goal Wait before check
milestone_first_project User creates a project Nudge toward first project 1 day
milestone_invited_teammate User invites a teammate Explain collaboration value 2 days
milestone_connected_integration User connects a calendar Show the integration's payoff 3 days
milestone_first_send User completes a first task Reinforce the habit 3 days

The AI prompt used:

When a contact signs up, send a welcome email, wait 1 day, then branch: if milestone_first_project is not set, send a nudge; if set, send the invite-teammate email. Wait 2 days and re-check milestone_invited_teammate.

The drafted structure:

  1. Trigger: signup event
  2. Wait: 10 minutes
  3. Email: welcome
  4. Wait: 1 day
  5. Condition: milestone_first_project is not set → nudge email; is set → invite-teammate email
  6. Wait: 2 days
  7. Condition: milestone_invited_teammate is not set → social-proof email; is set → integration email

Example subject lines for the nudge branch:

  • "Your first project is one click away"
  • "Start something small in [Product]"
  • "A two-minute setup for your first project"

When the user creates a project, the product's backend calls the Mailerflow API with the contact ID and sets milestone_first_project. On the next run of the automation, the condition evaluates as is set and the contact takes the invite-teammate path instead of the nudge path. No manual list management.

How to check it works

  1. Fire a test signup. Use a test contact and trigger the signup event. Confirm the welcome email sends and the contact appears in the automation.
  2. Set the milestone field manually. Either via the API or directly on the contact record. On the next run, confirm the branch switches.
  3. Check the logs. Review the automation's delivery logs and the signed webhook delivery logs for retries or failures.
  4. Confirm analytics. Delivery, bounces, complaints, clicks and approximate opens should appear per email, not just in aggregate.
  5. Test suppression. A contact who completes all milestones should exit or be suppressed, not keep receiving nudges.
  6. Verify the sending domain. DKIM, SPF and DMARC should show as verified.
  7. Test send-time behavior. Compare the send timestamp against the contact's activity window to confirm "most active" is working.

Common mistakes and fixes

Branching on time instead of milestones. A "Day 3" email can't tell whether the user activated. Fix: use milestone fields as conditions, and keep time only for the waits between checks.

Too many branches at once. Many branches at once are hard to debug. Fix: start with three milestones, verify they fire correctly, then add more.

No exit condition for converted users. A user who completed everything shouldn't get onboarding. Fix: add a condition that removes them or a suppression segment that excludes them.

Repeating the same nudge. Without re-entry rules, a stalled contact can get the same email twice. Fix: set re-entry rules and use waits between checks.

Ignoring deliverability. Onboarding sequences send a lot of mail to new addresses. Fix: rely on automatic bounce and complaint suppression, reputation monitoring and warm-up limits, and keep your sending domain verified.

Not tracking which email drove the milestone. You can't improve what you can't attribute. Fix: tag contacts per branch and review analytics against milestone completion.

Next steps

Once the core branches work, expand deliberately. Add a second branch for power users who complete every milestone quickly. A/B test subject lines across branches. Add a re-engagement branch for contacts who stall after two nudges. And connect website-behavior data via the JS SDK so a pricing-page visit can trigger a branch on its own.

If you want to test the workflow without committing, Mailerflow's free plan includes 2,500 contacts, 10,000 emails a month, three active automations and 100 AI actions a month. Paid plans start at $14.90/month with unlimited emails.

FAQ

How many onboarding emails should a SaaS send? As many as there are distinct milestones — a common starting point is three to five. More emails isn't better; each one should map to a real activation step.

Can AI write the whole automation? It drafts the trigger, waits, conditions and emails for you to review. You still check the logic and activate it yourself.

How do I track activation milestones? Set custom fields or tags via the API or a signed webhook from your product whenever the user completes the action.

What if a user completes all milestones immediately? Add an exit condition or a suppression segment so they stop receiving onboarding emails.

Do I need a developer? For API or webhook milestone tracking, yes — or a no-code connector. For form-based milestones, no.

Ready to build it? Open the automation builder, describe your first branch in one sentence, and review the draft before you activate it.

Further reading