Multi-Platform E-commerce Price Comparison and Lowest Price Alert - n8n Workflow

Use this comprehensive n8n workflow to scrape product prices from major e-commerce platforms (Amazon, eBay, Target, etc.), find the lowest price, generate promotional copy using Claude AI, and immediately send an alert via Telegram. Leverage robust n8n templates for retail monitoring.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

• Users needing automated price tracking across multiple major retailers (Amazon, eBay, Target, etc.).
• E-commerce analysts and resellers looking to find arbitrage opportunities or the best source price.
• Marketing professionals wanting immediate, AI-generated content for time-sensitive deals.
• Anyone seeking powerful, ready-to-use n8n templates for web scraping and AI integration.

Overview

Keeping track of product prices across dozens of platforms manually is impossible. This n8n workflow solves this by automating the entire research pipeline. Initiated by an n8n trigger (a simple form submission), the system simultaneously sends scraping requests to Bright Data for multiple platforms (up to 8, including Amazon, eBay, Target, etc.). It waits for the data to be structured, filters the results to match your keyword, and saves all data to Google Sheets for auditing. Crucially, a custom n8n node analyzes all incoming data to find the single lowest price. This winning product is then passed to the Anthropic Chat Model (Claude AI) to generate engaging, urgent promotional text. The complete price discovery and promotion cycle is managed entirely within this efficient n8n automation, culminating in a timely Telegram notification.

How it Works

The entire process is initiated by the On form submission n8n trigger, where the user inputs the search keyword.


  1. Parallel Scraping: The n8n workflow immediately triggers parallel scraping jobs using multiple HTTP Request nodes configured for Bright Data’s datasets across 8 different retail platforms (e.g., Amazon, eBay, Home Depot).

  2. Polling and Retrieval: For each platform, the workflow enters a polling loop using Wait nodes and If checks, continually checking the Bright Data progress API until the scrape status is 'ready'. It then fetches the full structured snapshot data using another HTTP Request n8n node.

  3. Filtering and Storage: Data items are filtered using a Filter n8n node to ensure the product title contains the original search keyword. All valid results are saved to Google Sheets via dedicated Google Sheets nodes.

  4. Data Aggregation: A Merge n8n node combines all successfully scraped and filtered results from the 8 paths into one consolidated stream.

  5. Lowest Price Identification: The Code1 n8n node executes custom JavaScript to iterate through the merged data. This robust script cleans price data (handling different formats) and identifies the product with the absolute lowest price, returning its title, URL, and price.

  6. AI Content Generation: The lowest price details are sent to the AI Agent n8n node, leveraging the Anthropic Chat Model (Claude). This step uses the product details to generate a persuasive, short promotional message.

  7. Final Clean and Alert: The Clean AI Output Code n8n node sanitizes the LLM output (removing markdown and special characters). Finally, the optimized message is instantly distributed to the user via the Telegram n8n node.

Installation Guide

To deploy this powerful n8n workflow, follow these setup steps:


  1. Import the JSON: Copy the provided JSON data and import it directly into your n8n instance as a new workflow.

  2. Bright Data Setup: You must have an active Bright Data account. Locate the Authorization header in all HTTP Request nodes (starting with 'Triggers Bright Data scraping...') and replace BRIGHTDATAAPIKEY with your actual Bright Data API key.

  3. Google Sheets Credentials: Update the credentials in all 7 Google Sheets n8n nodes (Google Sheets, Google Sheets1, etc.). Replace YOURGOOGLESHEETID and ensure the connected Google Sheets credential (GOOGLESHEETSCREDENTIAL_ID) is authorized to access your designated spreadsheet.

  4. Anthropic AI Credentials: Configure the Anthropic Chat Model n8n node by providing the necessary API key credential for your Anthropic account (supporting models like Claude 4 Sonnet).

  5. Telegram Configuration: Configure the Telegram n8n node with your Telegram API credentials and replace telegramChatId with the ID of the chat or channel where you wish to receive the lowest price alerts.

  6. Activate the Workflow: Set the workflow status to 'Active'. Access the Webhook URL exposed by the On form submission n8n trigger to start sending search keywords.

Node Details

On form submission (n8n trigger): The entry point of the n8n workflow. It captures the initial search keyword provided by the user via a simple web form.
Triggers Bright Data scraping for [Platform] (HTTP Request n8n node): Eight parallel instances send POST requests to the Bright Data API (/datasets/v3/trigger) using the search keyword to initiate specialized scraping tasks (e.g., Amazon, eBay, Target).
Checks scrape status for [Platform] (HTTP Request n8n node): Used in conjunction with Wait nodes and If nodes to poll the Bright Data progress API, ensuring the data collection is complete before proceeding.
Fetches final scraped data from [Platform] snapshot (HTTP Request n8n node): Retrieves the final structured product data from Bright Data's snapshot endpoint.
Filter (n8n node): Ensures that the scraped product title contains the original search term, increasing relevance before storing data.
Google Sheets (n8n node): Multiple instances are used to append the URL, Title, and Price of all matching scraped products to a master Google Sheet for comprehensive logging.
Merge (n8n node): Consolidates the data streams from all platform-specific scraping branches into a single list of products for comparative analysis.
Code1 (n8n node): Contains custom JavaScript logic to analyze the merged list, robustly extract and clean price data, and determine the single cheapest product found across all platforms.
AI Agent (n8n node): Utilizes the Anthropic Chat Model to take the lowest price product details and generate a highly engaging, urgent promotional marketing message, highlighting the deal.
Clean AI Output (Code n8n node): Post-processes the AI-generated text, removing unintended markdown characters and ensuring clean formatting for the final message delivery.


  • Telegram (n8n node): Sends the final, AI-generated promotional message about the lowest-priced product to a specified Telegram chat or channel.

Related n8n Workflows

Free

Nodes: 12 Nodes
Updated: December 26 2025
View all
Created by

Featured*