{"product_id":"reduce-customer-churn-with-claude-scoring-gmail-save-emails-n8n","title":"Reduce Customer Churn with Claude Scoring + Gmail Save Emails (n8n)","description":"\u003ch3\u003eCatch at-risk customers before they cancel—then email them automatically with Claude scoring\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow helps you reduce customer churn by ingesting customer health signals via a Webhook, using Claude to score churn risk (0–100), and automatically sending a personalized “save-play” email through Gmail to customers who are slipping away.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives customer health signals\u003c\/strong\u003e through a Webhook (one customer per call) in JSON, including signals like last login, usage change, email open rate, support sentiment, days to renewal, open tickets, and plan value.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes the payload safely\u003c\/strong\u003e with a Set node so missing fields won’t break the run.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eScores churn risk with Claude\u003c\/strong\u003e (Anthropic Chat Model) using structured output: a churn score from \u003cstrong\u003e0–100\u003c\/strong\u003e, a risk tier (\u003cstrong\u003eRED \/ YELLOW \/ GREEN\u003c\/strong\u003e), the top contributing signals, and a draft personalized \u003cstrong\u003eHTML save-play email\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates one clean health record\u003c\/strong\u003e by flattening AI output and original data (Shape node).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogs every account\u003c\/strong\u003e to a \u003cstrong\u003edata table\u003c\/strong\u003e for tracking and reporting (mapped columns include customer_id, churn_score, risk_tier, action_taken, logged_at, and more).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoutes actions by risk tier\u003c\/strong\u003e with a Switch:\n    \u003cul\u003e\n      \u003cli\u003e\n\u003cstrong\u003eRED:\u003c\/strong\u003e triggers a save-play email\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eYELLOW:\u003c\/strong\u003e sends a lighter nurture email\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eGREEN:\u003c\/strong\u003e logs and monitors\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEmail reliability:\u003c\/strong\u003e Gmail email nodes retry automatically \u003cstrong\u003e3×\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS operators: identify customers with worsening engagement (e.g., lower open rate, more open tickets) before renewal.\u003c\/li\u003e\n  \u003cli\u003eCustomer success teams: trigger targeted save-play outreach for RED accounts while keeping GREEN customers on watch.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers: maintain an audit trail by logging every churn evaluation to a data table.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInputs:\u003c\/strong\u003e Webhook (JSON customer health signals)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI:\u003c\/strong\u003e Claude (Anthropic Chat Model + structured output parser) in the AI Churn Score model node\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRouting:\u003c\/strong\u003e Switch by risk tier (RED\/YELLOW\/GREEN)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eData:\u003c\/strong\u003e data table logging of churn scoring outcomes\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEmail:\u003c\/strong\u003e Gmail (OAuth2) with HTML save-play emails (auto-retry 3×)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUtilities:\u003c\/strong\u003e Set and Shape nodes (safe defaults + output flattening)\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45738494722227,"sku":"N8N-17552","price":16.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/fP1qJknIsdSZwPiEzXsAy_4T01jdsE.png?v=1785229576","url":"https:\/\/buyflowscripts.com\/products\/reduce-customer-churn-with-claude-scoring-gmail-save-emails-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}