Skip to main content

Competitor price monitoring with web scraping,Google Sheets & Telegram

Workflow preview

Workflow preview
100%
Competitor price monitoring with web scraping,Google Sheets & Telegram preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

How it works ++Download the google sheet here++ and replace this with the googles sheet node: [Google sheet](https://www.dropbox.com/scl/fi/zaif45nt9uzgz8mrhht9n/competitor price drop automation.xl...

Best for

  • Market Research automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.splitinbatches, n8n-nodes-base.wait, n8n-nodes-base.httprequest, n8n-nodes-base.html, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Tony Paul.

Original n8n.io source

1.1 Workflow description

Title
Competitor price monitoring with web scraping,Google Sheets & Telegram
Workflow name
Competitor price monitoring with web scraping,Google Sheets & Telegram

How it works

++Download the google sheet here++ and replace this with the googles sheet node: Google sheet , upload to google sheets and replace in the google sheets node.

  • Scheduled trigger: Runs once a day at 8 AM (server time).

  • Fetch product list: Reads your “master” sheet (product_url + last known price) from Google Sheets.

  • Loop with delay: Iterates over each row (product) one at a time, inserting a short pause (20 s) between HTTP requests to avoid blocking.

  • Scrape current price: Loads each product_url, extracts the current price via a simple CSS selector.

  • Compare & normalize: Compares the newly scraped price against the “last_price” from your sheet, calculates percentage change, and tags items where price_changed == true.

On price change:

  • Send alert: Formats a Telegram message (“Price Drop” or “Price Hike”) and pushes it to your configured chat.

  • Log history: Appends a new row to a separate “price_tracking” tab with timestamp, old price, new price, and % change.

  • Update master sheet: After a 1 min pause, writes the updated current_price back to your “master” sheet so future runs use it as the new baseline.

Set up step

  1. Google Sheets credentials (~5 min)
  2. Create a Google Sheets OAuth credential in n8n.
  3. Copy your sheet’s ID and ensure you have two tabs:
  4. product_data (columns: product_url, price)
  5. price_tracking (columns: timestamp, product_url, last_price, current_price, price_diff_pct, price_changed)
  6. Paste the sheet ID into both Google Sheets nodes (“Read” and “Append/Update”).
  7. Telegram credentials (~5 min)
  8. Create a Telegram Bot token via BotFather.
  9. Copy your chat_id (for your target group or personal chat).
  10. Add those credentials to n8n and drop them into the “Telegram” node.

Workflow parameters (~5 min)

  • Verify the schedule in the Schedule Trigger node is set to 08:00 (or adjust to your preferred run time).

  • In the Loop Over Items node, confirm “Batch Size” is 1 (to process one URL at a time).

  • Adjust the Delay to avoid Request Blocking node if your site requires a longer pause (default is 20 s).

  • In the Parse Data From The HTML Page node, double-check the CSS selector matches how prices appear on your target site.

  • Once credentials are in place and your sheet tabs match the expected column names, the flow should be ready to activate. Total setup time is under 15 minutes—detailed notes are embedded as sticky comments throughout the workflow to help you tweak selectors, change timeouts, or adjust sheet names without digging into code.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Daily 8 AM Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 3 - Fetch Product List from Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 4 - Process Each Product in Batches of 1

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 5 - Pause Between Requests

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 6 - Load Product Page HTML

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Extract Current Price from HTML

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 8 - Normalize Price Values

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Compute Price Change

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Clean Up Parsed Fields

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Is Price Changed?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 12 - Build Telegram Alert Message

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Log Price History to Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 14 - Pause Before Updating Sheet

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 15 - Update Last Price in Master Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 16 - Send Price Alert via Telegram

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 17 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Competitor price monitoring with web scraping,Google Sheets & Telegram
Complexity advanced
Nodes 24
Categories Market Research
Author Tony Paul
Published 04 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4640/4640.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Competitor price monitoring with web scraping,Google Sheets & Telegram do?

How it works ++Download the google sheet here++ and replace this with the googles sheet node: [Google sheet](https://www.dropbox.com/scl/fi/zaif45nt9uzgz8mrhht9n/competitor price drop automation.xl...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research use case.