Subscribe to the Shopify checkouts/create and checkouts/update webhooks to capture checkout sessions; a checkout without a corresponding order after a configurable timeout (e.g., 1 hour) is considered abandoned
Retrieve the abandoned checkout details via GET /admin/api/2024-01/checkouts/{token}.json to obtain the customer email, line items, total price, and the abandoned_checkout_url (a re-entry link)
Push the checkout event to Klaviyo by POSTing to the Klaviyo track endpoint with event name 'Started Checkout' and properties including the checkout token, line item details, and abandoned_checkout_url
Configure a Klaviyo flow triggered by the 'Started Checkout' event with a time delay filter (e.g., 'has not placed order in the last 1 hour') before sending the first recovery email
Include the abandoned_checkout_url as a CTA in the email template so customers are taken directly back to their pre-populated cart
Track conversion by listening for the Shopify orders/create webhook and sending a Klaviyo 'Placed Order' event to exit the customer from the recovery flow automatically
Known gotchas
Shopify only stores the customer email in the checkout after they have entered it during checkout; early-stage abandonments before email entry cannot be recovered via email
The abandoned_checkout_url is valid for a limited time and the cart contents may change if inventory becomes unavailable; do not promise specific items in the email subject line
Sending too many recovery touchpoints can increase unsubscribe rates; cap the series at 2-3 emails and respect email marketing consent flags before sending
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp