Extract & Summarize Yelp Business Review with Bright Data and Google Gemini

Extracts and summarizes Yelp business reviews using Bright Data and Google Gemini, providing structured insights and concise summaries to enhance decision-making and streamline data analysis.

7/8/2025
12 nodes
Medium
kujft2fojmovqamjddpkw7hg5dzhqu2wmanualmediumsticky notelangchainadvancedapiintegration
Categories:
Manual TriggeredMedium Workflow
Integrations:
Sticky NoteLangChain

Target Audience

This workflow is ideal for:
- Small Business Owners: Who want to gather insights from Yelp reviews to improve their services.
- Marketing Professionals: Seeking to analyze customer feedback for better targeting and campaign strategies.
- Data Analysts: Interested in extracting and summarizing review data for reports or presentations.
- Developers: Looking to integrate Yelp data into their applications for enhanced user experience.

Problem Solved

This workflow addresses the challenge of extracting and summarizing Yelp business reviews efficiently. By automating the data extraction process using Bright Data and summarizing it with Google Gemini, users can quickly access actionable insights without manual effort. This helps businesses understand customer sentiments and improve their offerings based on real feedback.

Workflow Steps

  • Manual Trigger: The workflow starts when the user clicks 'Test workflow'.
    2. Set Yelp URL: The user specifies the Yelp URL and Bright Data Zone to scrape data from.
    3. HTTP Request: An HTTP request is made to fetch Yelp business reviews using the specified URL.
    4. Structured Data Extraction: The fetched reviews are processed to extract structured data, including restaurant name, location, average rating, and detailed reviews.
    5. Summarization: The extracted data is then summarized using a Google Gemini chat model, providing a concise overview of the reviews.
    6. Merge Responses: The summarized data and structured data are merged for a comprehensive output.
    7. Webhook Notification: Finally, the merged response is sent to a specified webhook URL for further processing or notification.
  • Customization Guide

    To customize this workflow:
    - Update Yelp URL: Change the URL in the 'Set Yelp URL with the Bright Data Zone' node to target different businesses or locations.
    - Adjust Parameters: Modify the parameters in the HTTP request to change how data is fetched from Yelp.
    - Change Summarization Prompts: Edit the prompts in the Summarization Chain to adjust the style or detail level of the summaries generated.
    - Webhook URL: Update the Webhook Notification URL to direct the output to your preferred endpoint for processing.