Templates / Recover abandoned WooCommerce carts using OpenAI GPT-4.1-mini, Gmail and Slack

Recover abandoned WooCommerce carts using OpenAI GPT-4.1-mini, Gmail and Slack

Ready for 3.0

by WeblineIndia ✓ · 84 views · created 2026-03-26 · Lead Nurturing, Multimodal AI

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 AI workflow has 11 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects OpenAI Chat Model, Gmail and Slack.

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. Normalize Incoming Cart Data (Edit Fields (Set)): sets 5 fields: cart_key, email, first_name…
  2. Wait: pauses before continuing
  3. Recheck cart status from store (HTTP Request): calls an HTTP API
  4. Cart is Still Abandoned? (If): checks a condition and branches into true / false
  5. Genrate Personalized Reminder Email (AI Agent): runs an AI agent, with model: OpenAI Chat Model
  6. Extrect Email Subject & Body from AI (Code): runs custom JavaScript code
  7. Prepare recovery Data (Edit Fields (Set)): sets 3 fields: Product_name, total, customer_email
  8. Send Abandoned cart email to customer (Gmail): uses Gmail
  9. Notify internal team on slack (Slack): uses Slack

Services it uses

OpenAI Chat ModelGmailSlack

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 (10)

From the author

AI-Powered Abandoned Cart Recovery (WooCommerce + CoCart + n8n) This workflow automatically tracks abandoned carts from a WooCommerce store, waits for a defined time, rechecks the cart status, generates a personalized reminder email using AI, sends it to the…

Excerpt from WeblineIndia'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.