Skip to main content

Send AI revenue forecast alerts from HubSpot via Gmail, Slack and Sheets

Workflow preview

Workflow preview
100%
Send AI revenue forecast alerts from HubSpot via Gmail, Slack and Sheets preview
Open on n8n.io

1. Workflow Overview

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

Best for

  • CRM automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatgroq, n8n-nodes-base.gmail, n8n-nodes-base.slack, n8n-nodes-base.splitinbatches, n8n-nodes-base.wait, n8n-nodes-base.code, n8n-nodes-base.googlesheets, n8n-nodes-base.hubspottrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Avkash Kakdiya.

Original n8n.io source

1.1 Workflow description

Title
Send AI revenue forecast alerts from HubSpot via Gmail, Slack and Sheets
Workflow name
Send AI revenue forecast alerts from HubSpot via Gmail, Slack and Sheets

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 produces best, likely, and worst-case revenue scenarios along with actionable insights. Results are shared with stakeholders via Slack and Email and stored in Google Sheets for tracking.

Step-by-step

  • Step 1 : Collect & prepare HubSpot deals

  • HubSpot Trigger – Starts the workflow when a new deal is created in HubSpot.

  • Get many deals – Fetches all active deals from the sales pipeline.

  • Format HubSpot Data – Cleans and standardizes deal fields like amount, stage, probability, and region.

  • Loop Over Items – Iterates through formatted deals to prepare them for AI analysis.

  • Step 2 : Generate & distribute AI forecast

  • AI Revenue Forecast & Risk Analysis – Sends pipeline data to the AI model to generate revenue forecasts and insights.

  • Groq Chat Model – Powers the AI analysis and produces structured forecasting output.

  • Format AI response – Extracts key metrics, risks, and recommendations from the AI response.

  • Send a message (Gmail) – Emails the revenue forecast report to stakeholders.

  • Send a message (Slack) – Posts the forecast summary to a selected Slack channel.

  • Append row in sheet – Logs forecast data and insights into Google Sheets.

  • Wait – Adds a controlled pause before looping or completing the workflow.

Why use this?

  • Get real-time revenue forecasts triggered directly by CRM activity.
  • Reduce manual pipeline analysis and reporting effort.
  • Identify high-risk deals early with AI-driven insights.
  • Keep leadership aligned through automated Slack and Email updates.
  • Maintain a historical forecast log for audits and performance tracking.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Groq Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatGroq - lmChatGroq
Config choices
Version 1

Block 2 - Send a message2

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 3 - Send a message3

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 4 - Loop Over Items1

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 5 - Wait1

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 6 - Format AI response1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Append row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 8 - HubSpot Trigger1

Type / Role
n8n-nodes-base.hubspotTrigger - hubspotTrigger
Config choices
Version 1

Block 9 - Get many deals1

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2.2

Block 10 - Format Hubspot Data1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - AI Revenue Forecast & Risk Analysis1

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 12 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Send AI revenue forecast alerts from HubSpot via Gmail, Slack and Sheets
Complexity intermediate
Nodes 14
Categories CRM, AI Summarization
Author Avkash Kakdiya
Published 13 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12674/12674.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Send AI revenue forecast alerts from HubSpot via Gmail, Slack and Sheets do?

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM, AI Summarization use case.