Monitor deal risk from HubSpot and Gmail with GPT-4.1 mini and Slack alerts
Ready for 3.0Ready 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 12 nodes and runs on a schedule (every day at 09:00). Along the way it connects HubSpot, Gmail, OpenAI Chat Model and Slack.
How it runs
Trigger: On a schedule (every day at 09:00).
- Workflow Configuration (Edit Fields (Set)): sets 3 fields: dealStageFilter, emailLookbackDays, riskScoreThreshold
- Get CRM Deals (HubSpot): get many (deal)
- Get Recent Emails (Gmail): get many
- Combine Deal Context (Aggregate): combines items into one
- AI Deal Intelligence Analyzer (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Deal Intelligence Schema
- Prepare CRM Update (Edit Fields (Set)): sets 5 fields: dealId, objections, nextSteps…
- Update CRM Deal (HubSpot): update (deal)
- Check Deal Risk (If): checks a condition and branches into true / false
- Alert Sales Manager (Slack): uses Slack
Services it uses
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)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HubSpot
n8n-nodes-base.hubspot - Gmail
n8n-nodes-base.gmail - Aggregate
n8n-nodes-base.aggregate - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack
From the author
Overview This workflow helps sales teams automatically monitor deal health and detect risks early. It pulls deal data from your CRM and combines it with recent email activity. Using AI, it analyzes engagement, identifies objections, and assigns a risk score.…