Back to Projects

AI Chatbot for E-commerce Cart Recovery

Abandoned cart trigger → conversational AI engagement → checkout assistance → recovery on 18% of abandoned carts.

2025 E-commerce AI Engineer AI & Bots
ShopifyClaude APIConversational AICart RecoverySMS
taimoorakhtar.com/projects/ai-chatbot-cart-recovery
AI Chatbot for E-commerce Cart Recovery

Introduction

A Shopify merchant was running standard abandoned cart emails — 9% recovery rate on the first email, dropping to under 2% by the third. They wanted something that didn't feel like marketing automation: a real conversational nudge that actually answered the question that stopped people from checking out.

The Challenge

Most cart recovery flows are blind — they have no idea WHY someone abandoned. Was it shipping cost? Size question? Decided to look at competitors? Without that signal, all you can do is discount-and-pray. The challenge: build something that could ASK why, listen to the answer, and respond appropriately.

The Solution

Built an SMS-based conversational recovery agent powered by Claude API. Triggered 30 minutes post-abandonment. Opens with a personalized question, not a pitch. Has access to the customer's cart contents, prior order history, current promotions, and FAQ-style product information. Discount offered only when warranted.

Technical Deep Dive

1
Trigger timing and channel selection. 30-minute delay post-abandonment. SMS channel only — open rates dominate email. Customer must have valid A2P opt-in on file.
2
Personalized opening. Bot's first message references the specific cart item: 'Hi {name}, I noticed you were checking out the {product_name} earlier — anything I can help answer?' Not a discount, not a CTA, just an open question.
3
Claude-powered conversation. Subsequent turns powered by Claude with context: cart contents, order history, available stock, current promos, FAQ knowledge base. Bot answers questions, offers shipping info, sizing help.
4
Discount-as-last-resort. Bot is prompted to NOT lead with a discount. Discount offered only after addressing the actual question or if the customer explicitly mentions price. Preserves margin.
5
Checkout-link handoff. When customer signals readiness, bot sends a one-click checkout link prefilled with cart and any applied discount. Handoff to human if conversation goes off-script.

Key Features

Results & Impact

  • 18% cart recovery rate (industry baseline: 9%)
  • Average order value on recovered carts 8% higher than baseline
  • Discount usage on recovered carts under 25% — most recovered without one
  • Customer NPS bumped 6 points on follow-up survey

Lessons Learned

"The reason for abandonment matters more than the discount. Ask first, discount only if needed."
"Conversational AI is wasted on broadcast — it shines in 1-to-1 contextual moments like cart recovery."
"SMS dominates email for time-sensitive recovery. Don't waste the opportunity by going broadcast-channel."

Related Work

Have a similar build in mind?

I'm available for engagement on GoHighLevel implementations, A2P 10DLC compliance, AI automation pipelines, and CRM migrations. Most projects start at $300–$1,200 depending on scope.