Automations / Market watch

Competitor price watch

Daily check of competitor product pages: a CSS selector reads the price, Claude steps in when it fails, Slack hears about changes.

Included with Everything
no price yes TriggerEvery day 07:00 AppWatchlist (sheet) AppFetch page LogicRead price AIFallback: Claudereads it LogicChanged? AppUpdate sheet OutputSlack alert
Tools
n8nMakeZapier
Job
Market watch
For
Shops, SaaS, Local services
Uses
Google Sheets, Claude, Slack
Tested
  • n8n 2.42.6: ran end to end against mock APIs, 14 nodes, 12 API calls
  • Make: blueprint structure and mappings checked
  • Zapier: steps, references and code steps checked
2026-10-11

What it does

  1. Runs every day at 07:00 (the n8n instance's time zone).
  2. Reads the watchlist from a Google Sheet: one row per product page.
  3. Fetches each page with a normal browser user agent, one every 1.5 seconds. A page that fails is noted, not fatal.
  4. Reads the price with the row's CSS selector. No match: tries the page's own product data (JSON-LD, price meta tags). Formats like €1.299,00, $1,299.00 and 1 299 kr all read as 1299.
  5. Still nothing: Claude (Haiku) reads the price from the page text and answers in JSON.
  6. Compares with last_price. Moved by more than the threshold either way: a Slack alert with old and new price.
  7. Always updates the row: last_price, last_checked and change (with how the price was read when it was not the selector).

Prerequisites

  • Google Sheet with a Watchlist tab (url, selector, last_price, currency, product, competitor, last_checked, change)
  • Anthropic API key
  • Slack bot with chat:write

Settings

PlaceholderWhatWhere it goes
GOOGLE_OAUTH_CLIENT_IDGoogle OAuth client ID (self-hosted n8n only)Google Sheets credential, Client ID
GOOGLE_OAUTH_CLIENT_SECRETGoogle OAuth client secret (self-hosted n8n only)Google Sheets credential, Client Secret
ANTHROPIC_API_KEYClaude API keyAnthropic API credential, header x-api-key
SLACK_BOT_TOKENSlack bot tokenSlack bot credential

Keys stay in your tool's credentials, never in the files.