Who is this workflow for? Monitor and track product price fluctuations across multiple e-commerce websites effortlessly. This n8n workflow automates the process of detecting price changes, ensuring you stay informed about the best deals and market trends without manual intervention..

What does this workflow do?

  • Execute Command Node:
  • Initializes by creating a kopacky.json file in the /data/ folder.
  • Clears any existing data to ensure a fresh start for tracking.
  • Cron Node:
  • Schedules the workflow to run at regular intervals, defaulting to every 15 minutes.
  • Determines how frequently the specified URLs are crawled for price updates.
  • Function Item Node (Add Watchers):
  • Configures the URLs to monitor by adding watchers.
  • Each watcher includes:
    • slug: A unique identifier.
    • link: The target website URL.
    • selector: The CSS selector pointing to the price element.
    • currency: The currency code of the price.
  • Function Item Node (Initialize Items):
  • Stores the watcher data into the kopacky.json file for persistent tracking.
  • HTTP Request Node:
  • Fetches the HTML content from each specified URL.
  • HTML Extract Node:
  • Parses the fetched HTML to extract the price using the provided CSS selector.
  • IF Nodes:
  • Evaluates the extracted price data to identify changes or issues.
  • Routes the workflow based on whether a price drop is detected or an error occurs.
  • Send Email Nodes (NotifyBetterPrice):
  • Sends email notifications if there are issues retrieving the price or if a better price is found.
  • Alerts include scenarios such as website downtime, product unavailability, or changes in the website’s HTML structure.
  • Move Binary Data Nodes:
  • Converts the JSON price data into binary format for file operations.
  • Write Binary File Nodes:
    • Saves the updated price information back into the kopacky.json file, maintaining an up-to-date record of price changes.

Note: This beta version may encounter issues with websites that block automated requests. Such protections are common to prevent unauthorized data scraping.

🤖 Why Use This Automation Workflow?

  • Automated Monitoring: Eliminates the need for manual price checks, saving time and reducing errors.
  • Real-Time Alerts: Receive immediate notifications when price changes occur, enabling timely decisions.
  • Data Management: Consolidates price data in an organized JSON file, facilitating easy analysis and reporting.

👨‍💻 Who is This Workflow For?

This workflow is ideal for e-commerce businesses, price analysts, deal hunters, and anyone interested in tracking product prices across various online platforms. It is designed for users with a basic understanding of HTML and JavaScript who seek to automate and streamline their price monitoring processes.

🎯 Use Cases

  1. E-commerce Businesses: Track competitor pricing to adjust your own prices dynamically and remain competitive in the market.
  2. Price Analysts: Gather historical price data for analysis to understand market trends and consumer behavior.
  3. Deal Enthusiasts: Automatically monitor favorite products for price drops, ensuring you never miss a good deal.

TL;DR

This n8n workflow provides an efficient solution for automatically tracking product price changes across multiple websites. By leveraging automation, it ensures timely updates and notifications, enabling informed decision-making and effective price management.

Help us find the best n8n templates

About

A curated directory of the best n8n templates for workflow automations.