Abandoned checkout recovery

Retention
Every 2 hours
4 primitives

When a customer reaches checkout but does not complete the purchase, automatically email them a friendly reminder within a few hours, and a follow-up the next day. Typical recovery rate: 10-20% of abandoned orders convert.

The problem this solves

Ecommerce average abandonment rate is around 70%. Most of those customers were genuinely interested, they just got distracted. A simple "did you forget something?" email recovers a real fraction of them. But building it means tracking checkout state, querying for stalled orders, generating personalized links, and respecting unsubscribe.

What you end up with

Every couple of hours, a scheduled job finds checkouts that started 2-24 hours ago and never completed. Each customer gets a personalized email with what was in their cart and a one-click return link. A second nudge fires after 48 hours with a softer tone. Once they purchase or 7 days pass, they exit the flow.

How it works

  1. A scheduled job runs every 2 hours.
  2. The job queries the database for orders in "pending" or "started" status whose checkout was started 2-24 hours ago.
  3. For each abandoned order, an email is composed with the customer's items, total, and a return link that re-opens their cart.
  4. A second nudge fires at the 48-hour mark with softer copy ("still thinking it over?").
  5. Orders that complete, get cancelled, or pass 7 days are skipped automatically.

Schedule

Every 2 hours

cron: 0 */2 * * *
timezone: Asia/Seoul

Build this in your project

A ready-to-paste prompt for Insight. Open the App chat in your project and paste this, the build agent does the rest.

Build me an abandoned checkout recovery flow. Every 2 hours, find orders that were started 2-24 hours ago but never completed. Email each customer with their cart contents and a one-click return link. Send a softer follow-up email 48 hours after they abandoned. Stop the sequence if they purchase, cancel, or 7 days pass. Track which emails have been sent so we never double-send.
Open my project
CEO
Houk Elijah Storm
Registration
802-87-03840
Address
30, Nonhyeon-ro 10-gil, Gangnam-gu, Seoul, Republic of Korea (505-J39)
Tel
010-9766-7338
Email
storm@dontcode.co
    Dont Code