# Get a daily alert when a competitor undercuts your price

> Notes from building a daily script that compares a bathware catalogue against Sydney competitors and only alerts when someone undercuts.

Published 2026-10-18 by Christine · https://automatemylifehq.com/posts/bathware-competitor-price-watch

- Result: Alerts on Discord only when a competitor is cheaper than the owner's price
- Running cost: Per-call estimates: Serper $0.001, Brave $0.005, Firecrawl $0.019
- Works with: Google Sheets, Serper, Brave, Firecrawl, Discord, Python
- If it gets it wrong: If Serper finds nothing it falls back to Brave search, and listings that do not match enough of the product terms are ignored.

## The problem
A Sydney bathware business sells a catalogue of products that other Sydney sellers also sell. The owner wants to know when someone undercuts them. Checking that by hand means searching each product, one at a time, and it never gets done often enough.

So I built a script that does the checking every day and only speaks up when it matters.

## What it does for you
It reads the owner's product list from a Google Sheet, finds what Sydney competitors charge for each item, and writes the results back to the sheet. If a competitor is cheaper than the owner's price, it posts an alert to Discord. If nobody is cheaper, it stays silent.

> The best price alert is the one that says nothing until there is something to act on.

A second step runs an AI agent over a list of tracked competitor sites and writes a short market watch: launches, price moves, promotions and new competitors, each with a source link.

I can't tell you how much money it saved or how many alerts it sent. No scan results are saved in the repo, and I won't make up a number.

## How it works

1. **The owner edits a "Products" tab** in a Google Sheet: item code, category, name and their own price. No code changes needed.
2. **It searches Google Shopping** (through Serper) for "{name} Sydney", with a Brave search as a fallback.
3. **It filters the results.** Only Sydney and NSW sellers stay. Sellers whose name points to another Australian location are dropped.
4. **It checks the match.** A listing only counts if at least 50% of the key product terms match, so it compares like with like.
5. **It writes a row to "Scan Results"** with the min, max and mean competitor price, plus clickable links to the cheapest and priciest seller and product images.
6. **It alerts only when needed.** Discord fires when a competitor is cheaper than the owner's price. Email alerts can be switched on from a "Config" tab (daily, weekly, every 2 weeks or monthly).
7. **Part two scrapes tracked competitor pages** with Firecrawl, uses Brave to find new competitor domains, and posts the market watch.

## What you need
Python using only the standard library, Serper and Brave for search, Firecrawl for scraping pages, Google Sheets as the interface, Discord for alerts, and an AI agent for the market summary.

## What it costs
| Item | Estimated cost |
|---|---|
| **Serper search** | $0.001 per call (estimate tracked in the code) |
| **Brave search** | $0.005 per call (estimate tracked in the code) |
| **Firecrawl page scrape** | $0.019 per call (estimate tracked in the code) |

These are per-call estimates from the code, not a measured monthly bill. The total depends on how many products are in the sheet.

## Good to know
- **Filtering is most of the work.** Requiring a seller location and a product-name match removes most of the noise in price comparisons.
- **Put settings where the owner already works.** Keeping alerts in a sheet tab means a non-technical owner can change them without touching code.
- **Silent unless it matters.** Alerts that only fire on a real undercut actually get read.
