🎣 AI-powered lead enrichment with Bright Data MCP and Google Sheets

5,280 views · 🎣 Lead Generation & Enrichment

💡 Pro Tip — For lead enrichment, ScraperNode can pull LinkedIn profiles, company data, and job listings directly into your pipeline — useful for building prospect lists without manual research.

View All Scrapers

Description

📌 HubSpot Lead Enrichment with Bright Data MCP

Screenshot 20250603 at 1.24.49 PM.png

This template enables natural-language-driven automation using Bright Data’s MCP tools, triggered directly by new leads in HubSpot. It dynamically extracts and executes the right tool based on lead context—powered by AI and configurable in N8N.


❓ What Problem Does This Solve?

Manual lead enrichment is slow, inconsistent, and drains valuable time. This solution automates the process using a no-code workflow that connects HubSpot, Bright Data MCP, and an AI agent—without requiring scripts or technical skills. Perfect for marketing, sales, and RevOps teams.


🧰 Prerequisites

To use this template, you’ll need:


⚙️ Setup Instructions

1. Set Up Authentication in HubSpot

🔐 Option 1: Use a Private App Token (Simple Setup)

  1. Log in to your HubSpot account.
  2. Navigate to Settings → Integrations → Private Apps.
  3. Create a new Private App with the following scopes:
    • crm.objects.contacts.read
    • crm.objects.contacts.write
    • crm.schemas.contacts.read
    • crm.objects.companies.read (optional)
  4. Copy the Access Token.
  5. In N8N, create a credential for HubSpot App Token and paste the app token in the field.
  6. Go back to Hubspot Private App settings to setup a webhook.
    • Copy the url in your workflow’s Webhook node and paste it here.

🔁 Option 2: Use OAuth (Advanced + Secure)

  1. In HubSpot, go to Settings → Integrations → Apps → Create App.
  2. Set your Redirect URL to match your N8N OAuth2 redirect path.
  3. Choose scopes like:
    • crm.objects.companies.read
    • crm.objects.contacts.read
    • crm.objects.deals.read
    • crm.schemas.companies.read
    • crm.schemas.contacts.read
    • crm.schemas.deals.read
    • crm.objects.contacts.write (conditionally required)
  4. Note the Client ID and Client Secret.
  5. Copy the App ID and the developer API key
  6. In N8N, create a credential for HubSpot Developer API and paste those info from previous step.
  7. Attach these credentials to the HubSpot node in N8N.

2. Setup and obtain API token and other necessary information from Bright Data

In your Bright Data account, obtain the following information:


3. Host SSE server from STDIO command

The methods below will allow you to receive SSE (Server-Sent Events) from Bright Data MCP via a local Supergateway or Smithery


Method 1: Run Supergateway in a separate web service (Recommended)

This method will work for both cloud version and self-hosted N8N.

Signup to any cloud services of your choice (DigitalOcean, Heroku, Hetzner, Render, etc.).

For NPM based installation:
For Docker based installation:

For more installation guides, please refer to https://github.com/supercorp-ai/supergateway.git.


Method 2: Run Supergateway in the same web service as the N8N instance

This method will only work for self-hosted N8N.

a. Set Required Environment Variables

In your server’s settings to define environment variables or .env file, add:

API_TOKEN=your_brightdata_api_token
WEB_UNLOCKER_ZONE=optional_zone_name
BROWSER_ZONE=optional_browser_zone_name
b. Run Supergateway in Background
npx -y supergateway --stdio "npx -y @brightdata/mcp" --port 8000 --baseUrl http://localhost:8000 --ssePath /sse --messagePath /message

Use the command above to execute it through the cloud shell or set it as a pre-deploy command.

Your SSE server should now be accessible at:
http://localhost:8000/sse

For more installation guides, please refer to https://github.com/supercorp-ai/supergateway.git.


Method 3: Configure via Smithery.ai (Easiest) If you don’t want additional setup and want to test it right away, follow these instructions:

Visit https://smithery.ai/server/@luminati-io/brightdata-mcp/tools to:

4. Connect Google Sheets to N8N


5. Import and Configure the N8N Workflow


🔄 How It Works


🧩 Use Cases


🛠️ Customization


✅ Summary

This template turns a Google Sheet into an AI-powered lead enrichment engine. By combining Bright Data’s tools with a natural language AI agent, your team can automate repetitive tasks and scale lead ops—without writing code.

Just add a row, and let the workflow do the rest.

🔗 Nodes Used

Google Sheets, Webhook, HubSpot, HubSpot Trigger, Google Sheets Trigger, Filter

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup