Conditional actions on web page changes!
Subscribe to changedetection.io tutorialsStarting with version v0.49.9, Changedetection.io introduces one of its most powerful features yet: conditional actions. This opens the door to much more precise and flexible monitoring.
It’s no longer just about detecting when content changes — now you can define exactly what kind of change matters to you. For example, trigger an alert only when a product’s price drops below a certain threshold, or when a keyword appears in the updated content.
With full support for logic operators, you can create rich, rule-based conditions using logic like “greater than,” “less than,”, "contains", "not contains" and more.
So let's get on with a really great example - Monitor when temperatures in Berlin are "extreme" (less than -20c or greater than +38c)
Let's add the web page we want to monitor for changes (Berlin Weather)

Let's set-up our conditional change detection filter
Let the page fetch, then click [EDIT]

Then, using the Visual Filter Selector tab, choose the number, in this case we will click on the current temperature, a balmy 9.2°C. When the element is selected and click a red border will appear.
It's important to choose the right part of the web-page for change-detection, otherwise the number extractor wont know exactly which number is important to you.

Then, hop on over to the CONDITIONS tab

Let's explain a little what we see here
- "Match any of the following" - This acts as 'OR', so any rule will trigger on change
- "Extracted number after 'Filters & Triggers" - We only want to look for a number inside of any filters we specified (This could be the Visual Selector, Text filters from other tabs etc)
- Using these two buttons we can then add an extra [ + ] rule after this one, or remove it [ - ]
Testing the rules!
Since the page is already fetched, It's nice to know if the rule currently will pass or fail, for this we can press the "tick" button, this will verify that rule row only and report if it PASSES or FAILS.
If you look closely you can see that after pressing the "verify" tick button you can see the text "extracted number value was 9.2" below the rules, this lets us know what the situation is and so we know if the right value is being extracted
Other interesting checks
- Text contains (or does not contain)
- Text length is greater than (or shorter than)
- Text begins with (or does not begin with)
- Text equal to (or does not equal)
- plus more!
Wrapping up
Of course now you can head over to the Notifications tab and setup your slack, email, discord or which ever format you and your team love the most.
This is how you can simply setup Conditional changes, this is just a simple example but there are so many other amazing ways to use this functionality, we encourage you to explore and play with this new tool :)
Conditional web page change alerts: questions and answers
What is a condition in changedetection.io?
A rule that is tested every time the page is checked. A change only counts, and a notification is only sent, when your rules pass. Everything else is quietly skipped.
Can I get an alert only when a price drops below a certain amount?
Yes. Pick the price with the Visual Filter Selector, then add the rule Extracted number after 'Filters & Triggers', Less Than, and your amount. For shop product pages there is also a mode made for prices and stock: see how to track competitor website changes and prices.
Can I combine several conditions?
Yes. The + button adds another rule. With Match all of the following every rule has to pass (AND), with Match any of the following one is enough (OR).
Which checks can I use in a condition?
For numbers: Greater Than, Less Than, Greater Than or Equal To, Less Than or Equal To, Equals and Not Equals. For text: Contains, Does NOT Contain, Text Starts With, Text Ends With, Length minimum, Length maximum, Text Matches Regex and Text Does NOT Match Regex.
Can I only get an alert when a certain word is on the page?
Yes: choose Page text after 'Filters & Triggers', Contains, and the word. Contains looks for the exact spelling, capitals included, so "recall" does not match "Recall". Use Text Matches Regex when upper or lower case shouldn't matter. If keywords are all you need, keyword triggers are the shorter way.
Can I ignore small changes and only hear about big ones?
Yes. Levenshtein - Text similarity ratio compares the new text with the last saved version: 1 means identical, 0 means nothing in common. The rule "Less Than 0.9" only lets a change through when the page is less than about 90% the same as before. I tried it on a news page: one new headline was skipped, a rewritten page sent the alert.
How do I test a condition without waiting for the page to change?
Press the ✓ button next to the rule. It runs that rule against the latest snapshot of the page and shows the value it found, so you know straight away if you picked the right part of the page.
Do conditions work together with filters and keyword triggers?
Yes. Conditions look at the text that is left after the Filters & Triggers tab has done its work, so you can cut the page down to the part you care about first and then put a rule on it.