Skip to main content

Scrape Yelp business data with Gemini AI, Bright Data & Google Sheets

Workflow preview

Workflow preview
100%
Scrape Yelp business data with Gemini AI, Bright Data & Google Sheets preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Yelp Business Finder: Scraping Local Businesses by Keyword, Category & Location Using Bright Data and Google Sheets Description: Automate local business data collection from Yelp using AI powere...

Best for

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

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.formtrigger, n8n-nodes-base.if, n8n-nodes-base.wait, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.code

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Scrape Yelp business data with Gemini AI, Bright Data & Google Sheets
Workflow name
Scrape Yelp business data with Gemini AI, Bright Data & Google Sheets

🔍 Yelp Business Finder: Scraping Local Businesses by Keyword, Category & Location Using Bright Data and Google Sheets

Description: Automate local business data collection from Yelp using AI-powered input validation, Bright Data scraping, and automatic Google Sheets integration. Perfect for market research, lead generation, and competitive analysis.

🛠️ How It Works

  1. Form Submission: Users submit a simple form with country, location, and business category parameters.

  2. AI Validation: Google Gemini AI validates and cleans input data, ensuring proper formatting and Yelp category alignment.

  3. Data Scraping: Bright Data's Yelp dataset API scrapes business information based on the cleaned parameters.

  4. Status Monitoring: The workflow monitors scraping progress and waits for data completion.

  5. Data Export: Final business data is automatically appended to your Google Sheets for easy analysis.

📋 Setup Steps

⏱️ Estimated Setup Time: 10-15 minutes

Prerequisites

✅ Active n8n instance (cloud or self-hosted) ✅ Google account with Sheets access ✅ Bright Data account with Yelp scraping dataset ✅ Google Gemini API access

Configuration Steps

  1. Import Workflow:

    • Copy the provided JSON workflow
    • In n8n: Go to Workflows → + Add workflow → Import from JSON
    • Paste the JSON and click Import
  2. Configure Google Sheets:

    • Create a new Google Sheet or use an existing one
    • Set up OAuth2 credentials in n8n
    • Update the Google Sheets node with your document ID
    • Configure column mappings for business data
  3. Setup Bright Data:

    • Add your Bright Data API credentials to n8n
    • Replace BRIGHT_DATA_API_KEY with your actual API key
    • Verify your Yelp dataset ID in the HTTP request nodes
    • Test the connection
  4. Configure Google Gemini:

    • Add your Google Gemini API credentials
    • Test the AI Agent connection
    • Verify the model configuration
  5. Test & Activate:

    • Activate the workflow using the toggle switch
    • Test with sample data: country="US", location="New York", category="restaurants"
    • Verify data appears correctly in your Google Sheet

📊 Data Output

📍 Business Name
Official business name from Yelp

⭐ Overall Rating
Average customer rating (1-5 stars)

📝 Reviews Count
Total number of customer reviews

🏷️ Categories
Business categories and tags

🌐 Website URL
Official business website

📞 Phone Number
Contact phone number

📍 Address
Full business address

🔗 Yelp URL
Direct link to Yelp listing

🎯 Use Cases

🔍 Market Research
Analyze local business landscapes and competition

📈 Lead Generation
Build prospect lists for B2B outreach

🏪 Location Analysis
Research business density by area and category

📊 Competitive Intelligence
Monitor competitor ratings and customer feedback

⚠️ Important Notes:

  • Ensure you comply with Yelp's terms of service and rate limits
  • Bright Data usage may incur costs based on your plan
  • AI validation helps improve data quality and reduce errors
  • Monitor your Google Sheets for data accuracy

🔧 Troubleshooting

Common Issues:

  • API Rate Limits: Implement delays between requests if needed
  • Invalid Categories: AI agent helps standardize category names
  • Empty Results: Verify location spelling and category alignment
  • Authentication Errors: Check all API credentials and permissions

🚀 Ready to start scraping Yelp business data efficiently!

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 - Fetch Snapshot Results

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - On Form Submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 3 - Check Delivery Status of Snapshot ID

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Check Final Status

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

Block 5 - Wait 1 Minute

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

Block 6 - Google Sheets - Save Business Data

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

Block 7 - AI Agent - Validate Input

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

Block 8 - Google Gemini Chat Model

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

Block 9 - Format AI Response for Scraper

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

Block 10 - Yelp Data Scraper - Bright Data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Sticky Note - Form Trigger

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

Block 12 - Sticky Note - AI Validation

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

Block 13 - Sticky Note - AI Model

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

Block 14 - Sticky Note - Format Response

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

Block 15 - Sticky Note - Data Scraper

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

Block 16 - Sticky Note - Status Check

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

Block 17 - Sticky Note - Wait Timer

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

Block 18 - Sticky Note - Final Status

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

Block 19 - Sticky Note - Fetch Results

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

Block 20 - Sticky Note - Save Data

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

3. Summary Table

Workflow Scrape Yelp business data with Gemini AI, Bright Data & Google Sheets
Complexity advanced
Nodes 20
Categories Lead Generation, AI Summarization
Author Bright Data
Published 10 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4844/4844.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 Yelp business data with Gemini AI, Bright Data & Google Sheets do?

Yelp Business Finder: Scraping Local Businesses by Keyword, Category & Location Using Bright Data and Google Sheets Description: Automate local business data collection from Yelp using AI powere...

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.