Skip to main content

Re-engage stalled HubSpot deals with OpenAI, Gmail, Slack, and Google Sheets

Workflow preview

Workflow preview
100%
Re-engage stalled HubSpot deals with OpenAI, Gmail, Slack, and Google Sheets preview
Open on n8n.io

1. Workflow Overview

Quick overview This workflow runs every weekday morning to find HubSpot deals with no recent activity, uses OpenAI to generate a personalized re engagement email, sends it via Gmail, logs the outco...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.hubspot, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.gmail

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
Re-engage stalled HubSpot deals with OpenAI, Gmail, Slack, and Google Sheets
Workflow name
Re-engage stalled HubSpot deals with OpenAI, Gmail, Slack, and Google Sheets

Quick overview

This workflow runs every weekday morning to find HubSpot deals with no recent activity, uses OpenAI to generate a personalized re-engagement email, sends it via Gmail, logs the outcome to Google Sheets, and notifies your team in Slack with per-deal alerts and a daily digest.

How it works

  1. Runs on a weekday schedule at 08:00 and retrieves all open deals from HubSpot.
  2. Calculates days since the last deal activity and keeps only deals stalled for 7 days or more.
  3. Checks whether each stalled deal has an associated HubSpot contact and logs deals without a contact to Google Sheets as skipped.
  4. Fetches the associated contact from HubSpot, verifies an email address exists, and logs deals without an email to Google Sheets as skipped.
  5. Sends the deal and contact context to OpenAI to generate a JSON email subject and body, then parses the result into fields.
  6. Sends the re-engagement email to the contact via Gmail, adds a note to the HubSpot deal, posts a Slack alert to the sales channel, and appends the action to Google Sheets.
  7. Builds a run summary (re-engaged vs skipped) and posts a single daily digest message to Slack.

Setup

  1. Add credentials for HubSpot, OpenAI, Gmail, Slack, and Google Sheets in n8n.
  2. Replace REPLACE_WITH_YOUR_SHEET_ID with your Google Sheet document ID and ensure the target sheet name (for example, Sheet1) exists.
  3. Create the Google Sheet columns used for logging (Date, Deal Name, Contact Email, Stage, Days Stalled, Email Sent, Slack Notified, Status).
  4. Update the Slack channel names/IDs for the sales notifications (for example, sales-team) and the error channel (for example, n8n-errors).

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 - Main Overview Note

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

Block 2 - Step 1 Note

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

Block 3 - Step 2 Validation Note

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

Block 4 - Step 3 Note

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

Block 5 - Step 4 Note

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

Block 6 - Step 5 Digest Note

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

Block 7 - Error Handler Note

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

Block 8 - Schedule Trigger

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

Block 9 - Get All Open Deals

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

Block 10 - Filter Stalled Deals

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

Block 11 - Has Associated Contact?

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

Block 12 - Log Skipped — No Contact

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

Block 13 - Get Deal Contact

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

Block 14 - Has Valid Email?

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

Block 15 - Log Skipped — No Email

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

Block 16 - Generate Re-Engagement Email

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.4

Block 17 - Parse AI Email

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

Block 18 - Send Re-Engagement Email

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

Block 19 - Log Note on HubSpot Deal

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

Block 20 - Slack Alert to Sales Team

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

Block 21 - Log to Google Sheet

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

Block 22 - Build Daily Digest

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

Block 23 - Send Daily Digest to Slack

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

Block 24 - Error Alert to Slack

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

3. Summary Table

Workflow Re-engage stalled HubSpot deals with OpenAI, Gmail, Slack, and Google Sheets
Complexity advanced
Nodes 24
Categories Lead Nurturing, Multimodal AI
Author Avkash Kakdiya
Published 03 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16077/16077.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 OpenAI, Gmail, Slack, and Google Sheets do?

Quick overview This workflow runs every weekday morning to find HubSpot deals with no recent activity, uses OpenAI to generate a personalized re engagement email, sends it via Gmail, logs the outco...

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.