Detect Mixpanel churn and create HubSpot, ClickUp, and Slack retention alerts
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects HubSpot, ClickUp and Slack. It also calls api.hubapi.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Parse Mixpanel Payload (Code): runs custom JavaScript code
- Is Churn Event (If): checks a condition and branches into true / false
- Enrich User Data (Edit Fields (Set)): sets 7 fields: churnScore, riskEmoji, taskPriority…
- HubSpot: search
- Contact Found (If): checks a condition and branches into true / false
- HubSpot Get Deals (HTTP Request): calls an HTTP API
- Slack: uses Slack
- Deal Exists (If): checks a condition and branches into true / false
- HubSpot: update (deal)
- HubSpot: work with deal
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: api.hubapi.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 (8)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - HubSpot
n8n-nodes-base.hubspot - ClickUp
n8n-nodes-base.clickUp - Slack
n8n-nodes-base.slack - HTTP Request
n8n-nodes-base.httpRequest
From the author
How it works This workflow automatically detects at-risk customers by listening for inactivity signals from Mixpanel, scoring their churn risk, syncing everything to HubSpot, creating a prioritized ClickUp follow-up task, and alerting the customer success…