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
Form Submission: Users submit a simple form with country, location, and business category parameters.
AI Validation: Google Gemini AI validates and cleans input data, ensuring proper formatting and Yelp category alignment.
Data Scraping: Bright Data's Yelp dataset API scrapes business information based on the cleaned parameters.
Status Monitoring: The workflow monitors scraping progress and waits for data completion.
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
Import Workflow: Copy the provided JSON workflow In n8n: Go to Workflows ā + Add workflow ā Import from JSON Paste the JSON and click Import
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
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
Configure Google Gemini: Add your Google Gemini API credentials Test the AI Agent connection Verify the model configuration
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!
Related Templates
Convert JSON Objects to Base64 Strings with File Processing
Encode JSON to Base64 String in n8n This example workflow demonstrates how to convert a JSON object into a base64-encod...
AI Agent with Ollama for current weather and wiki
This workflow template demonstrates how to create an AI-powered agent that provides users with current weather informati...
Automate Daily YouTrack Task Summaries to Discord by Assignee
Daily YouTrack In-Progress Tasks Summary to Discord by Assignee Keep your team in sync with a daily summary of tasks cu...
š Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments