Send AI revenue forecast alerts from HubSpot via Gmail, Slack and Sheets
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 11 nodes and runs on HubSpot events. Along the way it connects Groq Chat Model, Gmail, Slack and Google Sheets and 1 more.
How it runs
Trigger: On HubSpot events.
- Get many deals (HubSpot): get many (deal)
- Format Hubspot Data (Code): runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- AI Revenue Forecast & Risk Analysis (AI Agent): runs an AI agent, with model: Groq Chat Model
- Format AI response (Code): runs custom JavaScript code
- Send a message (Gmail): uses Gmail
- Append row in sheet (Google Sheets): append
- Send a message (Slack): uses Slack
- Wait: pauses before continuing
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)
- Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - HubSpot Trigger
n8n-nodes-base.hubspotTrigger - HubSpot
n8n-nodes-base.hubspot - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
How it works This workflow automatically generates an AI-powered revenue forecast whenever a new deal is created in HubSpot. It collects all active deals, standardizes key sales data, and sends it to an AI model for forecasting and risk analysis. The AI…