On a schedule
Get an email when a product price drops
When a watched product falls below your target price, you hear about it within hours.
- Runs
- On a schedule
- Apps
- ScrapingBee
- AI
- Not needed
- Access
- API key
Send this to your assistant
Create a ClickRuntime automation: every 6 hours, fetch these 3 product pages through ScrapingBee, read the price, and email me if any of them drops below $249.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A retailer or brand manager who sells through dozens of reseller sites cannot watch each product page by eye. A competitor drops a price by 12 percent on a Tuesday, a reseller quietly lists your product under your minimum advertised price, and you find out when a customer sends you a screenshot. By then the lower price has been live for days, your own sales have slowed, and the other resellers are asking why they cannot match it.
On the schedule you set, the automation fetches each product page through ScrapingBee using extract rules that pull out the price, compares it with the last price it stored, and emails you when a price has changed or has fallen below your MAP. ScrapingBee handles rendering and blocks, so JavaScript-heavy shops still work. Brand managers and e-commerce teams use it to watch competitors and resellers.
What you get out of it
MAP violations found in days, not weeks
When a reseller lists below your minimum advertised price, you hear about it the day it happens. Early contact is far more effective than a complaint after weeks of undercutting.
Competitor price moves seen quickly
A rival's price cut changes how your own listing looks. Seeing it the same day lets you decide whether to match, bundle or hold, instead of reacting after sales have already dropped.
Evidence with dates
Each alert records the old price, the new price and when it was noticed. That is useful in a conversation with a reseller or when you enforce a pricing policy in writing.
Pages that need JavaScript still work
Many shops build their prices in the browser after loading. Fetching through ScrapingBee with rendering handles those pages, so the alert is reliable on sites a simple request would read as blank.
Hours of manual checking removed
Opening thirty product pages every morning to compare prices is tedious and error-prone. The automation checks every page the same way each time and only interrupts you when something has changed.
How it works
What happens, step by step
On the schedule you set, ClickRuntime loads the product page you are watching.
It reads the current price from the page and checks it against your target price.
When the price falls below your target, you get an email with the new price and the product link.
It remembers the last price it alerted on, so you are not emailed again for the same price.
Before it runs live
- Connect ScrapingBee
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Run it at a different time, more or less often, or only on weekdays
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other ScrapingBee steps into one automation
Under the hood
The code that runs this automation
import json
from clickruntime import on_trigger, credentials, http, state, notify
TARGET = 249.0
PAGES = ["https://shop.example.com/products/desk-pro",
"https://store.example.net/item/desk-pro-oak",
"https://example.org/p/desk-pro"]
RULES = {"price": {"selector": "[itemprop=price], .price", "output": "text"}}
@on_trigger
def run(event):
key = credentials.secret("SCRAPINGBEE_KEY")
alerted = state.get("alerted") or {}
hits = []
for url in PAGES:
data = http.get("https://app.scrapingbee.com/api/v1/", params={
"api_key": key, "url": url, "extract_rules": json.dumps(RULES)}, timeout=60).json()
price = float("".join(c for c in data.get("price", "") if c.isdigit() or c == ".") or 0)
if 0 < price < TARGET and alerted.get(url) != price:
hits.append(f"${price:,.2f} at {url}")
alerted[url] = price
if hits:
notify.email_me("Price below $249", "\n".join(hits))
state.set("alerted", alerted)
return {"below_target": len(hits)}FAQ
Common questions
How does it know what the price on the page is?
What if a site blocks the request or the price is missing?
Can I set different MAP prices for different products?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get warned before your scraping credits run out
A daily check emails you once your remaining ScrapingBee credits fall under 10%.
See how it worksKnow the moment your website goes down
Your team hears in Slack when the site stops responding or slows down, and again when it's back.
See how it worksPost a morning briefing to Slack
Your team starts the day with the weather, a reminder or anything else you'd like in #general.
See how it worksKeep exploring
Set up “Get an email when a product price drops” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.
