Send AI revenue forecast alerts from HubSpot via Gmail, Slack and Sheets
Ready for 3.0What 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
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
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…