All jobs

How Can an Online Store Check Its Competitors' Prices Every Week? An Agent That Reads Their Product Pages and Writes the Gaps

An online store runs an agent every Monday that opens competitors' public product pages, reads each price and stock state, and lists where it is out of line.

Run this on RushOpens the console with this prompt ready to send.

What the agent does

This is for a small online store that sells bike parts and accessories: a few hundred products, two or three competitors selling the same brands, and an owner who sets prices by hand. Twice a quarter someone spends an afternoon opening competitors' pages one by one and writing prices into a sheet, and between those afternoons a competitor's sale on a popular tyre or a cassette that went out of stock everywhere goes unnoticed. The agent does that afternoon every Monday, for the products the owner cares about most, and writes the gaps in one table.

The store keeps a short watch list: for each of its products, its own SKU, its own current price, and the public product page of the same item at each competitor. The list goes into the request as text, so it can come straight from the store's own admin export. No app is connected: the agent uses its own browser on public pages, the same pages any shopper sees, so the run's stack is the web and the request names no connection.

For each competitor URL the agent opens the page in the browser, waits for the price to render (many stores fill the price with JavaScript after the page loads), and reads the price shown, any struck-through original price that marks a sale, the stock or availability text, and the variant it is looking at when the page has sizes or colours. When a page needs a variant chosen to show a price, it picks the variant the watch list names. When it cannot find a price, because the page moved, the product is discontinued, or the site shows a check that it is a person, it records that and moves on rather than guessing or working around the check.

It then compares each competitor's price with the store's own, in the store's currency, and sorts the products into three groups: the store is more than the threshold in the request above the lowest competitor, the store is the lowest by more than the threshold, and within the threshold. It notes every product where a competitor is on sale or out of stock, since those are the weeks to hold a price rather than chase it. It writes prices.csv with one row per product and competitor and summary.md with the three groups, and it changes nothing anywhere: it has no access to the store's admin and sets no price.

Start it with one API call

POST https://api.phoenix.so/o/{org}/sessions with this body:

{
  "agent": "claude",
  "input": "Weekly competitor price check for Northside Bike Parts, run date 2026-11-23, currency USD. Watch list (our SKU | our price | competitor URLs): NBP-1042 Continental Grand Prix 5000 S TR 700x28 | 89.95 | https://competitor-one.example/products/gp5000-s-tr-700x28, https://competitor-two.example/p/continental-gp5000str-28; NBP-2210 Shimano 105 CS-R7100 cassette 11-34 | 109.00 | https://competitor-one.example/products/105-r7100-11-34, https://competitor-two.example/p/shimano-r7100-cassette-1134. For each URL, open it in the browser, wait for the price to render, choose the variant named above if the page has variants, and record: price shown, original price if struck through, stock text exactly as shown, and the variant. If no price can be read (page gone, product discontinued, a bot check), record why and move on; never try to get past a bot check. Compare with our price: flag OVER when we are more than 5% above the lowest in-stock competitor price, UNDER when we are more than 5% below it, else OK; note every competitor sale and out-of-stock. Write prices.csv (sku, competitor, url, price, was_price, stock, variant, checked_at, note) and summary.md grouped OVER, UNDER, OK with the gap in dollars and percent. Do not sign in anywhere, add anything to a cart or submit any form."
}
  1. Get an API key. In the console, open Settings, then API keys, and create a key for your org. Send it in the Authorization header as a Bearer token.
  2. Send the request. POST the body in request.json to https://api.phoenix.so/o/{org}/sessions. The run starts in its own cloud sandbox.
  3. Read what came back. Follow the run on its live stream or wait for the run.completed webhook, then read the result and its trajectory.

What comes back

The session's artifacts hold prices.csv, one row per product and competitor with the price read, any sale price, the stock text exactly as the page showed it and the time it was read, and summary.md, which puts the products where the store is out of line first, each with the gap in dollars and percent and a note when a competitor is on sale or out of stock. Rows the agent could not read say why, so a missing price never looks like a match.

What the owner checks before changing a price: that the competitor's page is really the same item (a 700x28 tyre against a 700x25 one, or a bundle against a single part), whether a competitor's low price is a short sale that ends this week, and shipping, which the agent does not add since many stores only show it at checkout. The owner changes prices in the store's admin; the agent's table is the input to that decision, not the decision.

Run it on every Monday morning

In the console, a Project automation with a schedule trigger, cron 0 6 * * 1 and the store's timezone, runs a saved agent with the watch list and thresholds in its instructions. A schedule fills no date or list into the prompt, so the instructions hold the list, and the owner edits the saved agent when products are added. A store that keeps its list in its own system can have its server send POST /o/{org}/sessions with this body each Monday instead, building the watch list from its database.

Before a big sale weekend the owner can press Run now on the same automation for an extra check. Each run is its own session with its own files, so last month's prices stay readable beside this week's.

The use case this job follows, with its automation and trigger: Produce a report or file, no repo.

Why run it on Rush?

A script that scrapes competitors breaks every time a store changes its theme, and it needs someone to fix it; the agent reads a page the way a person does, in a real browser on its own computer, and says plainly when a page has changed instead of returning a wrong number. Nothing about the store's own accounts is involved: the run signs in to nothing, so there is no password to keep anywhere.

Each run keeps a record of every page it opened and what it read there, so when the owner asks why a product was flagged, the session shows the page and the price on it that day. The session also records its total_cost_usd, which the owner can set against one afternoon of copying prices by hand.

Frequently asked questions

Is it fine to read competitors' product pages this way?

The agent opens the same public pages a shopper opens, a few per competitor per week, and signs in to nothing. It is told to stop at any bot check rather than get around it. Read each competitor's terms of use yourself; some forbid automated access, and a page you should not read belongs off the watch list.

How many products can one run check?

The watch list is in the prompt, so a run checks what you list. A few dozen products with two or three competitors each is a comfortable weekly list. For hundreds, split the list into several runs, one per category, and start them together; each runs on its own computer.

Can it change our prices for us?

Not on this page. The run has no connection to the store's admin, so it cannot change a price. That keeps a person deciding each change, which matters when a competitor's low price is a clearance or a mistake.

What about prices in another currency?

Put the currency next to each competitor in the watch list and the rate to use in the prompt. The agent does not look up exchange rates on its own, so the comparison uses the number you gave it and says so in the summary.

More Web jobs

More jobs like this: Produce a report or file, no repo

Keep reading