# Price Monitor Lite — free n8n workflow

**Watch one competitor page, get an alert when the price moves 1%.** A
stripped-down version of workflow 10 from the Lead Ops Pack. Core nodes only,
no community packages.

- File: `10-price-monitor-lite.json`
- Nodes: 12 (4 sticky notes included)
- Setup time: about 10 minutes
- Credentials: Google Sheets + an incoming webhook URL (no API key)
- Tested with: n8n 2.48.8

## What it does

1. **Every 6 Hours** starts the check on a cron schedule.
2. **Fetch Competitor Page** downloads the pricing page with redirects enabled.
3. **Extract Price** strips scripts, styles and tags, then pulls the first
   visible `$`, `€`, `£` or `¥` price. It fails with a clear error when no price
   is found, so a broken selector is visible instead of silent.
4. **Read Price History** loads your Google Sheets tab.
5. **Compare with History** picks the most recent valid snapshot and calculates
   the change; empty or non-numeric rows are ignored.
6. **Append Price Snapshot** records the new price, currency and timestamp.
7. **Price Changed by 1%?** sends an alert only when the move is at least 1%.
8. **Send Alert to Webhook** posts a JSON body with both a `text` field (Slack)
   and a `content` field (Discord).

The first run records a baseline and sends nothing.

## Configure it

1. **Competitor.** Replace `https://REPLACE_WITH_COMPETITOR_URL` in **Fetch
   Competitor Page** and in **Extract Price**. Set
   `REPLACE_WITH_COMPETITOR_NAME` in **Extract Price**.
2. **Sheet.** Create a tab named `Price History` with these exact headers in row
   1:

   ```text
   competitor, url, price, currency, captured_at
   ```

   Connect Google Sheets, select the credential in both sheet nodes and set the
   spreadsheet ID.
3. **Alert webhook.** Create an incoming webhook in Slack, Discord, Teams or your
   own endpoint. Replace `REPLACE_WITH_ALERT_WEBHOOK_URL` in **Send Alert to
   Webhook**. Slack reads `text`; Discord reads `content`.
4. **Baseline.** Run once manually. Check that a row appears in `Price History`
   and no alert is sent.
5. **Change test.** Temporarily change the parsed price by editing the page (or
   the extractor output) by at least 1%, run again and confirm the alert.
6. **Publish.** Publish the workflow to activate the 6-hour schedule.

## Customize it

- Change `0 */6 * * *` in **Every 6 Hours** to another cadence. Keep the request
  volume polite.
- Change the `1` threshold for a more or less sensitive alert.
- Watch more products: duplicate the sheet and alert branch per competitor, or
  add a loop over URLs.

## Limitations

- **One page, one main price.** Multi-plan tables need a selector change in
  **Extract Price**; the `all_matches` field lists every price found.
- **Some sites block bots.** If the page returns a challenge or empty content,
  the extractor fails. Use a rendering or proxy service and respect the site's
  terms.
- **History lives in one sheet.** Changing the sheet headers breaks the append
  mapping.
- **No deduplication across competitors.** This version watches one URL.

## Why upgrade to the Lead Ops Pack

The paid **Lead Ops Pack** ($29) includes a richer version of this workflow as
workflow 10: six-column price history, Slack alerts and 50+ troubleshooting
entries, plus nine other B2B lead workflows. It also includes `SETUP.md`,
`CREDENTIALS.md`, a 20-lead sample CSV and reference outputs. Workflows 02, 06 and 10 were executed end-to-end against mock
fixtures before release. 14-day money-back guarantee.

**Get the full pack:** https://payhip.com/b/zDoVA

## License

Use and modify this workflow in unlimited personal and client projects. Do not
resell or redistribute the JSON as a competing template product.
