Skip to content

How do I get an alert when a price on a page drops?

8 minIntermediateUpdated October 12, 2026AWFlow 0.8.2

Short answer

Watch the price with an Element Change trigger, read the number with Regex Match, read the last price from Data Store, and compare the two with IF. When the new price is lower, Show Notification posts Price dropped!, and Data Store Set saves the new price for next time. It only watches while the product page is open in your browser.

Try it in AWFlow

Opens this guide's workflow in AWFlow. You review it before anything is saved.

Install the ready-made template (opens in a new tab)

On this page
  1. Before you start
  2. Install the recipe
  3. Watch the price element
  4. Read the number
  5. Look up the last price
  6. Did it drop?
  7. Show the alert
  8. Remember this price
  9. Run it and check the result
  10. Common problems

Before you start

The AWFlow browser extension

Install the recipe

Install the recipe, open When the price changes, and pick the price element on your product page with the crosshair. Set URL Patterns to that site. To import the file yourself, use Add Workflow › Import, choose the .awf and click Create & open. Then click Make it mine at the bottom of the canvas, tick the box and confirm, so you can edit it.

Watch the price element

Node: Element Change

Element Change watches the element matching .price on every page (URL Patterns <all_urls>) and fires when its text changes, after 500 ms of quiet.

Watch the price element in the AWFlow editorWatch the price element in the AWFlow editor
Tip · Click the crosshair in CSS Selectors to pick the price on your product page, and set URL Patterns to that shop, for example https://shop.example.com/product/*.

Read the number

Node: Regex

Regex Match finds the first number (such as 79.99) in the changed text and puts it in priceMatch.

Read the number in the AWFlow editorRead the number in the AWFlow editor
Tip · For prices written 1.299,00, change Pattern to match your format.

Look up the last price

Node: Data Store

Data Store Get reads last-price, saved by earlier runs of this workflow.

Look up the last price in the AWFlow editorLook up the last price in the AWFlow editor

Did it drop?

Node: IF

IF compares the new number with the stored one (less than). The true branch notifies, both branches go on to save it.

Did it drop? in the AWFlow editorDid it drop? in the AWFlow editor
Tip · Compare with a fixed target instead, such as 50, to be told only below your price.

Show the alert

Node: Show Notification

Show Notification posts Price dropped! with the new and old price. Require Interaction keeps it on screen until you close it.

Show the alert in the AWFlow editorShow the alert in the AWFlow editor
Tip · Send it to your phone with Telegram or Push Notification.

Remember this price

Node: Data Store

Data Store Set saves the new number as last-price for the next change.

Remember this price in the AWFlow editorRemember this price in the AWFlow editor

Run it and check the result

Save and activate the workflow. Keep the product page open. Element Change only watches pages that are open in the browser. To try it without waiting for a sale, open the page's developer tools and edit the price text to a lower number. A Price dropped! notification appears.

Common problems

It never fires

The selector doesn't match the price, or the page isn't open. Re-pick the element with the crosshair and check URL Patterns.

The first change never alerts

There's no stored price yet, so the comparison fails once. The second change works.

The number is wrong

The element holds more than the price (such as "Was 99, now 79"). Pick a tighter element, or adjust the Regex Pattern.

Collect only what you need, keep the run rate reasonable, and respect each site's terms of use.

Academy

Learn this properly: build it from scratch.

Short lessons with a quiz at the end of each module.

Skip the steps. Install the template.