Recovery

Re-engagement campaign for inactive users

Two weeks after a user’s last sign-in: a push, an email three days later, and what changed four days after that. Signing in ends it.

EmailPushtrigger.entersdelaytimeWindowsegmentsperformedgoalreentry: after_exitcooldown
import { performed, trigger, workflow } from 'sendwend';
import { e, u } from './contract';
import { dormant } from './segments';
import { email, push } from './templates';

/**
 * Re-engagement of dormant users: two weeks after a user's last
 * sign-in, a push; three days later an email; four days after that,
 * what changed while they were away. Coming back (a sign-in) is the
 * goal and ends it at once.
 *
 * `trigger.enters` starts the journey when a user goes from active to
 * dormant, which the Worker's scheduled sweep notices with no event at
 * all. Users already dormant on deploy day are recorded as members and
 * start nothing, so a deploy never mails the whole back catalog. The
 * cooldown keeps someone who drifts in and out every few weeks from
 * getting this every time.
 */
export const dormantUserReengagement = workflow({
  id: 'dormant_user_reengagement',
  name: 'Dormant user re-engagement',
  trigger: trigger.enters(dormant),
  reentry: { mode: 'after_exit', cooldown: '60 days' },
  goal: { condition: performed(e.login), within: '14 days' },
})
  // The cheapest channel first: a push before anything lands in the
  // inbox.
  .timeWindow({ between: ['09:00', '21:00'] })
  .push(push.comeBack, { name: u.name })
  .delay('3 days')
  .email(email.missYou, { name: u.name })
  .delay('4 days')
  .email(email.whatsNew, { name: u.name });
Compiled canvasDrag to pan

When to use it

For products used regularly, where a gap in activity is the first sign of churn. Reaching out when a user goes quiet, before they forget the product, is cheaper than winning them back after they leave.

How it works

  1. 1The journey starts when a user enters the dormant segment: active before, no sign-in in 14 days. The Worker’s scheduled sweep notices it, with no event needed.
  2. 2timeWindow holds until daytime, then a push.
  3. 3Three days later, an email.
  4. 4Four days after that, an email about what changed while they were away.
  5. 5A sign-in within 14 days is the goal and ends the journey at once.

Why it's built this way

Entering, not being in

trigger.enters(dormant) fires when a user goes from active to dormant. Users who were already dormant when the workflow was deployed are recorded as members and start nothing, so a deploy never mails your whole inactive base at once.

The cheapest channel first

A push is the lightest touch. The emails follow only if it did not work, and the goal stops them for anyone who came back.

A 60-day cooldown

Someone who drifts in and out every few weeks would otherwise get this every time. The cooldown counts from the previous entry.

Make it yours

  • Set the dormancy threshold to your product’s rhythm: 3 days for a daily habit, 30 for a monthly task.
  • Add a cohort with an incentive arm to test whether an offer brings back more people.
  • Branch on plan: paying users who go quiet may deserve a person, not an email.

What to measure

Reactivation rate: dormant users who sign in within 14 days of entering.

Also see Activation nudge email and push.