Skip to main content

Automatically close cold HubSpot deals with Gmail feedback & Slack notifications

Workflow preview

Workflow preview
100%
Automatically close cold HubSpot deals with Gmail feedback & Slack notifications preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

How it works This workflow identifies HubSpot deals that have gone untouched for 21+ days and automatically updates their status to Closed Lost. It fetches associated contacts, retrieves their deta...

Best for

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

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.hubspot, n8n-nodes-base.code, n8n-nodes-base.filter, n8n-nodes-base.httprequest, n8n-nodes-base.gmail, n8n-nodes-base.slack, n8n-nodes-base.stickynote

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
Automatically close cold HubSpot deals with Gmail feedback & Slack notifications
Workflow name
Automatically close cold HubSpot deals with Gmail feedback & Slack notifications

How it works

This workflow identifies HubSpot deals that have gone untouched for 21+ days and automatically updates their status to Closed Lost. It fetches associated contacts, retrieves their details, and sends personalized follow-up emails requesting feedback. Finally, it notifies your team via Slack about the deals moved to Closed Lost. The workflow runs on a scheduled interval, ensuring consistent lead management without manual intervention.

Step-by-step

1. Trigger the workflow

  • Schedule Trigger – Runs the workflow at a defined interval (daily, weekly, etc.).
  • Get HubSpot Deals – Retrieves all deals with key properties from HubSpot.
  • Extract Deal Fields – Normalizes deal data for consistent processing.

2. Identify and update cold deals

  • Filter Cold Leads (21+ days) – Keeps only deals not updated in the past 21 days.
  • Update Deal to Closed Lost – Marks stale deals as Closed Lost in HubSpot.

3. Map deals to contacts

  • Fetch Deal Associations – Retrieves contacts linked to filtered deals.
  • Extract Contact IDs – Parses associations to get contactId, dealId, and dealName.
  • Get Contact Details – Fetches enriched contact information.
  • Extract Contact Email – Simplifies data, keeping only the email field.

4. Follow-up & team notification

  • Send Gmail Feedback Request – Sends a personalized thank-you email requesting feedback.
  • Send Slack Notification – Alerts the team about deals updated to Closed Lost.

Why use this?

  • Ensures timely closure of stale HubSpot deals, keeping your pipeline clean.
  • Automates follow-up emails to gather valuable feedback from disengaged leads.
  • Reduces manual effort in deal management and contact outreach.
  • Keeps your team informed in real-time with Slack notifications.
  • Improves sales process efficiency and lead data hygiene.

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

Block 2 - Get HubSpot Deals

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

Block 3 - Extract Deal Fields

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

Block 4 - Filter Cold Leads (21+ days)

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

Block 5 - Update Deal to Closed Lost

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

Block 6 - Fetch Deal Associations

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Extract Contact IDs

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

Block 8 - Get Contact Details

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

Block 9 - Extract Contact Email

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

Block 10 - Send Gmail Feedback Request

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

Block 11 - Send Slack Notification

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

Block 12 - Sticky Note

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

Block 13 - Sticky Note1

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

Block 14 - Sticky Note2

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

Block 15 - Sticky Note3

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

3. Summary Table

Workflow Automatically close cold HubSpot deals with Gmail feedback & Slack notifications
Complexity advanced
Nodes 15
Categories Lead Nurturing
Author Avkash Kakdiya
Published 30 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9096/9096.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 Automatically close cold HubSpot deals with Gmail feedback & Slack notifications do?

How it works This workflow identifies HubSpot deals that have gone untouched for 21+ days and automatically updates their status to Closed Lost. It fetches associated contacts, retrieves their deta...

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