Overview

Manually tracking competitor prices drains time and invites errors. This workflow automates price monitoring by pulling product data from Google Sheets, scraping each product page to extract current prices via regex, and logging any changes with timestamps. It eliminates tedious checks, archives price history, and feeds data for smarter pricing decisions.

The Impact

  • Eliminate manual price checks. Automate extraction and comparison directly from live product pages.
  • Flag price changes instantly. Detect any price deviations with calculated difference percentages.
  • Archive historical data. Append or update detailed change records with timestamps for analysis.
  • Save time and reduce errors. Streamline competitive intelligence with automated workflows.

Who This Is For

  • Competitive Intelligence Teams tracking retail price fluctuations to inform strategy.
  • Procurement Managers monitoring supplier price changes for timely order adjustments.
  • Online Merchants capturing competitor promotions and price drops for responsive pricing.
  • Pricing Analysts needing continuous price trend data for decision-making.

How It Works

1
  1. Data Import and Parsing
  2. Fetch product rows from Google Sheets and convert the 2D table string into structured records with product URLs and last recorded prices.
2
  1. Iterate and Scrape
  2. Loop through each product, pausing to avoid rate limits, then request the product page HTML content.
3
  1. Extract and Compare Prices
  2. Use regex to extract the current price from HTML, convert to number, compare with last price, and calculate change percentage and timestamp.
4
  1. Evaluate Price Changes
  2. Determine if price changed and is valid; if so, prepare the change data row for logging.
5
  1. Update Tracking Sheet
  2. Append or update the price change record to the designated Google Sheets tracking worksheet, then aggregate results and exit loop.

What You'll Need

Before using this template, make sure you have:

  • A Google Spreadsheet with two worksheets: one listing products (product_url and price), and one dedicated to logging price changes with the headers ProductUrl, LastPrice, CurrentPrice, PriceChanged, PriceDiffPct, Timestamp.
  • Google OAuth credentials configured for authorized read/write access to your Google Sheets.
  • The Spreadsheet ID and exact worksheet names for both the product list and the price tracking sheets.

How to Use

  1. Step 1. Prepare Your Spreadsheet
  2. Create two worksheets as required, and set proper headers for product data and price change logs.

  3. Step 2. Configure Credentials
  4. Set up Google OAuth credentials to allow the workflow to read and write your Google Sheets.

  5. Step 3. Input Parameters
  6. Fill in the SpreadsheetId, SheetName (product list), and TrackingSheetName (price change log) in the workflow settings.

  7. Step 4. Run the Workflow
  8. Start the automation to let it scrape competitor prices, detect changes, and update your tracking sheet continuously.

  9. Step 5. Verify Results
  10. Check the tracking sheet for accurate and timely price change records to confirm the workflow’s operation.

FAQs

How does the workflow detect if a competitor's price has changed?
It extracts the current price from the product page HTML using regex, converts it to a number, and compares it to the last recorded price from the spreadsheet. If different and greater than zero, it flags a change.
What happens when a price change is detected?
The workflow prepares a detailed record including last price, current price, change flag, percentage difference, and timestamp, then appends or updates this in the designated tracking sheet.
How does the workflow avoid being blocked during scraping?
A pause of 20 seconds is inserted between requests to each product page to respect rate limits and reduce the chance of blocking.
Can I customize which sheets or columns to use?
Yes. You specify the Spreadsheet ID and worksheet names for both product listing and tracking sheets, and headers must follow the required order to ensure proper data mapping.
What credentials are needed to run this workflow?
Google OAuth credentials with permission to read and write your Google Sheets must be configured to enable data fetching and updating.
Was This Page Helpful?

More Workflows for Inspiration

🤖
Local LLM Batch Evaluator
Automate batch testing of local LLMs, capturing detailed metrics and saving results to Google Sheets.
Learn more >
📧
Intelligent Email Auto-reply
Automate Gmail replies with AI-based classification and calendar scheduling to save time.
Learn more >
📧
Smart Email Priority Manager
Automatically classify Gmail emails by urgency and importance to streamline inbox management.
Learn more >