Templates / Assess churn risk from HubSpot tickets with DeepSeek and Slack alerts

Assess churn risk from HubSpot tickets with DeepSeek and Slack alerts

Ready for 3.0

by Anir Agram ✓ · 1 views · created 2026-08-25 · Ticket Management, 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 13 nodes and runs on a schedule (every day at 07:00). Along the way it connects HubSpot, DeepSeek Chat Model and Slack.

How it runs

Trigger: On a schedule (every day at 07:00).

  1. Retrieve HubSpot Tickets (HubSpot): get many (ticket)
  2. Compile Tickets by Contact (Code): runs custom JavaScript code
  3. Churn Risk Assessment Agent (AI Agent): runs an AI agent, with model: DeepSeek AI Model; output parser: Parse Structured Output
  4. Set Risk Assessment Fields (Edit Fields (Set)): sets 8 fields: riskLevel, riskSummary, recommendedAction…
  5. Update Churn Risk in HubSpot (HubSpot): update (contact)
  6. Route by Churn Risk Level (Switch): routes items into 2 branches
  7. Notify Slack of Churn Risk (Slack): uses Slack
  8. Initiate Churn Follow-Up Task (HubSpot): create (engagement)

Services it uses

HubSpotDeepSeek Chat ModelSlack

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 daily to pull HubSpot support tickets, aggregates them per contact, uses a DeepSeek AI Agent to assess churn risk, writes the risk level and summary back to HubSpot, and alerts Customer Success in Slack while creating HubSpot…

Excerpt from Anir Agram'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.