Extract Amazon Best Seller Electronic Info with Bright Data and Google Gemini

Nodes

c271cce3-82fc-4582-b314-f282e190a2e33b9f1b78-6b80-4575-aa6c-966987000389

Created by

RaRanjan Dailata

Last edited 11 days ago

Who this is for?

Extract Amazon Best Seller Electronic Info is an automated workflow that extracts best seller data from Amazon's Electronics section using Bright Data Web Unlocker, transform it into structured JSON using Google Gemini's LLM, and forwards a fully structured JSON response to a specified webhook for downstream use.

This workflow is tailored for:

  • eCommerce Analysts Who need to monitor Amazon best-seller trends in the Electronics category and track changes in real-time or on a schedule.

  • Product Intelligence Teams Who want structured insights on competitor offerings, including rankings, prices, ratings, and promotions.

  • AI-powered Chatbot Developers Who are building assistants capable of answering product-related queries with fresh, structured data from Amazon.

  • Growth Hackers & Marketers Looking to automate competitive research and surface trending product data to inform pricing strategies.

  • Data Aggregators and Price Trackers Who need reliable and smart scraping of Amazon data enriched with AI-driven parsing.

What problem is this workflow solving?

Keeping up with Amazon's best sellers in Electronics is a time-consuming, error-prone task when done manually.This workflow automates the process, ensuring:​

  • Automating Data Extraction from Amazon Best Sellers using Bright Data, ensuring reliable access to real-time, structured data.

  • Enhancing Raw Data with Google Gemini, turning product lists into structured JSON using the Google Gemini LLM.

  • Sending Results to a Webhook, enabling seamless integration into dashboards, databases, or chatbots.

What this workflow does

The workflow performs the following steps:​

  • Extracts Amazon Best Seller Electronics page info using Bright Data's Web Unlocker API.

  • Processes the unstructured content using Google Gemini's Flash Exp model to extract structured product data.

  • Sends the structured information to a webhook endpoint.

Setup

  • Sign up at Bright Data.
  • Navigate to Proxies & Scraping and create a new Web Unlocker zone by selecting Web Unlocker API under Scraping Solutions.
  • In n8n, configure the Header Auth account under Credentials (Generic Auth Type: Header Authentication).

The Value field should be set with the Bearer XXXXXXXXXXXXXX. The XXXXXXXXXXXXXX should be replaced by the Web Unlocker Token.

  • In n8n, configure the Google Gemini(PaLM) Api account with the Google Gemini API key (or access through Vertex AI or proxy).
  • Update the Amazon URL with the Bright Data zone by navigating to the Amazon URL with the Bright Data Zone node.
  • Update the Webhook HTTP Request node with the Webhook endpoint of your choice.

How to customize this workflow to your needs

This workflow is built to be flexible - whether you're a market researcher, e-commerce entrepreneur, or data analyst. Here's how you can adapt it to fit your specific use case:

  • Change the Amazon Category Update the Amazon URL with the topic of your interest such as Computers & Accessories, Home Audio, etc.

  • Customize the Gemini Prompt Update the Gemini prompt to get different styles of output — comparison tables, summaries, feature highlights, etc.

  • Send Output to Other Destinations Replace the Webhook URL to forward output to:

  1. Google Sheets
  2. Airtable
  3. Slack or Discord
  4. Custom API endpoints

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!