On this page

Optimizing Alerts with Conditions

Take control of your notifications with conditions—powerful filters that ensure you receive alerts only when changes meet your specific criteria. This eliminates notification noise and helps you focus on what truly matters.

How Conditions Work

Distill uses a two-step process to determine when to send alerts:

  1. Change detection - The monitor identifies a change on the webpage
  2. Condition evaluation - The detected change is tested against your defined criteria (both global and local conditions)

Alerts are sent only when both steps succeed, ensuring every notification is relevant and actionable.

Examples

Price Alerts

Monitor product prices and get notified only when they reach your target:

  • Without Conditions: You’ll receive alerts for every price change, even minor fluctuations
  • With Conditions: Alert only when the price drops below your threshold—for example, notify when an $80 item falls below $70 using: Added text has number less than (<) 70

Keyword Monitoring

Track specific terms or phrases appearing on monitored pages:

  • Scenario: You want alerts only when certain keywords appear in new content
  • Solution: Create conditions targeting specific keywords. For a single keyword, use: Added text contains yourkeyword. For multiple keywords, combine conditions with OR: Added text contains keyword1 OR Added text contains keyword2

This approach is ideal for job postings, news monitoring, or tracking competitor mentions.

Global and Local Conditions

Distill offers two types of conditions to give you flexible control over your alerts:

Global conditions apply to every monitor that matches a filter. Each set of global conditions has its own filter in Apply to monitors matching filter. The filter uses the Watchlist search syntax, but ignores device:. Leave it empty to apply the conditions to all monitors.

To access global conditions:

  1. Click More watchlist actions (☰) in the Watchlist toolbar.
  2. Select Global Conditions.
Screenshot of the open More watchlist actions menu in the Watchlist toolbar. Badge 1 marks the menu button with the ☰ icon and badge 2 marks Global Conditions, between Global Actions and AI Summary.

Local conditions apply to individual monitors, allowing you to set specific rules for each page you’re tracking.

When both global and local conditions exist, alerts trigger only when the change satisfies all conditions from both levels. This AND logic ensures maximum precision in your notifications.

Add or delete conditions

Managing conditions for individual monitors is straightforward:

  1. Click the menu button on any monitor in your watchlist
Conditions - Distill Web Monitor
  1. Select Edit Options from the menu
  2. In Conditions, click Add Condition to create a new filtering rule, or click the cross icon next to a condition to remove it.
Screenshot of the Conditions section of a monitor's options with no conditions yet. It shows Global Conditions: 0, the Test conditions button and Add Condition, which is outlined in orange.
  1. Save your changes to activate the new condition settings

Your conditions take effect immediately and will be evaluated against all future changes detected on that monitor.

Text Types

Understanding text types is crucial for creating effective conditions. Distill offers different text types that let you apply conditions to specific portions of the monitored content.

Example - Changes in the monitored content

Let’s examine how text types work with a practical example:

  • Original Text: “Distill is an awesome monitoring app for web”
  • Updated Text: “Distill is the best web monitoring app”

In the change history, additions appear highlighted in green by default. Deleted content isn’t shown unless you turn on Deleted.

Screenshot of the newest change history entry of a monitor. It shows Distill is the best web monitoring app, with the best web monitoring app highlighted in green. The Deleted checkbox in the entry's toolbar is off and outlined in orange.

The table below demonstrates how different text types capture this change. Notice that “web”, “monitoring” and “app” are in both Added text and Deleted text: these words only moved, so Net added text and Net deleted text leave them out.

Text Type Description Values based on the above example
Text Applies conditions to the whole monitored text, suitable for comprehensive content analysis. Distill is the best web monitoring app
Added text (Preferred) Targets only the text that was added after the latest change, ideal for incremental updates or additions. Use case: Trigger a notification when new keywords are added to a document. the best web monitoring app
Deleted text Focuses on text that was deleted during the latest update, critical for tracking content removal. Use case: Alert when specific terms are removed from a policy document. an awesome monitoring app for web
Previous text Conditions are evaluated on the whole text available before the latest change. Distill is an awesome monitoring app for web
Net added text Evaluates on the added text and ignores reordering of the texts. Use case: Ideal for dynamic content like news feeds, product lists, and ticketing sites that frequently reorder text sections. Use case the best
Net deleted text Works like Net added text, ignores reordering of text. Use case: Ideal for dynamic content like news feeds, product lists, and ticketing sites that frequently reorder text sections. an awesome for

Tip: Click the bell icon in the change history to view the actual values for each text type and see how your conditions were evaluated when the alert triggered. This debugging tool helps you fine-tune your conditions for optimal results.

Values of Text Types

Inputs for other monitor types

Some monitor types offer other inputs in the condition’s first menu:

  • Webpage monitors - Summary applies conditions to a field of the AI Change Summary, such as change_summary or important. Choose Summary, then pick or type the field name. Summary appears when Summarize Changes is on in the workspace’s AI Summary settings.
  • JSON monitors - Data and Previous Data take the place of Text and Previous text. Type a path after them to test one value, with keys separated by dots, such as items.0.price. Leave the path empty to test the whole data. When the path leads to a list, contains and similar conditions match if any item matches.
  • Website monitors - URL is the address of each changed page. Added URLs and Deleted URLs list the pages added or deleted in the check.

Global conditions offer only the text types in the table above.

Condition Types

Distill provides a comprehensive set of condition types to match virtually any monitoring scenario. Combine multiple conditions using AND/OR logic to create sophisticated alert rules tailored to your specific needs.

Type Description
containsChecks if the text includes a specified keyword or phrase.
does not containVerifies that the text does not include the specified keyword or phrase, similar to contains.
starts withDetermines if the text begins with a specified text.
doesn't start withEnsures the text does not start with a specified text.
ends withChecks if the text ends with a specified text.
doesn't end withConfirms the text does not end with the specified keyword or phrase.
is emptyVerifies if the text is empty.
is not emptyConfirms that the text is not empty.
has number less than (<)Applies when the numeric value in the text is less than the specified number.
has number more than (>)Applies when a numeric value in the text is more than the specified number.
has number that decreased more than (-Δ >)Checks if the numeric value has decreased by more than the specified amount.
has number that increased more than (+Δ >)Determines if the numeric value has increased by more than the specified amount.
has number that decreased more than percent (-Δ% >)Verifies if the numeric value has decreased by more than the specified percentage.
has number that increased more than percent (+Δ% >)Checks if the numeric value has increased by more than the specified percentage.
length is less thanApplies to texts whose length (number of characters) is less than the specified amount.
length is greater thanUseful for texts whose length is greater than the specified number of characters.
matches regular expressionAllows for matching text against a specified regular expression pattern. This can be used for case-sensitive matching. gim flags can be added based on the need. g stands for global, i stands for insensitive, and m stands for multi. Usage: matches regular expression \w+ checks for one or more word characters (a–z, A–Z, 0–9, _).
doesn't match regular expressionUsed for cases where the text should not match the specified regular expression pattern.
doesn't match any previous textUsed for cases to track if the latest text change differs from any previous updates in the change history. Use case

Build complex filtering logic by combining multiple conditions using AND or OR operators:

  • AND - All conditions must be true for the alert to trigger (stricter filtering)
  • OR - At least one condition must be true for the alert to trigger (broader filtering)

Important Notes:

  1. Case sensitivity - contains and does not contain ignore case, so product matches both “Product” and “product”. starts with, ends with, doesn't start with and doesn't end with are case-sensitive. Regular expressions ignore case only with the i flag, which is on by default.
  2. Numeric conditions - Work best when your selection contains a single number. With multiple numbers present, the condition evaluates each number independently and triggers if any match occurs.
  3. Increase and decrease conditions - The -Δ and +Δ conditions compare each number with the number at the same position in the previous version. For Added text, the previous version is the deleted text. They are available only for Text, Added text and Summary, and for Data in JSON monitors.

Number Format For Numeric Conditions

Accurate numeric comparisons require proper number formatting. Distill defaults to the United States format (e.g., 1,000.00 for one thousand).

Number Format appears below the conditions once you choose a numeric condition, such as has number less than (<). If the page uses another regional format, pick it there: A: 1,000,000.00 (the default), B: 1.000.000,00 or C: 1 000 000,00. This ensures decimal points and thousand separators are interpreted correctly for precise price tracking and numeric alerts.

Screenshot of the condition Added text, has number less than (<), 70. Below it, the Number Format menu shows A: 1,000,000.00 and is outlined in orange.

Testing Conditions

Before deploying conditions to live monitors, validate their logic using Distill’s built-in testing tools. Test against historical data from your change history or custom sample data to ensure your conditions work as expected across different scenarios.

Access the Test Condition feature from:

  • The Conditions section on any monitor’s Options Page
Screenshot of the Conditions section of a monitor's options with the condition Added text, has number less than (<), 70. The Test conditions button at the top right is outlined in orange.
  • The Condition Debugger window in your change history

How testing works:

By default, Previous Text and Text hold two versions from the change history. To test your own sample text, choose Custom Data in the menu above each one and type the text.

In the screenshot below, the condition Added text has number less than (<) 70 is tested on custom data where the price drops from $80 to $75. The added text is $75, which is not less than 70, so Final result is False: this change would not trigger an alert. This helps you refine your conditions before they affect real monitoring.

Screenshot of the Test Conditions window. Previous Text holds Price: $80 and Text holds Price: $75, both set to Custom Data. Variables lists Added Text $75 and Deleted Text $80. Monitor Conditions shows Added text, has number less than (<), 70 as False. The two Custom Data menus and Final result: False are outlined in orange. Click the image to open it at full size.

Notification Status and Condition Debugger

Distill’s Change History records every detected change, providing a complete audit trail regardless of whether conditions were met.

When a change meets your condition criteria:

  • Configured alerts are sent (email, SMS, push notification, etc.)
  • The monitor’s status changes to “unread” in your watchlist
  • A bell icon appears in the change history entry

Understanding the Condition Debugger:

Click any bell icon to open the Condition Debugger, which reveals exactly how your conditions were evaluated. The Monitor Conditions header shows the result: True means all conditions passed and alerts were sent; False means conditions weren’t met and no alerts went out.

Each change history entry starts with a bell: a plain bell when the change triggered a notification, a crossed-out bell when it did not.

Screenshot of a monitor's change history with five collapsed entries, each with a bell before its date. The newest entry has a plain bell and the Oct 30 entry a crossed-out bell, both outlined in orange; the older entries alternate the same way.

Example of a triggered alert’s condition evaluation. The monitor alerts when the text contains Pro or Enterprise. The new text contains “Pro”, so the first condition is True, the second is False, and Monitor Conditions is True:

Screenshot of the Notification triggered window. Previous Text is Annual billing now saves 20 percent and Text is Pro plan storage doubles to 200 GB, with the Variables beside them. Below, Monitor Conditions is True: Only continue if Text contains Pro is True, and Or continue if Text contains Enterprise is False.

Debugging non-triggered changes:

When a change doesn’t meet your conditions, the bell icon is crossed out. Click it anyway to review the evaluation details and understand why the alert didn’t fire—this insight is invaluable for troubleshooting and refining your conditions.

Common Use-Cases for Text Alerts

Learn from these practical examples to build effective conditions for your monitoring needs:

Alert on text additions only

Ignore deletions and focus only on new content:

  • Added text is not empty

Ignore minor changes

Filter out insignificant updates by requiring a minimum character count:

  • Added text length is greater than 10

This prevents alerts for trivial changes like single character typos or minor punctuation updates.

Alert on price increases only

Track when prices go up to monitor inflation or repricing:

  • Added text has number that increased more than (+Δ >) 0

Case-sensitive keyword matching

Match exact capitalization when it matters (e.g., brand names, acronyms):

  • Added text matches regular expression your-keyword with gm flag (omitting the i flag makes the match case-sensitive)

Alert on alphabetic changes only

Ignore price and date changes, focusing only on text content updates:

  • Added text matches regular expression [a-zA-Z]{1,} with gim flag

This regular expression matches one or more alphabetic characters, perfect for monitoring text-only changes.

Screenshot of the condition Added text, matches regular expression, with [a-zA-Z]{1,} in the expression field and gim in the flags field.

Numeric change alerts

Monitor only numerical updates (prices, stock counts, statistics):

  • Added text matches regular expression [0-9]{1,}

This pattern matches one or more numeric characters, filtering out text-only changes.

Monitor multiple keywords

Alert when any of several keywords appear in new content:

  • Added text matches regular expression keyword1|keyword2|keyword3|keyword4 with gim flag

The pipe (|) acts as an OR operator in regular expressions. Alternatively, create separate conditions with the contains type and connect them with OR for easier management.

Alert only for truly new content

Prevent duplicate alerts when content flip-flops or temporarily changes:

  • Text doesn't match any previous text

Use case: Job listing sites often add and remove the same positions. This condition ensures you’re only alerted about genuinely new postings, not recurring ones.

Example configuration:

Screenshot of the condition Text, doesn't match any previous text. This condition takes no value.

In the example below, the newest text, “Book sale helper, first Sunday of the month”, already appeared on Oct 25, so no alert triggers and the newest entry’s bell is crossed out:

Screenshot of a monitor's change history. The newest entry, at 12:00 pm, and the Oct 25 entry are open and both show Book sale helper, first Sunday of the month. The newest entry's crossed-out bell is outlined in orange.

Ignore text reordering and focus on actual content changes

Perfect for dynamic pages that frequently rearrange content without adding or removing information:

  • Net added text is not empty - Alerts only for genuinely new content. Example: “ABC” → “BDC” triggers an alert for “D” only, ignoring the repositioning of “B” and “C”. “ABC” → “CAB” triggers no alert since only order changed.

  • Net deleted text is not empty - Alerts only for removed content. Example: “ABC” → “BDC” triggers an alert for deleted “A” only, ignoring repositioned letters and new additions.

  • Combine both conditions (with OR) to catch all net changes while ignoring reordering: Alerts for both “D” added and “A” deleted, but ignores “B” and “C” moving positions.

Ideal for: News feeds, product catalogs, search results, and any content that reorders frequently.

Troubleshooting Common Issues

When alerts don’t behave as expected, use this systematic approach to diagnose and fix condition problems:

  1. Review Change History - Examine your monitor’s change history to see exactly what changes Distill detected. This helps you understand whether the issue is with change detection or condition evaluation.

  2. Analyze Condition Evaluation - Click the bell icon in the change history to see how your conditions were evaluated. This debugger shows you step-by-step which conditions passed or failed, revealing exactly why alerts were or weren’t sent.

  3. Refine Your Conditions - Based on your analysis, adjust conditions for better accuracy. Common fixes include:

    • Narrowing your selection to isolate specific content
    • Switching text types (e.g., from Text to Added text)
    • Adjusting thresholds for numeric conditions
    • Simplifying complex regex patterns

FAQ

Keyword is showing on the page but the alert did not trigger

Alerts are change-triggered, not presence-triggered. Even if your keyword appears on the page, Distill only sends alerts when the monitored content actually changes. If the keyword was already present and hasn’t been newly added, no alert will fire. This design ensures you’re notified about changes, not static content.

Not receiving an alert even after removing conditions

Your issue likely involves global conditions. Global conditions apply to every monitor that matches their filter, so even after removing local conditions from a specific monitor, the global conditions still filter alerts. Check them in More watchlist actions (☰) → Global Conditions in your Watchlist.

Numeric Conditions are triggering unwanted alerts

Numeric conditions work optimally with single-number selections. When your monitored area contains multiple numbers (like a product listing with prices, ratings, and review counts), the condition evaluates each number independently—potentially causing unexpected alerts. Solution: Refine your selection to isolate only the specific number you want to monitor, such as just the price or just the stock count.

How to ignore changes triggered due to change in position of text?

Use the Net added text and Net deleted text text types: Net added text is not empty OR Net deleted text is not empty. These special text types intelligently ignore content reordering and movement, alerting only when content is genuinely added or removed. Perfect for dynamic lists, search results, and feeds. See the detailed use case for examples.

How to ignore Flip-Flopping Text Changes?

Use the condition: Text doesn't match any previous text. This prevents alerts when content reverts to a previous state. Common for seasonal messages, rotating promotions, or job listings that reappear. See the complete guide for configuration details.

Was this article helpful? Leave a feedback here.