Templates / Monitor deal risk from HubSpot and Gmail with GPT-4.1 mini and Slack alerts

Monitor deal risk from HubSpot and Gmail with GPT-4.1 mini and Slack alerts

Ready for 3.0

by ResilNext ✓ · 11 views · created 2026-03-23 · CRM, AI Summarization

Ready 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).

  1. Workflow Configuration (Edit Fields (Set)): sets 3 fields: dealStageFilter, emailLookbackDays, riskScoreThreshold
  2. Get CRM Deals (HubSpot): get many (deal)
  3. Get Recent Emails (Gmail): get many
  4. Combine Deal Context (Aggregate): combines items into one
  5. AI Deal Intelligence Analyzer (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Deal Intelligence Schema
  6. Prepare CRM Update (Edit Fields (Set)): sets 5 fields: dealId, objections, nextSteps…
  7. Update CRM Deal (HubSpot): update (deal)
  8. Check Deal Risk (If): checks a condition and branches into true / false
  9. Alert Sales Manager (Slack): uses Slack

Services it uses

HubSpotGmailOpenAI Chat ModelSlack

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)

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.…

Excerpt from ResilNext's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.