Abandoned Cart Recovery Email Workflow (n8n + Gemini AI)
Abandoned Cart Recovery Email Workflow (n8n + Gemini AI)
Regular price
£68.99
Regular price
£68.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
Abandoned Cart Recovery Email Workflow (n8n + Gemini AI)
Regular price
£68.99
Regular price
£68.99
Sale price
Unit price
/
per
Recover abandoned carts automatically with an n8n + Google Gemini email workflow
This Abandoned Cart Recovery Email Workflow (n8n + Gemini AI) receives abandoned cart events via a webhook, uses Google Gemini to generate a personalized recovery email, sends it through your email provider API and n8n’s SMTP Email Send, then returns a clean JSON status response.
What this workflow does
- Receives abandoned cart data via a webhook endpoint (based on your e-commerce platform’s event payload).
-
Generates a recovery email with Gemini using an AI Agent to produce structured output including:
- Subject
- HTML body
- Discount code
- Recovery link
- Product names
- Sends the email via your provider HTTP API by calling the API endpoint with an API key in the authorization header.
- Sends the same recovery email again via n8n SMTP using the configured SMTP credentials in n8n.
- Normalizes the AI output, adds a success/error status and timestamp, and returns JSON to the webhook caller.
Use cases
- Reduce revenue leakage by triggering abandoned cart recovery emails the moment a customer leaves checkout.
- Use Gemini-generated subject lines and HTML content tailored to the cart’s product names and recovery link.
- Validate multi-channel delivery by sending the generated recovery email through both an email provider API and n8n SMTP.
- Automation engineers deploying a reusable n8n template for SaaS operators running custom checkout events.
Technical details
- Webhook: Accepts abandoned cart payloads from your event source.
- AI Agent (Google Gemini): Produces a recovery email JSON (subject, HTML, discount code, recovery link, product names).
- HTTP Request: Sends email content using your email provider’s HTTP API endpoint + API key authorization header.
- Email Send (SMTP): Sends the same recovery email again via n8n’s built-in SMTP email sender.
- Code node: Normalizes output and prepares the final webhook JSON response.
Setup highlights: configure the webhook URL, add Google AI (Gemini) credentials, provide your email provider API endpoint + key, and set SMTP credentials (ensure the payload includes recipient_email or map it accordingly).
