Skip to product information

AI Shopify Abandoned Cart Email n8n Workflow w/ OpenAI & Gmail

AI Shopify Abandoned Cart Email n8n Workflow w/ OpenAI & Gmail

 (200+Reviews)
Regular price £66.99
Regular price £66.99 Sale price
SAVE Sold out
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
AI Shopify Abandoned Cart Email n8n Workflow w/ OpenAI & Gmail

AI Shopify Abandoned Cart Email n8n Workflow w/ OpenAI & Gmail

Regular price £66.99
Regular price £66.99 Sale price
SAVE Sold out

Recover abandoned carts automatically with an OpenAI-powered Shopify email (n8n workflow)

This AI Shopify Abandoned Cart Email n8n workflow runs every 4 hours to pull open abandoned checkouts from Shopify, uses OpenAI (gpt-4o-mini) to generate a short personalized recovery message, and sends it to shoppers via Gmail or SMTP.

What this workflow does

  • Scheduled checkout retrieval: Executes on a 4-hour schedule to fetch up to 250 open checkouts from the Shopify Admin API.
  • Personalized targeting: Filters checkouts to include only those with an email address and created within your configured recovery window (older than your wait time, but not older than an additional 4 hours).
  • AI email generation: Uses OpenAI (chat model gpt-4o-mini) to write a concise cart-recovery email including the shopper’s first name (if available), items, total, a checkout link, and an optional discount code.
  • Delivery via your provider: Sends the generated email to the shopper using either Gmail (OAuth2) or SMTP, based on your emailProvider setting.

Use cases

  • An n8n user supporting a Shopify store that wants automated abandoned checkout recovery without building custom logic.
  • SaaS operators running multiple stores who need a configurable workflow for tone, wait time, and sending method.
  • Automation engineers who want an AI-assisted email that stays short, relevant, and tied to Shopify checkout data.

Technical details

  • Integrations: Shopify Admin API, OpenAI (gpt-4o-mini), Gmail or SMTP
  • Node logic (as designed): if, set, code, filter, gmail, email send
  • Setup highlights: Configure Shopify access token/API version, add OpenAI API credentials, and select Gmail OAuth2 or SMTP credentials with emailProvider and sender settings (e.g., notificationEmailFrom).
View full details