Templates / Score customer churn risk and trigger CS follow-ups with Postgres, Mixpanel, Zendesk, Gmail, Calendly, ClickUp, and Slack

Score customer churn risk and trigger CS follow-ups with Postgres, Mixpanel, Zendesk, Gmail, Calendly, ClickUp, and Slack

Ready for 3.0

by Rahul Joshi ✓ · 4 views · created 2026-09-21 · CRM, 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 workflow has 16 nodes and runs on a schedule (every 6 hours). Along the way it connects Postgres, Zendesk, Gmail and ClickUp and 1 more. It also calls mixpanel.com and api.calendly.com over HTTP.

How it runs

Trigger: On a schedule (every 6 hours).

  1. Get Product Usage (DB) (Postgres): run a query
  2. Get Mixpanel Engagement (HTTP Request): calls mixpanel.com (POST)
  3. Get Latest NPS Scores (Postgres): run a query
  4. Get Recent Support Tickets (Zendesk): get many
  5. Merge: merges the data from its input branches
  6. Merge: merges the data from its input branches
  7. Merge: merges the data from its input branches
  8. Calculate Churn Risk Score (Code): runs custom JavaScript code
  9. Is Churn Risk? (If): checks a condition and branches into true / false
  10. Is High Risk? (If): checks a condition and branches into true / false

…plus 5 more steps. See the full node list below.

Services it uses

PostgresZendeskGmailClickUpSlack

HTTP calls to: mixpanel.com, api.calendly.com

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

Quick overview This workflow runs every 6 hours to combine customer usage and NPS data from Postgres with Mixpanel engagement and Zendesk ticket signals, calculate a churn risk score, and trigger Customer Success interventions via Gmail, Calendly, ClickUp,…

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