Published: April 2026 | Category: Email Marketing · Shopify · AI Tools
Around 70% of online shopping carts are abandoned before checkout. For the average Shopify store, that is the single largest pool of recoverable revenue sitting untouched. A well-timed cart abandonment email series is the highest-ROI automation you can run - according to Klaviyo's 2024 benchmark report, abandoned cart flows generate up to 30x more revenue per recipient than standard campaigns. Most store owners either never set it up, or spend hours fumbling through Klaviyo's flow builder trying to wire it together.
I set up the full flow - trigger, three emails, custom copy, time delays, live in Klaviyo - in under five minutes. With a single prompt to an AI.
This is how it worked, and how you can do the exact same thing for your Shopify store.
How Ninja AI Builds Your Cart Abandonment Flow
Ninja is an AI store manager built by Molin AI, the same team behind the AI shopping assistant used by over 1,000 ecommerce stores across 20+ countries.
For a cart abandonment flow specifically, Ninja handles everything programmatically via the Klaviyo API: it sets up the trigger (Shopify's Checkout Started event), creates the flow structure, configures the time delays between emails, writes the copy for each message, and pushes the entire flow to Klaviyo in draft status - ready for you to review before going live. No drag-and-drop builder. No manual email writing. No copy-pasting between tabs.
Connects to Shopify to read the Checkout Started trigger event
Creates the Klaviyo flow with correct trigger filters
Sets up time delays: Day 5, Day 14, Day 30
Writes subject lines, preview text, and email body copy for each message
Pushes everything to Klaviyo via API - flow stays in Draft until you activate it
The screenshot below shows the finished flow as it appears in Klaviyo after Ninja created it.

Step 1: The Trigger - Checkout Started
The flow is triggered by Klaviyo's Checkout Started metric, which fires when a Shopify customer reaches the checkout page but does not complete their purchase. This is the correct trigger for a cart abandonment series - not Placed Order (which fires on completed purchases) and not Added to Cart (which fires too early, before the customer has shown purchase intent).
The Checkout Started event passes through the customer's cart contents, product names, prices, and their email address - all of which Klaviyo can use to personalise the abandoned cart emails dynamically. Ninja configures the trigger with a flow filter to exclude anyone who has placed an order after the trigger fires, so a customer who abandons and then comes back to complete the purchase will not receive the recovery emails.
Why Checkout Started, not Added to Cart: Added to Cart fires the moment a product is added to the basket - often before the customer has any real intention to buy. Checkout Started means they went all the way to the checkout page, entered their email, and stopped. That is a much warmer signal and produces significantly higher open rates and conversion rates.
Step 2: Email 1 - "You left something behind" (Day 5)
The first email goes out five days after checkout abandonment. At this stage, the tone is a soft, friendly nudge - no urgency, no discount, no pressure. The customer may simply have been distracted. The job of this email is to remind them what they left and make it easy to come back.
Subject line: You left something behind
Preview text: Your cart is still waiting for you
Body copy approach: Acknowledge they were browsing, show what they left in the cart (using Klaviyo's dynamic product blocks), and include a single clear CTA - "Return to your cart." Keep it short. No discounts at this stage - you would be giving margin away to a customer who might have converted anyway.

Step 3: Email 2 - "Still thinking it over?" (Day 14)
The second email goes out fourteen days after the trigger. By this point, the customer has had two weeks to come back on their own and has not. This email takes a different angle: it addresses hesitation. The goal is to overcome whatever objection stopped them from completing the purchase.
Subject line: Still thinking it over?
Preview text: Here's why other customers love it
Body copy approach: Lead with social proof - a review, a benefit statement, or a reassurance around returns and shipping. The customer may have had a question about the product, a concern about the returns policy, or simply needed more convincing. This email answers those unspoken objections without being pushy.

Step 4: Email 3 - "Last chance" (Day 30)
The third and final email goes out thirty days after the trigger. This is the close. The tone shifts to light scarcity - not manufactured urgency, but a genuine signal that this is the last time you will follow up. If you want to include a discount, this is the right place: you have already sent two emails without one, so the customer who converts on Email 3 genuinely needed the push.
Subject line: Last chance - your cart expires soon
Preview text: We'll stop reminding you after this
Body copy approach: Keep it brief. Restate what they left, add a time-limited incentive if appropriate ("10% off, this week only"), and close with a single CTA. After this email, the flow ends - anyone who has not converted in 30 days is unlikely to convert from another nudge, and continuing to email them will only hurt your deliverability.

Why Cart Abandonment Flows Matter for Shopify Stores
Cart abandonment emails consistently outperform every other automated email type on a revenue-per-recipient basis. Here is why:
The audience is warm. These people reached checkout - they were minutes away from buying. They are not cold leads.
The timing is right. A 5-day follow-up catches customers who were distracted, not disinterested.
The ROI compounds. Once the flow is live, it recovers revenue automatically on every abandoned checkout, forever. You set it up once.
Low competition in the inbox. Most small Shopify stores never set up a proper abandonment sequence - your emails stand out.
Klaviyo's own benchmark data puts the average revenue per recipient for cart abandonment emails at 5 to 10 times higher than a standard promotional newsletter. A 3-email series captures significantly more of that recovery revenue than a single email alone - each follow-up catches a different segment of abandoners at a different point in their decision process.
How to Get Started
1. Connect your Shopify store to Ninja
Go to molin.ai/shop-ai/setup and connect your Shopify store. The free plan is sufficient - you do not need to publish the chatbot widget on your site. Connecting the store gives Ninja direct API access to your product catalog, orders, customers, and checkout events.
2. Connect Klaviyo
Get your Private API Key from Klaviyo: go to Klaviyo → Settings → API Keys and create a new private key with full access. Give it to Ninja - it is stored in an encrypted vault and reused automatically for every future task.
3. Send Ninja a prompt
You can be as specific or as brief as you like. Some prompts that work well:
"Set up a Klaviyo cart abandonment flow for my Shopify store. 3 emails: Day 5, Day 14, Day 30. Add a 10% discount to the last email."
"Create a Klaviyo abandoned checkout flow connected to Shopify. Tone: friendly but direct. No discounts."
"Build a cart recovery email series in Klaviyo for our Shopify store. Products are in the premium home goods category - keep the tone elevated."
Ninja will set up the trigger, build the flow, write the copy for all three emails, and create everything in Klaviyo as a draft. You review it in Klaviyo, make any edits you want, and activate it.
If you want to send a one-off product newsletter to your list at the same time, we also covered how to create a full Klaviyo email newsletter for Shopify in under 5 minutes.
The Prompt, In Full
Here is the short version - one sentence, enough for Ninja to build the entire flow:
"Set up a Klaviyo cart abandonment email flow for my Shopify store. 3 emails at Day 5, Day 14, and Day 30. Leave it in draft."
And the detailed version, if you want more control over the output:
"Create a Klaviyo cart abandonment flow connected to my Shopify store. Trigger: Checkout Started. 3 emails: Email 1 at Day 5 (soft reminder, no discount), Email 2 at Day 14 (overcome objections, social proof angle), Email 3 at Day 30 (last chance, include a 10% discount code). Add flow filters to exclude customers who have already placed an order. Leave everything in draft status."
Total time from prompt to live Klaviyo draft: under five minutes.

Frequently Asked Questions
Does Ninja work with all Shopify stores?
Yes. Any Shopify store can connect via the Molin app at molin.ai/shop-ai/setup. It takes about two minutes and the free plan is sufficient.
Can Ninja add a discount code to the abandonment emails?
Yes. Just include it in your prompt. Ninja will create the discount code directly in Shopify via the API and reference it in the relevant email. You can specify which email gets the discount, the percentage, and any expiry date.
Does the flow go live immediately?
No. Ninja creates the flow in Draft status in Klaviyo so you can review the copy, preview the emails, and make any changes before activating. Nothing sends until you turn it on.
Can I customise the email timing?
Yes. The Day 5, Day 14, Day 30 cadence is a sensible default but you can ask for any timing you want - for example, Day 1, Day 3, Day 7 for a more aggressive recovery sequence, or Day 7, Day 21, Day 45 for a slower one.
What if the customer places an order after Email 1 - do they still get Email 2 and 3?
No. Ninja configures the flow with a filter that removes anyone who has placed an order after the trigger fires. A customer who converts after Email 1 exits the flow automatically and will not receive the remaining emails.
Does Ninja work with email platforms other than Klaviyo?
Yes. Ninja can work with other email marketing platforms that offer an API. Klaviyo is the recommended option for Shopify stores because of its native Shopify integration and the depth of data it passes through checkout events.
Tips to Make Your Abandonment Emails Even Better

Add AI-generated hero banner images
Ask Ninja to use the Gemini API or another image generation tool to create a custom hero banner image for each email - something that reflects your brand aesthetic rather than a plain text layout. Pass the generated image URL directly into the Klaviyo email template. This one change alone can significantly lift click rates on the first email.
Reserve the discount for Email 3 only
Do not put a discount in Email 1 or Email 2. Customers who were going to convert anyway will do so after a gentle reminder - giving them 10% off costs you margin for no reason. Save the discount for Email 3, where it functions as a genuine conversion incentive for the holdouts who need an extra push.
Pull live product reviews into Email 2
If you use a reviews app like Judge.me, ask Ninja to pull the top review for the abandoned product via the Judge.me API and embed it directly into Email 2. A real customer review inside the email - not linked to, but actually quoted inside the body - is one of the most effective objection-handling tools available.
Ask Ninja to write A/B subject line variants
For each of the three emails, ask Ninja to generate two or three subject line variants with different angles - curiosity-based, benefit-based, and urgency-based. Set up A/B tests in Klaviyo to find out which angle resonates best with your specific audience. The winning variants from one flow can inform your entire email strategy.
Add an SMS touchpoint after Email 1
If you have Klaviyo SMS enabled and your customers have provided phone numbers, ask Ninja to add a conditional SMS step after Email 1 that fires only for customers who have not opened the email within 24 hours. An SMS recovery message at Day 6 catches a different audience segment than email and often has significantly higher open rates.
Summary
Task | Method | Time
Set up Checkout Started trigger | Klaviyo Flows API | Automatic
Configure time delays (Day 5, 14, 30) | Klaviyo Flows API | Automatic
Write email copy for all 3 emails | AI-generated | Automatic
Create flow in Klaviyo | Klaviyo Flows API | Automatic
Total | One prompt | Under 5 minutes
Try Ninja: ninja.new
Connect your Shopify store: molin.ai/shop-ai/setup
Molin AI: molin.ai
Tags: klaviyo cart abandonment, shopify cart abandonment email, abandoned cart email series, cart abandonment flow klaviyo, shopify email automation, abandoned cart recovery shopify, klaviyo shopify integration, cart recovery email, klaviyo email flow, ecommerce cart abandonment, molin ai, ninja ai