Onboarding

Onboarding education drip campaign

One lesson a week about one feature each, skipping every lesson about a feature the user already uses, ending with a post in the community Discord.

EmailDiscordtrigger.eventdelaybranchsegmentsreentry: neverDiscord
import { type SubFlow, not, trigger, workflow } from 'sendwend';
import { e, u } from './contract';
import {
  usedAutomations,
  usedCollaboration,
  usedIntegrations,
  usedTemplates,
} from './segments';
import { discord, email } from './templates';

/**
 * Onboarding education drip: one lesson a week, each about a feature,
 * and each skipped by the users who already use that feature. Someone
 * who found templates on day one goes straight to the next lesson
 * instead of being taught what they know.
 *
 * Every lesson is a single-arm branch: with no default arm, a user the
 * condition does not hold for simply continues down the main line. The
 * same flow on a canvas is a branch, an email, a delay and two rejoin
 * edges per lesson; here a lesson is one line.
 */

/** One lesson: the email, then a week before the next one. */
const lesson =
  (template: typeof email.lessonTemplates): SubFlow =>
  (w) =>
    w.email(template, { name: u.name }).delay('1 week');

export const onboardingEducationDrip = workflow({
  id: 'onboarding_education_drip',
  name: 'Onboarding education drip',
  trigger: trigger.event(e.sign_up),
  reentry: { mode: 'never' },
})
  // Leave the first days to the welcome series.
  .delay('3 days')
  .branch([not(usedTemplates), lesson(email.lessonTemplates)])
  .branch([not(usedCollaboration), lesson(email.lessonCollaboration)])
  .branch([not(usedIntegrations), lesson(email.lessonIntegrations)])
  .branch([not(usedAutomations), lesson(email.lessonAutomations)])
  // The course ends in the community, not with another email.
  .discord(discord.courseGraduate);
Compiled canvasDrag to pan

When to use it

For products with several features that each take a moment to discover: templates, collaboration, integrations, automations. A drip spreads them over weeks so each lesson gets attention. It fits after the welcome series, not instead of it, and works best when you track an event for using each feature.

How it works

  1. 1A sign_up event starts it, once per account.
  2. 2It waits three days, leaving the first days to the welcome series.
  3. 3Each lesson is a single-arm branch: users who have not used the feature get the lesson email and a week’s pause.
  4. 4Users who already use the feature match no arm and move straight on to the next lesson, with no week’s wait.
  5. 5After the last lesson, a message is posted to the community Discord.

Why it's built this way

Skip what they know

Each lesson is guarded by not(usedX), a named segment. A lesson about a feature the user already uses teaches nothing; skipping it also brings the next useful lesson forward by a week.

A lesson is one line

The lesson helper returns a sub-flow (email, then one week), so adding a lesson is one .branch() call. On a visual canvas each lesson is a branch, an email, a delay and the edges that rejoin the main line.

Segments, not inline conditions

The feature-usage conditions are named segments, so the same "used templates" definition can be reused in other workflows and shows up by name in Studio.

No goal

The drip is about breadth, not one action, so it has no goal. Each lesson’s own condition is what stops irrelevant mail.

Make it yours

  • Replace the four lessons with your own features, in the order a new user benefits from them.
  • Change the cadence: delay('3 days') between lessons for a short trial, two weeks for a complex product.
  • End with something other than Discord: a Slack post to your team, or a final email asking for feedback.
  • Add a timeWindow before the lesson email in the lesson helper to keep lessons to weekday mornings.

What to measure

Feature adoption: the share of users in each "used X" segment 30 days after sign-up, compared with users who signed up before the drip.

Also see Weekly digest email workflow.