Score customer health and flag churn risk with Stripe, Zendesk, OpenAI, Slack and HubSpot
Needs changesWhat this workflow does
This workflow has 24 nodes and runs on a schedule (every 24 hours) (plus 1 other trigger). Along the way it connects Google Sheets, Stripe, Zendesk and Slack and 2 more.
How it runs
Trigger: On a schedule (every 24 hours) (plus 1 other trigger).
- Workflow Configuration (Edit Fields (Set)): sets 12 fields: weightPayment, weightSupport, weightUsage…
- Load Account Mapping (Google Sheets): read (sheet within document)
- Load Prior Scores (Google Sheets): read (sheet within document)
- Fetch Recent Invoices (Stripe): get many (invoice)
- Fetch Recent Tickets (Zendesk): get many (ticket)
- Fetch Usage Metrics (HTTP Request): calls an HTTP API (GET)
- Fetch Active Subscriptions (Stripe): get many (subscription)
- Classify Ticket Sentiment (OpenAI): complete (chat)
- Score Usage Health (Code): runs custom JavaScript code
- Score Payment Health (Code): runs custom JavaScript code
…plus 12 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- OpenAI (legacy) in Classify Ticket Sentiment: replace with OpenAI node (AI section).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| OpenAI (legacy) Classify Ticket Sentiment | OpenAI node (AI section) |
Nodes used (14)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Stripe
n8n-nodes-base.stripe - Code
n8n-nodes-base.code - Zendesk
n8n-nodes-base.zendesk - OpenAI
n8n-nodes-base.openAi - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - HubSpot
n8n-nodes-base.hubspot - Gmail
n8n-nodes-base.gmail
From the author
Quick overview Customer success teams at SaaS companies, agencies managing retainers, and founders who discover churn when the cancellation email arrives. If your team has ever said "we didn't see it coming", this workflow is the early-warning system you were…