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

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

Needs changes

by Cyril Nicko Gaspar ✓ · 5,894 views · created 2025-06-02 · Lead Generation, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 39 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). Along the way it connects Google Sheets, OpenAI Chat Model, MCP Client and OpenAI and 1 more.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).

  1. Split Out: splits a list into separate items
  2. HubSpot: get
  3. Google Sheets: uses Google Sheets
  4. Filter: keeps only the items that match a condition
  5. Google Sheets: append
  6. Process each leads one by one (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Remove unneccessary fields for the prompt (Edit Fields (Set)): sets or maps fields
  8. Scraper AI Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Bright Data MCP Client); output parser: Auto-fixing Output Parser
  9. Switch: routes items into 3 branches
  10. Merge: merges the data from its input branches

…plus 17 more steps. See the full node list below.

Services it uses

Google SheetsOpenAI Chat ModelMCP ClientOpenAIHubSpot

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Scraper AI Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Scraper AI Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (21)

From the author

📌 HubSpot Lead Enrichment with Bright Data MCP 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…

Excerpt from Cyril Nicko Gaspar's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.