WooCommerce Abandoned Cart Emails with n8n: What Is Possible
Abandoned cart emails can recover sales you were about to lose, but the topic is full of half-truths. The first one: WooCommerce does not keep a list of abandoned carts for you. A cart is session data until the customer checks out, and guests have no email address until they type it in.
This guide explains what is realistically possible with n8n, what you need on the store side and how to stay on the right side of privacy rules. If you want the broader picture of order flows, see our n8n workflow automation service.
Step zero: decide what “abandoned” means
There are three different signals, and each needs different tooling:
- Unpaid orders. The customer reached checkout and created an order that stayed “pending payment” or “failed”. WooCommerce stores these, so n8n can read them through the API. This is the easiest and most dependable starting point.
- Carts with a known email. The customer is logged in or typed an email at checkout before leaving. Capturing this needs a plugin or custom code that saves the cart and email.
- Anonymous carts. No email, no way to contact the person. Nothing to automate.
Workflow A: recover unpaid orders
- Schedule Trigger every 30 to 60 minutes.
- WooCommerce node: get orders with status “pending” or “failed”.
- Filter to orders older than your wait time (for example one hour) and younger than a cut-off (for example 48 hours).
- Check history: skip customers you already emailed for that order, using a stored order ID list.
- Send Email with a link back to the order’s payment page so the customer can finish in one click.
- Mark it by adding an order note or a custom field so the order is not emailed twice.
Workflow B: carts captured by a plugin
If you use a cart recovery plugin that stores abandoned carts, it can usually notify an external URL when a cart is abandoned. Point that at an n8n Webhook node, then use the same send, mark and deduplicate steps. n8n adds the logic the plugin cannot: segmentation, delays, multi-step sequences and routing to your CRM.
Write emails that people welcome
- One reminder after about an hour, a second after a day, and stop. Three or more starts to feel like pressure.
- Show what was in the cart with an image and a link, and keep the tone helpful.
- Offer help, not only discounts. Many customers left because of shipping cost or a question, and a discount trains them to abandon on purpose.
- Make unsubscribing easy.
Privacy and consent
Emailing someone who did not complete a purchase is regulated marketing in many regions. Rules differ, so confirm with your legal advisor what your region requires: for example whether a transactional reminder is allowed without opt-in, and what your privacy policy must say about storing cart data. Capture consent at checkout where you need it and honour opt-outs in every email.
Measure it
Track how many reminder emails lead to a completed order, over a fixed window. Compare against a holdout group that gets no email, otherwise you will credit the email with orders that would have happened anyway.
Frequently asked questions
Does WooCommerce track abandoned carts by itself?
No. Carts are session data. Unpaid orders are stored, and a plugin or custom code is needed to save carts with an email address.
How many reminder emails should I send?
Two is a good limit: one after about an hour and one after about a day.
Is it legal to email people about abandoned carts?
It depends on your country and on how you collected the email and consent. Check local rules and your privacy policy before you start.
Can n8n do this without a plugin?
For unpaid orders, yes. For carts that never became orders, you need something that captures them.
Want it set up properly?
We build store automations with n8n. See custom WooCommerce development and send us a brief. We reply within 48 hours.