HubSpot deal stage alerts in Slack
Posts an AI summary to Slack on each deal stage change. This n8n template starts when a HubSpot deal property changes and continues only when that property is the deal stage. It retrieves the full deal record and asks OpenAI, with a model you select, for a three to four sentence stage-change summary with two next steps. The summary is posted to Slack and logged in Google Sheets. Closed Won deals trigger a Gmail congratulations email, Closed Lost deals a Slack loss alert with the loss reason, and a note is added to the deal in HubSpot.
Steps
- Trigger: Deal stage changeHubSpot
HubSpot trigger, filtered on the deal stage. - Get the dealHubSpot
Full deal record and the AI prompt. - SummarizeOpenAI
Stage-change summary with two next steps. - Output: Post to SlackSlack
The summary goes to a channel. - Output: LogGoogle Sheets
Appends a structured log entry. - Output: Won or lostGmail
Gmail congratulations or Slack loss alert. - Output: Note on the dealHubSpot
Creates and associates a HubSpot note.
Limits
- No model is named; you pick one in the OpenAI node.
- HubSpot needs two credentials: the trigger and HTTP header auth.
What it does well
- Each stage change also leaves a note on the HubSpot deal.
Before you import
Add a HubSpot trigger credential and an HTTP header auth credential for HubSpot API calls, then connect OpenAI, Slack, Gmail and Google Sheets and pick a model in the OpenAI node.
Similar templates
Jotform lead scoring with Gemini
Also for sales and leads, 6 steps.
Real estate lead scoring with OpenAI
Also for sales and leads, 4 steps.
Sheets lead scoring to HighLevel CRM
Also for sales and leads, 7 steps.
Gmail and OpenAI: 29 templates compared
Same two apps, different steps.
Google Sheets and OpenAI: 24 templates compared
Same two apps, different steps.
Gmail and Google Sheets: 22 templates compared
Same two apps, different steps.
Gmail and Slack: 18 templates compared
Same two apps, different steps.
OpenAI and Slack: 17 templates compared
Same two apps, different steps.
Google Sheets and Slack: 16 templates compared
Same two apps, different steps.
HubSpot and Slack: 4 templates compared
Same two apps, different steps.
Gmail and HubSpot: 3 templates compared
Same two apps, different steps.
HubSpot and OpenAI: 3 templates compared
Same two apps, different steps.
Google Sheets and HubSpot: 2 templates compared
Same two apps, different steps.
Notify a team
Other templates that do this task.