When to use it
When people start a checkout and leave without paying. Abandoned checkouts are among the warmest leads a product has: the user picked a plan and got as far as payment. A reminder answers the common reasons (distraction, a question, a card not at hand) without assuming the price was the problem.
How it works
- 1A
begin_checkoutevent starts it; the payload carries the plan. - 2It waits one hour.
- 3Subscribers changing plan get a push and an email about what the upgrade adds. No discount.
- 4First-time buyers get a reminder naming the plan, then, 23 hours later, a custom action creates a coupon and an email offers it for 48 hours.
- 5A purchase (the
purchasersegment) is the goal. Checked before each step, it ends the journey for whoever buys.
Why it's built this way
Twelve nodes become three steps
The original canvas checked “purchased?” after the wait, after the first email and before the offer, each leading to its own exit. A goal replaces all of them: it is evaluated before every step, exits on match by default and records the conversion.
The discount waits for the second email
Offering a coupon in the first reminder teaches buyers that abandoning checkout pays. Holding it to the second email keeps it for people the reminder did not move.
Subscribers get value, not a coupon
An existing customer moving up a plan already pays; the email explains what changes, personalized with their current plan.
The coupon is created just in time
run(issueCoupon) creates the code in billing right before the email that carries it, inside a durable step that is retried on failure and passes an idempotency key.
Make it yours
- Change the first delay: an hour suits a self-serve plan; a day suits a considered purchase.
- Replace
issueCouponwith your billing system’s API, keepingctx.idempotencyKey. - Split the first-time arm with a
cohortto test whether the discount is needed at all. - Raise the cooldown if your buyers often come back to checkout over several weeks.
What to measure
Recovered checkouts: the goal conversion rate, and how many conversions came after the discount email.