Skip to product information

Abandoned Cart Recovery with Google AI Email in n8n

Abandoned Cart Recovery with Google AI Email in n8n

 (200+Reviews)
Regular price £9.99
Regular price £9.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
Abandoned Cart Recovery with Google AI Email in n8n

Abandoned Cart Recovery with Google AI Email in n8n

Regular price £9.99
Regular price £9.99 Sale price
SAVE Sold out

Recover abandoned carts automatically with a personalized Google AI email—powered by n8n

This n8n workflow receives abandoned cart events via a webhook, uses Google Gemini to generate a recovery email (subject + HTML + offer details), sends it through your email provider API and n8n’s built-in email sender, then returns a clean JSON status back to the webhook caller.

What this workflow does

  • Receives an abandoned cart payload at an n8n webhook endpoint (path: email_marketing_1), including recipient_email and cart/customer data.
  • Generates a recovery email with Google AI (Gemini) by sending the cart and customer data to the AI. The workflow expects Gemini output formatted as JSON containing: a subject line, an HTML email body, a discount code, a recovery link, and product names.
  • Sends the email via your email provider API by calling your provider’s send API with the generated subject and HTML content (using an Authorization header with your API key).
  • Sends the same recovery email using n8n’s Email Send node to the recipient address from the incoming payload.
  • Normalizes the AI output, records a success/error status with a timestamp, and returns the result as the webhook response.

Use cases

  • Turn abandoned checkout events into immediate, AI-personalized email recovery campaigns for an e-commerce site.
  • Give SaaS operators an n8n-ready template to integrate abandoned cart automation with Google Gemini and email delivery.
  • Use a dual-send approach (provider API + n8n Email Send) for redundancy during email testing or staged rollout.

Technical details

  • Nodes / components: Webhook, AI Agent (Google Gemini), Code, HTTP Request, Email Send, Sticky Note.
  • Setup requirements: Add Google AI (Gemini) credentials for the AI Agent node.
  • Email delivery: Configure your email provider API URL + Authorization header, and set SMTP/email service credentials for n8n’s Send Email node (sender name/address such as hello@yourdomain.com).
View full details