Recover abandoned WooCommerce carts with custom coupon emails
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 10 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects WooCommerce.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Wait: waits 15 minutes
- Fetching If Customer has placed order (WooCommerce): get many (order)
- Set Default Order Data (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Generate Unique Coupon Code (Code): runs custom JavaScript code
- Create Abandoned Cart Coupon (HTTP) (HTTP Request): calls an HTTP API (POST)
- Generate Email HTML (Code): runs custom JavaScript code
- Abandoned Cart Recovery Email (Send Email): sends an email over SMTP
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- No Operation, do nothing
n8n-nodes-base.noOp - Webhook
n8n-nodes-base.webhook - Wait
n8n-nodes-base.wait - WooCommerce
n8n-nodes-base.wooCommerce - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest
From the author
Stop paying for expensive plugins to recover your valuable revenue from abandoned carts on your WooCommerce store How It Works? 1. When a product is added to a user's cart on your store, it fetches the cart contents via webhook & it utilises the code provided…