Skip to main content

Route low-scoring HubSpot leads with Slack, Gmail and Google Sheets

Workflow preview

Workflow preview
100%
Route low-scoring HubSpot leads with Slack, Gmail and Google Sheets preview
Open on n8n.io

1. Workflow Overview

Quick overview This workflow runs hourly to find HubSpot contacts whose lead score drops below a threshold, deduplicates alerts using Google Sheets, notifies the owner via Slack, creates a HubSpot ...

Best for

  • CRM 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.googlesheets, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.slack, 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
Route low-scoring HubSpot leads with Slack, Gmail and Google Sheets
Workflow name
Route low-scoring HubSpot leads with Slack, Gmail and Google Sheets

Quick overview

This workflow runs hourly to find HubSpot contacts whose lead score drops below a threshold, deduplicates alerts using Google Sheets, notifies the owner via Slack, creates a HubSpot follow-up task, sends a re-engagement email with Gmail, and logs alert activity back to Google Sheets.

How it works

  1. Runs every hour on a schedule.
  2. Pulls contacts from HubSpot and compares them against a Google Sheets “Alert Dedup Log” to skip anyone alerted within the last 24 hours while flagging contacts with a HubSpot score under 50.
  3. Looks up each contact’s owner in HubSpot and builds an alert payload including urgency (CRITICAL under 20 vs WARNING under 50) and the target Slack channel.
  4. Posts the alert to Slack in the appropriate channel (urgent vs standard) and sends a Slack DM to the contact owner.
  5. Creates a follow-up task in HubSpot for the at-risk contact and sends the contact a re-engagement email via Gmail.
  6. Logs the alert details to a Google Sheets “Lead Score Alerts” tab and updates the dedup log with the contact ID and last-alerted timestamp.

Setup

  1. Connect your HubSpot OAuth2, Slack OAuth2, and Gmail credentials in n8n.
  2. Add a Google Sheets Service Account credential and share the target spreadsheet with the service account email.
  3. Replace REPLACE_WITH_YOUR_SHEET_ID with your Google Sheets document ID in both Google Sheets nodes.
  4. Create two sheet tabs named “Lead Score Alerts” and “Alert Dedup Log” with columns that match the fields written/read (including contact_id and last_alerted for deduplication).
  5. Update the Slack channel names (sales-urgent and sales-alerts) and adjust the score thresholds in the code step if your team uses different criteria.

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 - Sticky Note — Overview

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

Block 2 - Sticky Note — Step 1

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

Block 3 - Sticky Note — Step 2

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

Block 4 - Sticky Note — Step 3

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

Block 5 - Sticky Note — Step 4

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

Block 6 - Schedule Trigger

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

Block 7 - HubSpot — Get Low Score Contacts

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

Block 8 - Google Sheets — Read Dedup Log

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

Block 9 - Code — Deduplicate & Enrich

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

Block 10 - IF — Any Contacts Left?

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

Block 11 - HubSpot — Get Contact Owner

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

Block 12 - Code — Merge Owner & Build Alert

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

Block 13 - IF — Critical or Warning?

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

Block 14 - Slack — Critical Alert to Channel

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

Block 15 - Slack — Warning Alert to Channel

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

Block 16 - Slack — DM to Contact Owner

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

Block 17 - HubSpot — Create Follow-Up Task

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

Block 18 - Gmail — Re-Engagement Email to Contact

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

Block 19 - Google Sheets — Log Alert

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

Block 20 - Google Sheets — Update Dedup Log

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

Block 21 - Slack — Error Alert to Admin

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

Block 22 - Code — No New Contacts (Exit)

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

3. Summary Table

Workflow Route low-scoring HubSpot leads with Slack, Gmail and Google Sheets
Complexity advanced
Nodes 22
Categories CRM
Author Avkash Kakdiya
Published 28 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16003/16003.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 Route low-scoring HubSpot leads with Slack, Gmail and Google Sheets do?

Quick overview This workflow runs hourly to find HubSpot contacts whose lead score drops below a threshold, deduplicates alerts using Google Sheets, notifies the owner via Slack, creates a HubSpot ...

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