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.

n8nRead on 2026-11-167 steps

Steps

  1. Trigger: Deal stage changeHubSpot
    HubSpot trigger, filtered on the deal stage.
  2. Get the dealHubSpot
    Full deal record and the AI prompt.
  3. SummarizeOpenAI
    Stage-change summary with two next steps.
  4. Output: Post to SlackSlack
    The summary goes to a channel.
  5. Output: LogGoogle Sheets
    Appends a structured log entry.
  6. Output: Won or lostGmail
    Gmail congratulations or Slack loss alert.
  7. 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