DEV Community

Wise Kit
Wise Kit

Posted on

How to track a competitor's Shopify prices without coding (daily alerts to Slack or email)

If you sell online, your competitors' prices move all the time: a 20% sale starts on a Thursday, a best-seller sells out, a new range appears. Checking their sites by hand works for one store and ten products. It does not work for five stores and a few hundred products each.

This guide sets up a daily check that sends you only what changed, in Slack or by email, with no code. It takes about 15 minutes.

Disclosure: we built the tool used here, the Product, Price & Stock Monitor for Shopify Stores on Apify. It is not affiliated with Shopify.

What you need

  • A free Apify account.
  • The domains of the stores you want to watch. This works for stores built on Shopify that publish their standard public product data. Others are reported as "not a Shopify store" and not charged.
  • Slack or a Gmail address for the alerts.

Step 1: Try the free demo

Open the Product, Price & Stock Monitor and tick Free demo. Click Start. The demo reads a fictional store twice from bundled data, so you see every kind of change (price drop, sale started, back in stock, sold out, new and removed products) in a few seconds. No store is contacted and nothing is charged.

Open the REPORT in the output to see what your daily alert will be based on.

Step 2: Add the stores you want to watch

Untick the demo and fill in:

  • Store URLs or domains: one per line. A bare domain such as allbirds.com works, and so does a collection URL if you only care about one category, for example a store's /collections/footwear page.
  • Monitor name: for example competitors. This is what makes it a monitor: the first run saves a baseline, and each later run is compared with the one before.
  • Only output changed products: tick it. On repeat runs, unchanged products are neither output nor charged.

In JSON, the whole input is:

{
  "storeUrls": ["allbirds.com", "example.com"],
  "monitorName": "competitors",
  "onlyChanges": true
}
Enter fullscreen mode Exit fullscreen mode

Click Start once to save the baseline.

Step 3: Save it as a task

Click Save as a new task (top right of the Actor's page, next to the run button), and name it something like "Competitor prices". Schedules and integrations attach to the task, so you keep one tidy setup per group of competitors.

Step 4: Schedule it daily

In Apify Console, go to Schedules, create a schedule, set it to run daily at a time that suits you (for example 7:00 in your time zone), and add your task to it.

Step 5: Send the changes to Slack

Open your task's Integrations tab, find Slack and click Configure. Connect your workspace, pick the channel (a dedicated #competitor-prices channel keeps it out of the way), and choose the "run succeeded" event. The message can include a link to the run, so one click takes you to the report.

Step 5 (alternative): Send them by email

On the same Integrations tab, choose Send results email via Gmail, connect your Google account, and set the subject and body. You can attach the dataset as a file, for example CSV, so the changes land in your inbox as a spreadsheet.

Step 6: Read the results

Each changed product has a one-line changeSummary, for example:

Price down 140.00 → 112.00 (-20%); 1 variant sold out; Sale started

Other useful fields: changeType (new, changed, removed), priceChange (up or down), minPriceChangePercent, backInStock, soldOut and currency. Prices are in the store's home currency: an Australian store gives Australian dollars, as on its own website, and each row says which currency it is in.

The HTML report groups everything into price drops, price rises, back in stock, sold out, new and removed products.

What it costs

You pay $0.50 per 1,000 product rows plus $0.002 per store read. Stores that can't be read are free, and so is the demo.

With Only output changed products on, a daily run only pays for the store read and the products that changed. The README's example: a 5,000-product store with 20 changes in a day costs $0.02 for that run. Your cost depends on how often your competitors change things.

On Apify's free plan a run can read 1 store and up to 100 products. A paid Apify plan unlocks up to 50 stores and 25,000 products per store per run.

How it reads stores

The monitor reads only each store's public product data, obeys robots.txt, waits at least one second between requests and stops at once if a store refuses access. No login, proxies or browser. Make sure you have the right to use the data you collect.

If you try it and something is missing, open an issue on the Actor's Issues tab. We read them all.

Top comments (0)