Templates / Automated daily customer win-back campaign with AI offers

Automated daily customer win-back campaign with AI offers

Ready for 3.0

by Onur ✓ · 1,276 views · created 2025-05-12 · Social Media, 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 12 nodes and runs on a schedule (every day). Along the way it connects Google Sheets, Google Gemini Chat Model and Gmail.

How it runs

Trigger: On a schedule (every day).

  1. Fetch Customer Data from Sheet (Google Sheets): uses Google Sheets
  2. Filter: keeps only the items that match a condition
  3. Check if Eligible Customers Found (If): checks a condition and branches into true / false
  4. Process Each Eligible Customer (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Set 'Not Found' Status (Edit Fields (Set)): sets 2 fields: system_log, date
  6. Generate Win-Back Offer (Basic LLM Chain): sends a prompt to an LLM, with model: (LLM Model for Offer Generation); output parser: (Parse Offer JSON)
  7. Log 'Not Found' in System Log (Google Sheets): append or update
  8. Log Sent Offer in System Log (Google Sheets): append or update
  9. Send Win-Back Offer via Email (Gmail): uses Gmail

Services it uses

Google SheetsGoogle Gemini Chat ModelGmail

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

Proactively retain customers predicted to churn with this automated n8n workflow. Running daily, it identifies high-risk customers from your Google Sheet, uses Google Gemini to generate personalized win-back offers based on their churn score and preferences,…

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