Monitor HubSpot deal risk with OpenAI scoring and Slack alerts
How it works
This workflow runs on a daily schedule to analyze all active HubSpot deals and their latest engagement activity. It applies AI-driven behavioral scoring to predict conversion probability and deal health. High-risk or stalled deals automatically trigger Slack alerts. All insights are logged in Google Sheets for forecasting and performance tracking.
Step-by-step
Step 1 – Trigger and collect active deals**
Schedule Trigger – Runs the workflow automatically at a fixed time each day.
Get Active Deals from HubSpot – Retrieves all non-closed deals with key properties like value, stage, and activity dates.
Formatting Data – Cleans and normalizes deal data while calculating metrics such as deal age and inactivity duration.
Step 2 – Enrich deals with engagement data**
If – Filters only active deals to ensure closed deals are excluded.
Loop Over Items – Processes each deal individually to handle enrichment safely.
HTTP Request – Fetches engagement associations linked to each deal.
Get an engagement – Retrieves detailed engagement records from HubSpot.
Extracts Data – Structures engagement content, timestamps, and internal notes for AI analysis.
Step 3 – Analyze risk and notify the team**
AI Agent – Analyzes behavioral signals and predicts conversion probability, risk level, and next actions.
Format Data – Parses the AI output into structured fields and risk indicators.
Filter Alerts Needed – Identifies deals that require immediate attention.
Send Slack Alert – Sends a detailed alert with risks, signals, and recommended actions.
Append or update row in sheet – Stores analysis results in Google Sheets for tracking and forecasting.
Why use this?
Detect deal risk early using consistent, AI-based analysis
Reduce manual pipeline reviews for sales managers
Provide clear, actionable next steps to sales reps
Keep a historical log of deal health and forecasts
Improve close rates through timely, data-driven intervention
Related Templates
Track Expenses by Parsing Telegram Transaction Messages to Google Sheets
Overview This n8n workflow template automatically parses incoming Telegram transaction messages and logs structured dat...
Automated Work Attendance with Location Triggers
his workflow automates time tracking using location-based triggers. How it works Trigger: It starts when you enter or e...
Send Daily Weather Forecasts from OpenWeatherMap to Telegram with Smart Formatting
🌤️ Daily Weather Forecast Bot A comprehensive n8n workflow that fetches detailed weather forecasts from OpenWeatherMap...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments