Monitor deal risk from HubSpot and Gmail with GPT-4.1 mini and Slack alerts
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. High-risk deals are flagged and alerts are sent so your team can take action quickly.
How It Works
Scheduled Trigger The workflow runs daily to monitor active deals.
Configuration Defines key settings like deal stages, email lookback period, and risk threshold.
Data Collection
Fetches deals from your CRM
Retrieves recent email conversations
Context Combination Merges deal data and email activity into a single dataset for analysis.
AI Analysis
AI reviews the combined data to:
Identify objections
Suggest next steps
Detect risk signals
Assign a risk score (0–100)
CRM Update
The workflow updates each deal with:
Objections
Next steps
Risk score
Risk summary
Risk Evaluation Compares the risk score against a defined threshold.
Alerting If the deal is high-risk, a Slack alert is sent to notify the sales team.
Setup Instructions
Connect HubSpot credentials (for deals)
Connect Gmail credentials (for email data)
Connect OpenAI credentials (for analysis)
Connect Slack credentials (for alerts)
Configure the Workflow Configuration node:
Set deal stage filters
Define email lookback days
Set risk score threshold
Ensure CRM fields exist for:
objections
next_steps
risk_score
risk_summary
Test with sample deals
Activate the workflow
Use Cases
Identifying deals at risk before they are lost
Tracking customer objections automatically
Improving sales follow-up with clear next steps
Monitoring engagement across deals
Alerting managers about critical deals in real time
Requirements
HubSpot account (or replace with your CRM) Gmail account (for email data) OpenAI API access Slack workspace (for alerts) n8n instance with proper credentials configured
Notes
You can adjust the risk threshold based on your sales process. AI prompts can be customized to match your sales methodology. This workflow can be extended to include CRM filters for specific pipelines or teams.
Related Templates
AI SEO Readability Audit: Check Website Friendliness for LLMs
Who is this for? This workflow is designed for SEO specialists, content creators, marketers, and website developers who ...
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments