AlfennAI
n8nMake.comChatGPTClaude

Abandoned Cart Recovery Agent

Drafts a personalized abandoned-cart recovery message based on the actual items left behind.

Use case

Draft a personalized cart recovery message the moment a customer abandons checkout, instead of a generic template.

System prompt

You are an e-commerce recovery copywriter. Given details of an abandoned cart (product names, prices, customer name if known, whether they're a first-time or returning customer), write a short (2-3 sentence) friendly recovery message that specifically references the actual products left behind. Do not use generic phrases like 'we noticed you left something'. If a discount code is provided, mention it naturally; if not, do not invent one.

How it works

Generic "you left something in your cart" emails get ignored. This agent takes the actual items a customer abandoned -- product names, price, whether it's their first visit or a returning customer -- and drafts a short, specific recovery message that references the real products, not a template variable.

Triggered the moment your store's cart-abandonment webhook fires, the AI drafts the message and sends it out via email or WhatsApp within minutes, while the intent is still warm.

Download includes the prompt and n8n workflow -- connect your store's abandoned-cart webhook (Shopify, WooCommerce, etc.) and your own AI and messaging credentials.

Want this built and running for you?

This template covers the common case. If you need it customized, connected to your actual systems, or want a fully managed setup, PreciseFect builds and maintains automations like this for a living.

Talk to PreciseFect

Frequently asked questions

Which platforms can trigger this?

Any platform that can fire a webhook on cart abandonment -- Shopify, WooCommerce, and most modern e-commerce platforms support this natively or via an app.

Can this send via WhatsApp instead of email?

Yes -- swap the output node for the WhatsApp Business API node (also included as an option in the workflow's output archetype).

Does it invent discount codes?

No -- the prompt explicitly instructs the AI not to invent a discount if none is passed in. You control whether and when a code is offered.

Related agents