Skip to main content

Scrape local business directories with Bright Data & OpenAI for lead generation

Workflow preview

Workflow preview
100%
Scrape local business directories with Bright Data & OpenAI for lead generation preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This workflow contains community nodes that are only compatible with the self hosted version of n8n. This workflow automatically scrapes local business directories (Yelp, Yellow Pages, Google Maps,...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-mcp.mcpclienttool, n8n-nodes-base.gmail, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.outputparserautofixing

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Scrape local business directories with Bright Data & OpenAI for lead generation
Workflow name
Scrape local business directories with Bright Data & OpenAI for lead generation

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

This workflow automatically scrapes local business directories (Yelp, Yellow Pages, Google Maps, etc.) to build a structured database of prospects. Stop copying listings by hand—get fresh leads delivered straight to Google Sheets.

Overview

Using Bright Data, the automation fetches business names, contact details, ratings, and categories for a given city or ZIP code. OpenAI cleans and normalizes the data, while duplicate detection ensures each business appears only once. The result is emailed as a CSV and stored in Sheets for easy filtering.

Tools Used

  • n8n – Workflow orchestration
  • Bright Data – Handles large-scale directory scraping
  • OpenAI – Performs entity cleanup and deduplication
  • Google Sheets – Houses the resulting lead list
  • Gmail – Sends the CSV file to your inbox

How to Install

  1. Import the Workflow: Load the .json into n8n.
  2. Configure Bright Data: Add your credentials.
  3. Set Up OpenAI: Enter your API key.
  4. Connect Google Sheets & Gmail: Authorize both integrations.
  5. Customize Locations & Categories: Adjust parameters in the Start node.

Use Cases

  • Local Lead Generation: Build outreach lists for agencies or SaaS.
  • Market Research: Analyze density of businesses in a region.
  • Franchise Expansion: Identify potential partners within a territory.
  • Startup Sales: Discover SMBs that match your ICP.

Connect with Me

#n8n #automation #webscraping #localbusiness #brightdata #leadgeneration #n8nworkflow #nocode #businessdirectories #openai

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 - 🔘 Trigger: Manual Execution

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

Block 2 - 🔗 Set Yelp Business URL for Dr

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - 🤖 Agent: Scrape Yelp Business Info

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 4 - 💬 AI Model: Process Data

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 5 - 🌐 Bright Data MCP Client

Type / Role
n8n-nodes-mcp.mcpClientTool - mcpClientTool
Config choices
Version 1

Block 6 - 📧 Send Partnership Proposal to Business Email

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

Block 7 - Sticky Note

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

Block 8 - Sticky Note1

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

Block 9 - Sticky Note2

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

Block 10 - Sticky Note3

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

Block 11 - Sticky Note5

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

Block 12 - Sticky Note9

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

Block 13 - Auto-fixing Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserAutofixing - outputParserAutofixing
Config choices
Version 1

Block 14 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 15 - 📝 Parse Scraped Data into JSON1

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

3. Summary Table

Workflow Scrape local business directories with Bright Data & OpenAI for lead generation
Complexity advanced
Nodes 15
Categories Lead Generation, AI Summarization
Author Yaron Been
Published 13 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5971/5971.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 Scrape local business directories with Bright Data & OpenAI for lead generation do?

This workflow contains community nodes that are only compatible with the self hosted version of n8n. This workflow automatically scrapes local business directories (Yelp, Yellow Pages, Google Maps,...

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