Conditions let you control exactly when an automation runs, so you're not flooded with alerts for every little change.
Overview
- Without conditions, a rule runs on every matching event.
- With conditions, the rule only runs when the event's details match what you've specified.
- All conditions must match β they're combined with and β unless you use a group (see below).
Add a condition
- Open the automation you want to edit, or start a New automation.
- Under Conditions, select Add condition.
- Choose the Field you want to check. The available fields depend on the trigger you picked β for example, a Domain expiring trigger offers Watched domain and Days until expiry, while a Monitor alert trigger offers fields like status and monitor type.
- Choose an Operator β options include equals, not equals, contains, doesn't contain, greater than, greater or equal, less than, less or equal, is one of, is not one of, is set, and is not set.
- Enter the Value to compare against. You can type a fixed value, or select Insert value to use a placeholder from Earlier values β this lets you compare the field to another piece of live data instead of a fixed one.
- Repeat to add more conditions. Use Move up / Move down to reorder them if needed.
- Select Save automation when you're done.
NoteLeave conditions empty to run the automation on every matching event.
Examples of common conditions
- Domain expiring trigger with Days until expiry less than
14β only warn when renewal is close. - Monitor alert trigger with status equals "down" β act on outages, not recoveries.
- DNS record changed (in-app) trigger with record type is one of A, AAAA β only address records.
- Domain status changed trigger with new nameservers contains "cloudflare" β only when a domain moves to Cloudflare.
Mix "and" and "or" with groups
- Select Add condition as usual for your first rule.
- Select Add group to create a group of conditions with its own Match toggle β choose Any (matches if one condition is true) or Match all (every condition must be true).
- Add your conditions inside the group.
- Combine groups and individual conditions at the top level using Any or All under of these conditions to build logic like "(days left < 14 and tag is production) or the certificate is already expired."
- Groups can be nested inside other groups if your logic needs it.
- Select Remove group to delete a group you no longer need.
Restrict a rule to certain times
- Select Add condition.
- Choose Field, then pick one of the built-in time fields: Day of week, Hour of day (0β23), or Weekend.
- Set the Operator and Value β for example, Hour of day (0β23) greater or equal
18to only act after 6pm, or Weekend equals "no" to restrict to weekdays.
NoteTime-based fields are evaluated in the platform's timezone.
Tips
- Use the Preview (dry run) or Test run option to check whether your conditions would have matched a real event before saving.
- Check {n} of {total} matched in the run history to confirm your conditions are behaving as expected.
TipIf you're not sure which fields are available for your trigger, check the Automation triggers and actions article β each trigger lists its own set of fields.
Was this article helpful?