Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Monitoring, Ops & Incidents

Monitoring, Ops & Incidents

Assess churn risk from HubSpot tickets with DeepSeek and send Slack alerts

Runs on a schedule to aggregate recent HubSpot support tickets per contact, scores churn risk with a DeepSeek agent, updates HubSpot and alerts Slack on high risk.

What it does

## [HubSpot Demo] Support-Ticket-Driven Churn Risk Alert (AI Agent) ### How it works This workflow runs on a schedule to find recent HubSpot support tickets, aggregate them by contact, and use an AI agent to assess churn risk. It parses the AI output into structured risk fields, updates the contact's churn risk property in HubSpot, and routes high-risk cases into Slack alerts and follow-up tasks. A final pass-through node captures asynchronous failure paths from ticket retrieval and downstream notification/task actions. ### Setup steps - Connect HubSpot credentials for reading tickets, updating contact properties, and creating follow-up tasks. - Connect Slack credentials and configure the target channel for churn risk alerts. - Configure the DeepSeek chat model credentials used by the AI Agent. - Ensure HubSpot has the required churn risk fields/properties, such as risk level, risk summary, recommended action, and contact ID mapping. - Review the schedule trigger interval and confirm the ticket query only retrieves the desired recent time window. ### Customization Adjust the aggregation logic, AI prompt, structured output schema, risk-level routing rules, Slack message format, and HubSpot task details to match your support and customer-success process.

The steps

  1. When Support Tickets Scanned
  2. Retrieve HubSpot Tickets
  3. Compile Tickets by Contact
  4. Churn Risk Assessment Agent
  5. DeepSeek AI Model
  6. Parse Structured Output
  7. DeepSeek Model Fixer
  8. Set Risk Assessment Fields
  9. Update Churn Risk in HubSpot
  10. Route by Churn Risk Level
  11. Notify Slack of Churn Risk
  12. Initiate Churn Follow-Up Task
  13. Log Failure for Review

Similar automations