Recovery

Win-back email campaign with an escalating offer

For lapsed customers: what is new, then 15% off, then a last 30% for three days. Larger companies go to sales in Slack instead. Buying again ends it.

EmailSlacktrigger.entersdelaybranchexitrunsegmentsgoalreentry: after_exitcooldownSlack
import { gte, trigger, workflow } from 'sendwend';
import { issueCoupon } from './actions';
import { u } from './contract';
import { lapsedCustomer, purchaser } from './segments';
import { email, slack } from './templates';

/**
 * Win-back campaign with an escalating offer, for customers whose
 * subscription lapsed two months ago: first what is new (no discount),
 * then 15% off, then a last 30% for three days. Buying again is the
 * goal, so each offer only reaches people the smaller one did not move.
 *
 * Larger companies leave the automated path in the first step: sales is
 * told in Slack and the arm ends with `.exit()`, so it does not rejoin
 * the emails below. Each coupon is created by a custom action right
 * before the email that carries it.
 */
export const winBackCampaign = workflow({
  id: 'win_back_campaign',
  name: 'Win-back campaign',
  trigger: trigger.enters(lapsedCustomer),
  reentry: { mode: 'after_exit', cooldown: '180 days' },
  goal: purchaser,
})
  .branch('company size', [
    gte(u.company_size, 50),
    (w) =>
      w
        .slack(slack.accountManager, {
          email: u.email,
          companySize: u.company_size,
        })
        .exit('handed to sales'),
  ])
  .email(email.winbackNews, { name: u.name })
  .delay('7 days')
  .run(issueCoupon, { code: 'BACK15', email: u.email })
  .email(email.offer, { coupon: 'BACK15', expiresIn: '7 days' })
  .delay('10 days')
  .run(issueCoupon, { code: 'BACK30', email: u.email })
  .email(email.offer, { coupon: 'BACK30', expiresIn: '72 hours' });
Compiled canvasDrag to pan

When to use it

For customers who paid, stopped, and have not come back for a while. Products change after someone leaves; a win-back campaign tells them what is different, and offers a reason to try again if that is not enough.

How it works

  1. 1A user enters the lapsed_customer segment: paid before, no subscription now, no purchase in 60 days.
  2. 2A single-arm branch sends companies of 50 or more to sales in Slack and exits there.
  3. 3Everyone else gets a “what’s new” email, with no discount.
  4. 4A week later, a custom action creates a 15% coupon and an email offers it.
  5. 5Ten days later, the same with 30%, valid for three days.
  6. 6A purchase is the goal, so each offer only reaches people the previous one did not convert.

Why it's built this way

Escalate, do not lead with the biggest offer

Some customers come back for the product alone, some for a small discount. Starting with news and escalating keeps the deepest discount for those who need it, and the goal ends the sequence the moment one works.

Exit inside an arm

.exit('handed to sales') ends the journey inside the branch, so the larger accounts never rejoin the automated emails below.

A long cooldown

180 days: a customer who lapses twice in a year should not get the same discount ladder twice.

Make it yours

  • Use your own discount ladder and expiry; keep the first message free of an offer.
  • Change the company-size threshold, or route on plan instead.
  • Add a cohort to compare the ladder with a single offer.

What to measure

Win-back rate within the campaign, and revenue per offer step.

Also see Pre-churn save flow when auto-renew is turned off.