CORTEXFLOW · FREE FOREVER

Automation

Competitor Price Monitoring & Alerts

↓ Download workflow JSON

Import in n8n: Workflows → ⋯ → Import from file, then add your credentials. Free download with a free account.

How it works

  1. Daily Schedule — runs once a day at 09:00 and kicks off the price check.
  2. Read Products — reads your Google Sheet rows: product_name, url, and last_price.
  3. Fetch Product Page — downloads each product page (n8n automatically runs it once per row).
  4. Extract Price — pulls the price out of the page HTML with a CSS selector you set per site.
  5. Normalize Price — strips currency symbols and converts the price text into a plain number.
  6. Price Changed? — an IF node that compares the live price against last_price from your sheet.
  7. Send Price Alert — Telegram messages you: “Price changed: X was $A, now $B” with the product link.
  8. Update Last Price — writes the new price back into the sheet so tomorrow’s run compares against it.

Set up steps

You’ll need:

  • n8n (self-hosted or cloud)
  • A Google account with a spreadsheet — columns: product_name, url, last_price
  • A Telegram bot token — message @BotFather on Telegram, send /newbot, copy the token. You also need your own chat ID (message @userinfobot to get it).
  1. Download the workflow JSON using the download button on this page.
  2. In n8n, go to Workflows → ⋯ → Import from file and select the JSON.
  3. Connect Google Sheets — go to Credentials → New → Google Sheets OAuth2 API, sign in with Google, save. Then open Read Products and Update Last Price and select this credential, picking your spreadsheet.
  4. Connect Telegram — go to Credentials → New → Telegram API, paste your bot token, save. Select it in Send Price Alert and replace PASTE_YOUR_CHAT_ID with your chat ID.
  5. Set the price selector — open Extract Price and change the CSS selector (currently .price) to match your competitor’s site. Right-click the price in your browser → Inspect → copy its selector.
  6. Activate the workflow (toggle, top-right). Use Execute workflow once to test it immediately.

Customize it

  • Change the schedule — open Daily Schedule and pick a different time or interval.
  • Track more products — just add rows to the sheet; no workflow changes needed.
  • Alert on drops only — in Price Changed?, replace “not equals” with “smaller than” so you only get pinged on price drops.
  • Respect the sites you monitor — keep the daily schedule, don’t scrape aggressively, and check each site’s terms of service and robots.txt before monitoring it.

Workflow nodes

This workflow is built from 8 nodes. Here's what each one does:

#NodeTypeWhat it does
1 Daily Schedule Schedule Trigger Starts the workflow automatically on a schedule.
2 Read Products Google Sheets Reads from or writes to a Google Sheet — this workflow's log and state store.
3 Fetch Product Page HTTP Request Calls an external API or webhook endpoint.
4 Extract Price HTML Extract Extracts structured data from HTML pages.
5 Normalize Price Set Holds editable configuration values — fill in your own settings here before activating.
6 Price Changed? IF Splits the flow into branches based on a condition.
7 Send Price Alert Telegram Sends you a Telegram message or alert.
8 Update Last Price Google Sheets Reads from or writes to a Google Sheet — this workflow's log and state store.

Setup instructions

1. Add your credentials

In n8n go to Credentials → New, create each credential below, then open the named node and select it:

NodeCredential to add
Read Products Google Sheets OAuth2
Send Price Alert Telegram Bot API
Update Last Price Google Sheets OAuth2

2. Fill in your config values

Open the config node listed below and replace each placeholder with your own value before activating the workflow:

NodeFieldWhat to paste
Send Price Alert chatId PASTE_YOUR_CHAT_ID
Your chat id

How this workflow starts

  • Schedule Trigger: Runs every days.

Use cases

Pricing moves fast and manual checking doesn't scale. This template watches competitor product pages every day: Daily Schedule fires at 09:00, Read Products pulls your rows (product_name, url, last_price) from Google Sheets, and Fetch Product Page downloads each page once. Extract Price pulls the price out of the HTML with a CSS selector you set per site, Normalize Price strips currency symbols into a plain number, and the Price Changed? IF node compares the live price against last_price. On a change, Send Price Alert messages you on Telegram — "Price changed: X was $A, now $B" with the product link — and Update Last Price writes the new price back so tomorrow's run compares against it. Adding products is just adding rows; the workflow itself never needs to change.

Small ecommerce brand defending its margins

A DTC brand selling a $60 skincare set against two competitors can't afford to be 20% overpriced for a month without noticing. Add each competitor's product URL as a row, set the CSS selector in Extract Price (right-click the price → Inspect → copy selector), and every morning you either get silence or a Telegram alert with the exact before-and-after. When a competitor drops to $47, you see it the same day and can decide — match, hold, or differentiate — instead of discovering it in a quarterly review. Practical tip: change the Price Changed? condition from "not equals" to "smaller than" so you only get pinged on price drops, which are the moves that actually threaten your sales.

Dropshipper or reseller protecting their spread

Resellers live on the gap between their cost and the market price. Track the supplier listings and the main competitor listings in the same sheet; when a supplier raises a price, the Telegram alert tells you to adjust your listing price the same morning instead of selling at a loss for days. Because the workflow writes the new price back into the sheet every run, you also build a free price-history dataset — after three months you can see each supplier's discount rhythm and time your own promotions around it. Variation: run twice daily during sale season by editing the cron in Daily Schedule; the Telegram alerts stay readable because only actual changes trigger messages.

Niche retailer watching a short list of key products

You don't need to track everything — a specialty retailer with 15 hero products and 4 competitors per product is 60 rows, handled in one daily run. The per-site CSS selector setup is a one-time cost: spend ten minutes per competitor site setting the selector in Extract Price, and it runs unattended from there. The guide's etiquette note matters here: keep the daily schedule gentle, don't scrape aggressively, and check each site's terms of service and robots.txt before monitoring. Tip: keep product_name descriptive ("Competitor A — 500ml refill") because the alert text uses it — six months from now you'll be glad the Telegram history reads clearly.

Pricing manager at a growing DTC brand

A pricing manager with 200 SKUs across regions can't check pages by hand — but they also don't need a $2,000-a-month pricing tool for a simple watchlist. This template is the middle ground: rows in a sheet, daily checks, instant Telegram alerts on change, and a self-maintaining baseline via Update Last Price. Share the sheet with the team so anyone can add a URL without touching n8n. When the CEO asks "when did they drop their price?", the sheet's last_price history and your Telegram log answer the question with dates. Practical variation: split the sheet into tabs per region or per category later — the workflow reads one tab, so duplicate the flow per tab as the list grows.

Affiliate or deal site hunting price drops for content

A deal blogger or affiliate site needs fresh price-drop alerts to write about. Point the workflow at the products your audience buys, set Price Changed? to "smaller than" so you only hear about drops, and every alert is a potential post: "X just dropped from $A to $B." The product link in the Telegram message is the affiliate link target — one tap from alert to draft. Because the check is automated and daily, you catch drops on day one, when deal posts earn the most clicks. Tip: keep a separate tab for products you're considering covering versus the core list, so alert noise stays proportional to editorial value.

← All templates