LemuAIDocs

Recipes · 2 min read · For everyone

Abandoned cart on WhatsApp

Send a WhatsApp reminder with the cart link an hour after a shopper leaves checkout, then an email if they don't react, and stop as soon as they buy.

Open in ChatGPTOpen in ClaudeMarkdown

At the end you'll have a journey that sends a WhatsApp reminder one hour after someone starts checkout without ordering, waits for them to click, emails them if they don't, and leaves them alone the moment they buy. Orders after the reminder are credited to it in the journey's report.

Before you start#

  • Checkout events reaching LemuAI: from Shopify (Checkout started in Store events) or from your site's tracking snippet or SDK sending InitiateCheckout with the shopper's phone.

  • WhatsApp connected and an approved Marketing template, for example:

    Hi {{1}}, you left something in your cart. Complete your order here: {{2}}

  • Optional: an email template for the follow-up, and a sender under Engage → Email → Setup.

Steps#

  1. Create the journey

    Engage → Journeys → New Journey, trigger Events, event InitiateCheckout. Delay: 60 minutes. Exit events: Purchase, so anyone who orders leaves the journey at once.

  2. Check link tracking

    Open the journey's Settings and check Track link clicks is on (it is by default). Optionally turn on Own attribution windows with WhatsApp at 24 hours. See Link Click Tracking.

  3. Send the WhatsApp reminder

    Add a WhatsApp step with your template. Set {{1}} to the contact's first name (with a fallback like there) and {{2}} to the cart link: {{context.checkout_url}} for Shopify checkouts, or the URL your site sends.

  4. Wait for a click

    Add Wait for reaction: events link_clicked, timeout 6 hours.

    • reacted → End (they're back on the site; the exit event stops the journey if they buy).
    • no_reaction → next step.
  5. Email follow-up

    Add an Email step with your cart email template (kind Marketing), then End.

  6. Go live

    Check Allowed hours for WhatsApp and email (for example 09:00 to 21:00), then Go live.

Check it worked#

  1. On your store, add something to the cart and start checkout with your own phone number, then close the tab.
  2. After an hour you get the WhatsApp message. Tap the link: it opens your checkout.
  3. Insights → Runs → Journey Runs shows the run took the reacted path.
  4. Complete the order: the run shows exited: … and the journey's report credits the order.

Common problems#

What you seeFix
No run startsThe checkout event had no phone, so there's no contact to message. Make sure the checkout asks for a phone before the event is sent
Message skipped: "no WhatsApp consent (marketing)" or opted outThe shopper hasn't agreed to WhatsApp marketing. Collect consent at checkout
"The number of values doesn't match the template's variables"A variable had no value. Add fallbacks. See WhatsApp troubleshooting
Orders aren't creditedCheck the order arrives as Purchase with order_id and value, within the attribution window