Templates / Recover abandoned WooCommerce carts with custom coupon emails

Recover abandoned WooCommerce carts with custom coupon emails

Ready for 3.0

by Kshitij Matta ✓ · 218 views · created 2026-01-04 · Lead Nurturing

Ready 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.

  1. Wait: waits 15 minutes
  2. Fetching If Customer has placed order (WooCommerce): get many (order)
  3. Set Default Order Data (Code): runs custom JavaScript code
  4. If: checks a condition and branches into true / false
  5. Generate Unique Coupon Code (Code): runs custom JavaScript code
  6. Create Abandoned Cart Coupon (HTTP) (HTTP Request): calls an HTTP API (POST)
  7. Generate Email HTML (Code): runs custom JavaScript code
  8. Abandoned Cart Recovery Email (Send Email): sends an email over SMTP

Services it uses

WooCommerce

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)

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…

Excerpt from Kshitij Matta's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.