Templates / Score customer churn risk and send save-play emails with Claude and Gmail

Score customer churn risk and send save-play emails with Claude and Gmail

Ready for 3.0

by Swapnil Mandloi ✓ · 183 views · created 2026-07-28 · Lead Nurturing, AI Summarization

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 POST request hits its webhook URL. Along the way it connects Anthropic Chat Model and Gmail.

How it runs

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

  1. Normalize Signals (Edit Fields (Set)): sets 10 fields: customer_id, customer_name, email…
  2. AI Churn Score (AI Agent): runs an AI agent, with model: Claude Sonnet 4.; output parser: Churn Score Schema
  3. Shape Health Record (Edit Fields (Set)): sets 12 fields: customer_id, customer_name, email…
  4. Log to Health Table (Data table): uses Data table
  5. Route by Risk (Switch): routes items into 2 branches
  6. Send Save-Play Email (Gmail): uses Gmail
  7. Send Nurture Email (Gmail): uses Gmail

Services it uses

Anthropic 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 (9)

From the author

Quick overview Catch at-risk paying customers before they cancel. This workflow receives customer health signals through a webhook, scores churn risk from 0–100 with Claude, logs every account to a data table, and automatically sends a personalized save-play…

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