Templates / Google Maps business scraper & lead enricher with Bright Data & Google Gemini

Google Maps business scraper & lead enricher with Bright Data & Google Gemini

Needs changes

by Ranjan Dailata ✓ · 8,297 views · created 2025-06-29 · Lead Generation, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 20 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Gemini Chat Model, Google Sheets and Mcp (community). It also calls api.brightdata.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set input fields (Edit Fields (Set)): sets 6 fields: url, webhook_notification_url, search…
  2. Perform Bright Data Web Request (HTTP Request): calls api.brightdata.com (POST)
  3. Google Maps Data Extractor (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Structured Output Parser
  4. Code: runs custom JavaScript code
  5. Create a binary data for Structured Data Extract (Function): runs custom JavaScript (legacy Function node)
  6. Initiate a Webhook Notification for Structured Data (HTTP Request): calls an HTTP API
  7. Update Google Sheets for Structured Data (Google Sheets): append or update
  8. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  9. Write the structured content to disk (Read/Write Files from Disk): writes a file to disk
  10. Wait: pauses before continuing

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

Services it uses

Google Gemini Chat ModelGoogle SheetsMcp (community)

HTTP calls to: api.brightdata.com

Before you upgrade to n8n 3.0

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

  • Function (legacy) in Create a binary data for Structured Data Extract, Create a binary data for Structured Data Extract for Yelp: replace with Code node, mode 'Run Once for All Items'.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
Function (legacy)
Create a binary data for Structured Data Extract, Create a binary data for Structured Data Extract for Yelp
Code node, mode 'Run Once for All Items'

Nodes used (13)

From the author

Notice Community nodes can only be installed on self-hosted instances of n8n. Description This workflow automates the process of scraping local business data from Google Maps and enriching it using AI to generate lead profiles. It's designed to help sales,…

Excerpt from Ranjan Dailata'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.