Skip to main content

Automate sales pipeline with HubSpot CRM, ScrapeGraphAI & Google Sheets dashboard

Workflow preview

Workflow preview
100%
Automate sales pipeline with HubSpot CRM, ScrapeGraphAI & Google Sheets dashboard preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Sales Pipeline Automation Dashboard with AI Lead Intelligence Target Audience Sales managers and team leads Business development representatives Marketing teams managing lead generation CRM admi...

Best for

  • CRM automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.webhook, n8n-nodes-scrapegraphai.scrapegraphai, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.hubspot, n8n-nodes-base.sendemail, 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 vinci-king-01.

Original n8n.io source

1.1 Workflow description

Title
Automate sales pipeline with HubSpot CRM, ScrapeGraphAI & Google Sheets dashboard
Workflow name
Automate sales pipeline with HubSpot CRM, ScrapeGraphAI & Google Sheets dashboard

Sales Pipeline Automation Dashboard with AI Lead Intelligence

🎯 Target Audience

  • Sales managers and team leads
  • Business development representatives
  • Marketing teams managing lead generation
  • CRM administrators and sales operations
  • Account executives and sales representatives
  • Sales enablement professionals
  • Revenue operations (RevOps) teams

πŸš€ Problem Statement

Manual lead qualification and sales pipeline management is inefficient and often leads to missed opportunities or poor lead prioritization. This template solves the challenge of automatically scoring, qualifying, and routing leads using AI-powered intelligence to maximize conversion rates and sales team productivity.

πŸ”§ How it Works

This workflow automatically processes new leads using AI-powered intelligence, scores and qualifies them based on multiple factors, and automates the entire sales pipeline from lead capture to deal creation.

Key Components

  1. Dual Trigger System - Scheduled monitoring and webhook triggers for real-time lead processing
  2. AI-Powered Lead Intelligence - Advanced scoring algorithm based on 7 key factors
  3. Multi-Source Data Enrichment - LinkedIn and Crunchbase integration for comprehensive lead profiles
  4. Automated Sales Actions - Intelligent routing, task creation, and follow-up sequences
  5. Multi-Platform Integration - HubSpot CRM, Slack notifications, and Google Sheets dashboard

πŸ“Š Google Sheets Column Specifications

The template creates the following columns in your Google Sheets:

Column Data Type Description Example
timestamp DateTime When the lead was processed "2024-01-15T10:30:00Z"
lead_id String Unique lead identifier "LEAD-2024-001234"
first_name String Lead's first name "John"
last_name String Lead's last name "Smith"
email String Lead's email address "[email protected]"
company_name String Company name "Acme Corp"
job_title String Lead's job title "Marketing Director"
lead_score Number AI-calculated score (0-100) 85
grade String Lead grade (A+, A, B+, B, C+) "A+"
category String Lead category "Enterprise"
priority String Priority level "Critical"
lead_source String How the lead was acquired "Website Form"
assigned_rep String Assigned sales representative "Senior AE"
company_size String Company employee count "201-500 employees"
industry String Company industry "Technology"
funding_stage String Company funding stage "Series B"
estimated_value String Estimated deal value "$50K-100K"

πŸ› οΈ Setup Instructions

Estimated setup time: 25-30 minutes

Prerequisites

  • n8n instance with community nodes enabled
  • ScrapeGraphAI API account and credentials
  • HubSpot CRM account with API access
  • Google Sheets account with API access
  • Slack workspace for notifications (optional)
  • Email service for welcome emails (optional)

Step-by-Step Configuration

1. Install Community Nodes
# Install required community nodes
npm install n8n-nodes-scrapegraphai
npm install n8n-nodes-slack
2. Configure ScrapeGraphAI Credentials
  • Navigate to Credentials in your n8n instance
  • Add new ScrapeGraphAI API credentials
  • Enter your API key from ScrapeGraphAI dashboard
  • Test the connection to ensure it's working
3. Set up HubSpot CRM Integration
  • Add HubSpot API credentials
  • Grant necessary permissions for contacts, deals, and tasks
  • Configure custom properties for lead scoring and qualification
  • Test the connection to ensure it's working
4. Set up Google Sheets Connection
  • Add Google Sheets OAuth2 credentials
  • Grant necessary permissions for spreadsheet access
  • Create a new spreadsheet for sales pipeline data
  • Configure the sheet name (default: "Sales Pipeline")
5. Configure Lead Scoring Parameters
  • Update the lead scoring weights in the Code node
  • Customize ideal customer profile criteria
  • Set automation trigger thresholds
  • Adjust sales rep assignment logic
6. Set up Notification Channels
  • Configure Slack webhook or API credentials
  • Set up email service credentials for welcome emails
  • Define notification preferences for different lead grades
  • Test notification delivery
7. Configure Triggers
  • Set up webhook endpoint for real-time lead capture
  • Configure scheduled trigger for periodic monitoring
  • Choose appropriate time zones for your business hours
  • Test both trigger mechanisms
8. Test and Validate
  • Run the workflow manually with sample lead data
  • Check HubSpot for proper contact and deal creation
  • Verify Google Sheets data formatting
  • Test all notification channels

πŸ”„ Workflow Customization Options

Modify Lead Scoring Algorithm

  • Adjust scoring weights for different factors
  • Add new scoring criteria (geographic location, technology stack, etc.)
  • Customize ideal customer profile parameters
  • Implement industry-specific scoring models

Extend Data Enrichment

  • Add more data sources (ZoomInfo, Apollo, etc.)
  • Include social media presence analysis
  • Add technographic data collection
  • Implement intent signal detection

Customize Sales Automation

  • Modify follow-up sequences for different lead categories
  • Add more sophisticated sales rep assignment logic
  • Implement territory-based routing
  • Add automated meeting scheduling

Output Customization

  • Add data visualization and reporting features
  • Implement sales pipeline analytics
  • Create executive dashboards with key metrics
  • Add conversion rate tracking and analysis

πŸ“ˆ Use Cases

  • Lead Qualification: Automatically score and qualify incoming leads
  • Sales Pipeline Management: Streamline the entire sales process
  • Lead Routing: Intelligently assign leads to appropriate sales reps
  • Follow-up Automation: Ensure consistent and timely follow-up
  • Sales Intelligence: Provide comprehensive lead insights
  • Performance Tracking: Monitor sales team and pipeline performance

🚨 Important Notes

  • Respect LinkedIn and Crunchbase terms of service and rate limits
  • Implement appropriate delays between requests to avoid rate limiting
  • Regularly review and update your lead scoring parameters
  • Monitor API usage to manage costs effectively
  • Keep your credentials secure and rotate them regularly
  • Ensure GDPR compliance for lead data processing

πŸ”§ Troubleshooting

Common Issues:

  • ScrapeGraphAI connection errors: Verify API key and account status
  • HubSpot API errors: Check API key and permissions
  • Google Sheets permission errors: Check OAuth2 scope and permissions
  • Lead scoring errors: Review the Code node's JavaScript logic
  • Rate limiting: Adjust request frequency and implement delays

Support Resources:

  • ScrapeGraphAI documentation and API reference
  • HubSpot API documentation and developer resources
  • n8n community forums for workflow assistance
  • Google Sheets API documentation for advanced configurations
  • Sales automation best practices and guidelines

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 - Automated Lead Monitor Trigger

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

Block 2 - CRM New Lead Webhook Trigger

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 1.1

Block 3 - AI CRM Leads Scraper

Type / Role
n8n-nodes-scrapegraphai.scrapegraphAi - scrapegraphAi
Config choices
Version 1

Block 4 - AI Company Enrichment Scraper

Type / Role
n8n-nodes-scrapegraphai.scrapegraphAi - scrapegraphAi
Config choices
Version 1

Block 5 - AI Financial Data Scraper

Type / Role
n8n-nodes-scrapegraphai.scrapegraphAi - scrapegraphAi
Config choices
Version 1

Block 6 - Lead Intelligence Processor

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

Block 7 - Lead Categorization Splitter

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

Block 8 - CRM Contact Creator

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

Block 9 - CRM Deal Creator

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

Block 10 - Welcome Email Sender

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

Block 11 - Sales Task Creator

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

Block 12 - Slack Notification Sender

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

Block 13 - Dashboard Logger

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

Block 14 - Workflow Overview

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

Block 15 - Lead Monitoring System

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

Block 16 - CRM Data Extraction

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

Block 17 - Data Enrichment System

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

Block 18 - Lead Intelligence Processing

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

Block 19 - Lead Categorization & Routing

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

Block 20 - CRM & Sales Automation

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

Block 21 - Team Notifications & Analytics

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

Block 22 - Setup & Configuration Guide

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

3. Summary Table

Workflow Automate sales pipeline with HubSpot CRM, ScrapeGraphAI & Google Sheets dashboard
Complexity advanced
Nodes 22
Categories CRM, AI Summarization
Author vinci-king-01
Published 25 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6432/6432.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 Automate sales pipeline with HubSpot CRM, ScrapeGraphAI & Google Sheets dashboard do?

Sales Pipeline Automation Dashboard with AI Lead Intelligence Target Audience Sales managers and team leads Business development representatives Marketing teams managing lead generation CRM admi...

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, AI Summarization use case.