Skip to main content

Re-engage stalled HubSpot deals with GPT-5-mini, Gmail, and Slack

Workflow preview

Workflow preview
100%
Re-engage stalled HubSpot deals with GPT-5-mini, Gmail, and Slack preview
Open on n8n.io

1. Workflow Overview

Who is this for This workflow is designed for Customer Success Managers and Sales Teams who manage high volume pipelines in HubSpot. If you have prospects who stop responding after the contract is ...

Best for

  • Lead Nurturing automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.hubspot, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.slack, n8n-nodes-base.gmail, n8n-nodes-base.set

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Re-engage stalled HubSpot deals with GPT-5-mini, Gmail, and Slack
Workflow name
Re-engage stalled HubSpot deals with GPT-5-mini, Gmail, and Slack

Who is this for

This workflow is designed for Customer Success Managers and Sales Teams who manage high-volume pipelines in HubSpot. If you have prospects who stop responding after the contract is sent, this automation helps you recover them without manual follow-up.

What it does

This template automatically identifies deals that have "stalled" in your pipeline (specifically in the Contract Sent stage) and initiates a personalized re-engagement sequence.

  1. Monitors Pipeline: Runs on a schedule to find deals marked as stalled in HubSpot.
  2. Smart Filtering: Identifies all associated contacts for a deal and selects the first available contact. This ensures the email goes to a real person involved in the deal.
  3. Spam Prevention: Fetches the Last Contacted date from HubSpot. If there has been any activity (call, email, meeting) in the last 7 days, the workflow skips that contact. This safety gate prevents automation from interfering with active conversations.
  4. AI Personalization: Uses GPT-5-mini (via OpenAI) to generate a helpful check-in email. The prompt is context-aware, using the contact's name and deal stage to sound personal rather than generic.
  5. Multi-Channel Sync: Sends the approved email via Gmail, alerts the internal team in Slack, and logs the email body to the HubSpot Activity Timeline.

How to set up

  1. Credentials: Connect your HubSpot, OpenAI, Slack, and Gmail accounts in n8n.
  2. Configuration: Open the Config: Setup Variables node and enter your Sender Name, Company Name, and Calendar Link.
  3. Slack Channel: Open the Slack: Notify CSM node and select the channel where you want your team to be alerted (e.g., #sales-alerts).
  4. HubSpot Settings: By default, this targets the contractsent stage. Ensure your HubSpot pipeline matches this ID.

Requirements

  • n8n (Cloud or Self-hosted)
  • HubSpot account
  • OpenAI API Key
  • Gmail & Slack accounts

How to customize the workflow

  • Target Different Stages: To re-engage leads in other phases (e.g., "Qualification" or "Onboarding"), open the HubSpot: Search Stalled Deals node and change the dealstage filter to your desired pipeline stage ID.
  • Adjust the Safety Gate: The workflow blocks emails if there has been contact in the last 7 days. To change this window (e.g., to 30 days for cold leads), open the Filter: Last Activity Check node and edit the time value in the expression.
  • Modify the AI Persona: Open the AI: Generate Email node to edit the System Prompt. You can adjust the tone (formal vs. casual), lengths constraints, or language to match your brand voice.

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 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - HubSpot: Get Associations

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

Block 3 - HubSpot: Get Email

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

Block 4 - AI: Generate Email

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

Block 5 - Model: GPT-5-mini

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 6 - Parser: Email Structure

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 7 - Slack: Notify CSM

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

Block 8 - Gmail: Send Email

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

Block 9 - Config: Setup Variables

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Sticky Note1

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

Block 11 - Sticky Note7

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

Block 12 - Sticky Note

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

Block 15 - Sticky Note8

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

Block 16 - HubSpot: Log Email

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

Block 17 - Sticky Note Actions

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

Block 18 - Code: Get Primary Contact

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

Block 19 - Filter: Last Activity Check

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

Block 20 - HubSpot: Search Stalled Deals

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

3. Summary Table

Workflow Re-engage stalled HubSpot deals with GPT-5-mini, Gmail, and Slack
Complexity advanced
Nodes 20
Categories Lead Nurturing, Multimodal AI
Author PollupAI
Published 24 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11183/11183.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 Re-engage stalled HubSpot deals with GPT-5-mini, Gmail, and Slack do?

Who is this for This workflow is designed for Customer Success Managers and Sales Teams who manage high volume pipelines in HubSpot. If you have prospects who stop responding after the contract is ...

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 Lead Nurturing, Multimodal AI use case.