Skip to main content

Analyze pipeline velocity & alert stuck deals with GoHighLevel, Gmail & Slack

Workflow preview

Workflow preview
100%
Analyze pipeline velocity & alert stuck deals with GoHighLevel, Gmail & Slack preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Description Automate your GoHighLevel (GHL) pipeline tracking and deal management process. This workflow fetches all opportunities, calculates the time spent in each stage, logs historical pipeline...

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.highlevel, n8n-nodes-base.code, n8n-nodes-base.googlesheets, n8n-nodes-base.if, n8n-nodes-base.gmail, n8n-nodes-base.slack

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Analyze pipeline velocity & alert stuck deals with GoHighLevel, Gmail & Slack
Workflow name
Analyze pipeline velocity & alert stuck deals with GoHighLevel, Gmail & Slack

Description

Automate your GoHighLevel (GHL) pipeline tracking and deal management process. This workflow fetches all opportunities, calculates the time spent in each stage, logs historical pipeline data in Google Sheets, identifies deals stuck for more than 7 days, generates HTML and text reports, and sends alerts via Gmail and Slack. It also produces a weekly pipeline velocity report for sales leadership, helping teams quickly spot bottlenecks and optimize pipeline performance. πŸš€πŸ“ŠπŸ“ˆπŸ“§πŸ’¬

What This Template Does

  • Triggers automatically every Monday at 8 AM ⏰
  • Fetches all opportunities and stage history from GoHighLevel pipelines πŸ”
  • Calculates days spent in each stage, including historical and current stages πŸ“…
  • Logs historical pipeline data in Google Sheets for trend tracking πŸ“Š
  • Filters deals stuck in a stage for more than 7 days ⚠️
  • Generates detailed HTML and text stuck deal alert emails βœ‰οΈ
  • Sends Slack notifications for stuck deals πŸ’¬
  • Generates weekly pipeline velocity report showing bottleneck and fastest stages πŸ“ˆ
  • Sends weekly report via Gmail to sales leadership πŸ†
  • Sends error notifications via Gmail in case of workflow failures 🚨

Key Benefits

  • Saves time by automating pipeline tracking and reporting ⏱️
  • Provides visibility into pipeline bottlenecks and stuck deals πŸ”
  • Maintains historical data for trend analysis and decision-making πŸ“Š
  • Ensures consistent reporting to sales leadership and management 🀝
  • Automates notifications for timely action on stuck deals ⚑
  • Reduces manual errors and improves sales process efficiency 🧹

Features

  • Weekly trigger for automated execution πŸ“†
  • GHL API integration to fetch opportunities and stage history ⚑
  • Code node to calculate stage durations and transform data πŸ› οΈ
  • Google Sheets automation for historical data storage πŸ“‚
  • If nodes to filter deals and handle errors βœ…
  • Automated Gmail and Slack alerts for stuck deals βœ‰οΈπŸ’¬
  • Weekly report generation with HTML and text formats πŸ“Š
  • Bottleneck and fastest stage identification for actionable insights πŸ”Ž
  • Error handling and notification for workflow reliability 🚨

Requirements

  • n8n instance (cloud or self-hosted)
  • GoHighLevel account with API access πŸ”‘
  • Google Workspace (Sheets, Gmail) πŸ“Š
  • Slack workspace with Bot Token & channel access πŸ’¬

Target Audience

  • Sales managers & teams using GoHighLevel for pipeline tracking 🏒
  • Operations teams seeking visibility into deal progress πŸ’Ό
  • Leadership wanting automated weekly pipeline performance reports πŸ“ˆ
  • Agencies managing multiple deals and pipelines efficiently πŸš€
  • Teams aiming to quickly identify bottlenecks and stuck deals ⚑

Step-by-Step Setup Instructions

  • Configure n8n schedule trigger β†’ Set to run every Monday at 8 AM.
  • Connect GoHighLevel OAuth2 credentials β†’ Ensure access to opportunities & pipeline data.
  • Connect Google Sheets OAuth2 β†’ Select document ID & sheet tab for logging data.
  • Configure Gmail OAuth2 β†’ Replace hardcoded email addresses with intended recipients.
  • Connect Slack API β†’ Select channel for stuck deal notifications.
  • Update stuck deal threshold in β€œFilter Stuck Deals” node (default 7 days).
  • Import workflow into n8n β†’ Map credentials and test nodes sequentially.
  • Enable workflow β†’ Pipeline velocity tracking, stuck deal alerts, and weekly reports are fully automated. βœ…

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

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

Block 2 - Sticky Note1

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

Block 3 - Sticky Note2

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

Block 4 - Sticky Note3

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

Block 5 - Sticky Note4

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

Block 6 - Sticky Note5

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

Block 7 - Sticky Note6

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

Block 8 - Sticky Note7

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

Block 9 - Sticky Note8

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

Block 10 - Sticky Note9

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

Block 11 - Weekly Trigger - Monday 8AM

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

Block 12 - Fetch GHL Pipeline Data

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

Block 13 - Transform Stage Data

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

Block 14 - Log to Google Sheets

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

Block 15 - Filter Stuck Deals (7+ Days)

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

Block 16 - Calculate Stage Metrics

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

Block 17 - Generate Weekly Report

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

Block 18 - Generate Stuck Deal Alert

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

Block 19 - Send Stuck Deal Alert

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

Block 20 - Send Weekly Report Email

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

Block 21 - Send a message

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

Block 22 - Sticky Note10

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

Block 23 - Send Error Alert

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

Block 24 - If

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

Showing the first 24 of 25 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Analyze pipeline velocity & alert stuck deals with GoHighLevel, Gmail & Slack
Complexity advanced
Nodes 25
Categories CRM
Author Rahul Joshi
Published 01 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9143/9143.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 Analyze pipeline velocity & alert stuck deals with GoHighLevel, Gmail & Slack do?

Description Automate your GoHighLevel (GHL) pipeline tracking and deal management process. This workflow fetches all opportunities, calculates the time spent in each stage, logs historical pipeline...

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.