Tutorial

How to Set Up AI Abandoned Cart Recovery on Shopify (Step-by-Step)

AI Agent Brief may earn a commission through links on this page. This does not affect our rankings.

Approximately 70% of online shopping carts are abandoned before checkout. For a Shopify store generating £50,000 per month in revenue, that means roughly £116,000 worth of products were added to carts but never purchased. Even recovering 10% of those abandoned carts adds £11,600/month in revenue — from customers who already wanted your products enough to add them to their cart.

Shopify’s built-in abandoned cart emails recover some of this revenue, but they’re basic: a single, generic email sent to every abandoner with the same timing, same message, and same incentive (or none). AI-powered cart recovery transforms this into a multi-channel, personalised sequence where the messaging, timing, channel, and incentive are tailored to each individual customer based on their behaviour, purchase history, and the specific products they abandoned.

This guide walks through setting up AI abandoned cart recovery on Shopify from tool selection to ongoing optimisation — a process that takes 2–3 hours and typically starts generating measurable revenue within the first week.

What You’ll Need

Before starting, ensure you have:

  • A Shopify store on any plan (Basic Shopify or higher). Shopify’s cart abandonment tracking is built into the platform.
  • An email/SMS marketing platform — Klaviyo (recommended), Omnisend, or Mailchimp. You need a tool that integrates with Shopify and supports automated flows with AI features.
  • At least 50 abandoned carts per month to generate meaningful data. If your store has fewer than 50 monthly abandonments, set up a basic recovery email first and implement AI personalisation once traffic grows.
  • Customer email capture in place — the recovery sequence can only reach customers who provided their email before abandoning. Ensure your checkout captures email early in the process, and consider adding an email capture popup (Klaviyo’s signup forms or a tool like Alia or Privy) to capture emails before checkout.
  • 2–3 hours for initial setup, then 15 minutes per week for monitoring during the first month.

Step 1: Choose Your Recovery Tool

Your choice depends on your budget, desired sophistication, and whether you want email only or multi-channel recovery.

Klaviyo (recommended for most Shopify stores): Klaviyo is the dominant email/SMS platform for e-commerce, used by over 117,000 brands. Its abandoned cart flow is the single highest-ROI automation in e-commerce. Klaviyo’s AI personalises the recovery sequence with predictive analytics (identifying which abandoners are most likely to convert), AI-generated subject lines optimised for open rates, personalised product recommendations within the recovery email, and optimal send-time determination per recipient. Free for up to 250 contacts; paid plans from $20/month.

Omnisend (budget-friendly alternative): Omnisend provides similar abandoned cart automation with a simpler interface and lower pricing. Pre-built abandoned cart workflows include email and SMS. AI features are less advanced than Klaviyo’s predictive analytics but cover the essentials: automated timing, product personalisation, and A/B testing. Free for 250 contacts; paid from $16/month.

Shopify’s built-in recovery (free, basic): Shopify includes a basic abandoned checkout email at no additional cost. It sends a single email to customers who start checkout but don’t complete it. This is adequate as a starting point but lacks the multi-touch sequences, AI personalisation, SMS capability, and sophisticated timing that dedicated platforms provide. If you’re evaluating whether cart recovery works for your store, start here — then upgrade to Klaviyo or Omnisend when you see results from the basic email.

Our recommendation: Start with Klaviyo Free if your email list is under 250 contacts. Upgrade to Klaviyo paid when your list grows. The abandoned cart flow alone typically generates enough revenue to cover the entire Klaviyo subscription within the first month.

Step 2: Install and Connect to Shopify

The integration process is straightforward on all platforms. Here’s the Klaviyo path (the most common setup):

Install the Klaviyo Shopify app. Go to the Shopify App Store, search for Klaviyo, and click Install. Authorise the connection when prompted — this grants Klaviyo access to your customer data, order history, product catalogue, and cart activity. The sync begins immediately and typically completes within minutes for stores with fewer than 10,000 customers.

Verify the data sync. In Klaviyo, navigate to Integrations and confirm that your Shopify store shows as “Connected” with a recent sync timestamp. Check that key metrics are populating: active profiles, recent orders, and — critically — “Started Checkout” events. The “Started Checkout” event is what triggers the abandoned cart flow. If this event isn’t syncing, the flow won’t fire.

Enable on-site tracking. Klaviyo’s Shopify integration includes JavaScript tracking that monitors visitor behaviour on your store — product views, add-to-cart events, and browse activity. This tracking powers not just abandoned cart recovery but also browse abandonment flows (emailing customers who viewed a product but didn’t add it to cart). Verify that the tracking snippet is active by visiting your store and checking Klaviyo’s activity feed for your test profile.

Set up your sender domain. Configure your sending domain in Klaviyo (or your chosen platform) to improve email deliverability. This involves adding DNS records (SPF, DKIM, DMARC) to your domain settings. Klaviyo provides step-by-step instructions for this. Proper domain authentication prevents recovery emails from landing in spam — a critical step that many merchants skip.

Step 3: Configure Your AI Recovery Sequence

The recovery sequence is the heart of the system. Rather than sending a single generic email, you’re building a multi-touch, multi-channel flow that adapts based on customer behaviour.

The recommended sequence structure:

Email 1: 1 hour after abandonment — the gentle reminder.

This email has the highest open and conversion rate of any email in the sequence. The subject line should create curiosity without pressure. Klaviyo’s AI subject line generator produces options optimised for open rates — test 2–3 variants. The email body should include the specific products left in the cart (Klaviyo dynamically pulls these from the abandoned cart data), a clear call-to-action button (“Complete your order” or “Return to your cart”), and no discount at this stage. Many customers simply got distracted — a reminder is enough.

Email 2: 24 hours after abandonment — the value reinforcement.

By 24 hours, the easy recoveries have already converted from Email 1. Email 2 targets customers who need a reason beyond a simple reminder. Include social proof (review stars, testimonials, “X customers love this product”), free shipping reminders if applicable, product benefits or features the customer may not have noticed, and AI-powered product recommendations (“You might also like…”) based on the abandoned products. Still no discount — many merchants offer discounts too early, training customers to abandon carts deliberately.

SMS 1: 4–6 hours after abandonment (if SMS consent captured).

SMS recovery messages achieve significantly higher open rates than email (98% vs 20–30%). Keep the message short and direct: “{First name}, you left something behind! Complete your order here: {cart link}.” Klaviyo and Omnisend both support SMS within their abandoned cart flows. Only send SMS to customers who have explicitly opted in — compliance with GDPR and TCPA is non-negotiable.

Email 3: 72 hours after abandonment — the incentive (conditional).

This is where AI-driven discount logic becomes valuable (see Step 4). If the customer hasn’t converted from the first two emails and the SMS, a targeted incentive can close the deal. But the incentive should be personalised based on customer value — not a blanket discount to everyone.

The timing matters. Research consistently shows that the first recovery message within 1 hour captures the highest conversion rate. After 24 hours, recovery rates decline sharply. After 72 hours, the customer has likely moved on or purchased elsewhere. Don’t extend your sequence beyond 72 hours — you’re burning goodwill with diminishing returns.

Step 4: Set Up Personalised Incentives

The biggest mistake in cart recovery is offering the same 10% discount to every abandoner. This trains customers to abandon carts deliberately (add items, wait for the discount email, then purchase at a lower price) and erodes your margins on customers who would have converted without an incentive.

AI-driven discount logic solves this by personalising the incentive based on customer data:

First-time visitors: Offer a modest incentive (5–10% or free shipping) in Email 3 only. These customers have no purchase history, so you’re investing in acquisition. A first-purchase discount is a reasonable customer acquisition cost.

Returning customers who’ve purchased before: Don’t offer a discount. These customers know your product and your brand — they’ll likely convert from the reminder alone. If they need an incentive, offer loyalty points or early access to new products rather than a price reduction.

High-value carts (above your average order value): A free shipping incentive is often more effective than a percentage discount and costs less in margin terms. A customer with a £200 cart is more motivated by free shipping (saving £5–8) than by 5% off (saving £10) — because shipping feels like a penalty while a discount feels like a deal they might find elsewhere.

Serial abandoners (customers who frequently abandon): These customers may be price-shopping, waiting for sales, or not genuinely interested. Exclude them from discount emails entirely — they’re unlikely to convert at full price and training them with discounts creates a permanent margin problem. If they’ve abandoned 3+ times without converting, remove them from the recovery flow.

In Klaviyo, you implement this logic using conditional splits within the flow. Add a “Has placed order: at least once” filter to split first-time and returning customers. Use cart value filters to route high-value carts differently. And use “Has been in this flow: at least 3 times” to identify serial abandoners.

Step 5: Monitor and Optimise

The initial setup gets your recovery flow running. Ongoing optimisation is what maximises its revenue contribution over time.

Track these metrics weekly for the first month:

Recovery rate: The percentage of abandoned carts that convert after receiving recovery messages. A well-optimised flow recovers 5–15% of abandoned carts. Below 5% suggests your messaging, timing, or incentives need adjustment. Above 15% is exceptional.

Revenue per recipient: The average revenue generated per person who enters the recovery flow. This accounts for both conversion rate and order value, giving you a single metric for flow performance.

Email open rate and click rate: Industry benchmarks for abandoned cart emails are 40–50% open rates and 10–15% click rates. If your open rates are below 30%, test new subject lines (use Klaviyo’s AI subject line generator). If click rates are below 8%, test email design, product imagery, and CTA placement.

SMS opt-in rate and conversion: Track what percentage of customers opt in to SMS and how SMS recovery performance compares to email. If SMS is performing well, consider adding a second SMS touchpoint.

Unsubscribe rate: Recovery emails should have unsubscribe rates below 0.5%. Higher rates suggest you’re sending too aggressively or to the wrong audience. If unsubscribes spike, review your timing and frequency.

Run A/B tests systematically. Test one variable at a time: subject line (A/B test via Klaviyo), send timing (1 hour vs 2 hours for Email 1), incentive type (percentage discount vs free shipping vs no incentive), and email design (product images vs lifestyle images). Let each test run for at least 2 weeks and 200+ recipients before drawing conclusions.

Expected Results

A properly configured AI abandoned cart recovery flow on Shopify typically produces these results within the first 30 days:

Recovery rate: 5–15% of abandoned carts converted (industry average is approximately 10% for well-optimised flows).

Revenue impact: For a store generating £50,000/month with a 70% abandonment rate, recovering 10% of abandoned carts adds approximately £11,600/month in revenue. For a £10,000/month store, the same maths produces approximately £2,300/month.

ROI: Klaviyo at £60/month generating £2,300–11,600/month in recovered revenue produces a 38–193x return. This is consistently the highest-ROI automation available to e-commerce stores.

Timeline: The first recoveries typically arrive within 24–48 hours of activating the flow. Meaningful performance data (enough to start optimising) accumulates within 2 weeks. The flow reaches peak performance after 4–6 weeks of A/B testing and adjustment.

Frequently Asked Questions

Should I use Shopify’s built-in cart recovery or Klaviyo?

Start with Shopify’s free recovery email if you’re not ready for Klaviyo’s setup. But upgrade to Klaviyo as soon as possible — the difference between a single generic email and a multi-touch, AI-personalised sequence across email and SMS is typically a 3–5x improvement in recovery rate. Shopify’s built-in email recovers 1–3% of abandoned carts. Klaviyo’s optimised flow recovers 5–15%.

When should I offer a discount in the recovery sequence?

Only in the final email (72 hours after abandonment), and only to segments where a discount is strategically appropriate (first-time visitors, not returning customers). Many merchants see better results offering free shipping instead of percentage discounts — it feels like removing a penalty rather than reducing value. Test both and let the data decide. Never offer a discount in the first recovery email — you’re leaving money on the table from customers who would have converted without one.

How do I prevent customers from gaming the system by abandoning carts for discounts?

Three tactics: delay the discount email to 72 hours (most genuine customers convert within 24 hours without a discount), exclude returning customers from discount emails, and use Klaviyo’s conditional splits to cap the number of times any customer can enter the discount flow (maximum 2–3 times before exclusion). If you notice a pattern of customers abandoning and waiting for discounts, reduce the discount percentage or switch to non-monetary incentives like free shipping or loyalty points.

Back to Best AI Tools for E-commerce in 2026: Support, Marketing, Personalisation, and Analytics