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
- When Support Tickets Scanned
- Retrieve HubSpot Tickets
- Compile Tickets by Contact
- Churn Risk Assessment Agent
- DeepSeek AI Model
- Parse Structured Output
- DeepSeek Model Fixer
- Set Risk Assessment Fields
- Update Churn Risk in HubSpot
- Route by Churn Risk Level
- Notify Slack of Churn Risk
- Initiate Churn Follow-Up Task
- Log Failure for Review
Similar automations
Email AutomationScore customer health and flag churn risk with Stripe, Zendesk, OpenAI, Slack and HubSpot24 stepsCRM & Sales PipelineScore customer churn risk from PostgreSQL data and alert Slack with Gemini17 stepsMonitoring, Ops & IncidentsFlag B2B churn-risk orders from Google Sheets with Gemini and Slack alerts22 stepsCRM & Sales PipelineSend WhatsApp win-back offers to at-risk gym members with OpenAI and ClickUp30 steps