Great question — with lots of automations, polling the Runs dashboard gets noisy fast.
Here are the best ways to know exactly when an automation is triggered in Prefect 3.x:
1) Add a Notify action to your automations
- In the Automations UI, edit an automation and add the “Send a notification” action.
- Point it at a Notification block (Slack webhook, email, Teams, or a generic webhook).
- Reuse the same block across all your automations to consolidate alerts in one place (e.g., a single Slack channel).
- Tip: Customize the message so it includes the automation name and a link back to the UI to investigate.
Docs refs:
-
Events and triggers (API reference)
-
Automations (schemas)
2) Use the Automations UI activity view
- Each automation’s detail page shows recent matches and the actions taken, giving you a clean history of when it was triggered and why — more precise than scanning Flow/Task runs.
3) Centralize via a webhook
- If you want a single system of record, configure the action to “Send a notification” to a webhook you control. You can then aggregate, transform, and route alerts however you like.
Helpful CLI for visibility (verified):
- List automations:
prefect automations ls
- Inspect a specific automation:
prefect automations inspect "my-automation"
Add
--json
or
--yaml
to see full details of the trigger and actions.
Questions to tailor this for you:
- Are you on Prefect Cloud or self-hosted?
- What’s your preferred channel for alerts (Slack, email, webhook)?
- Do you want one consolidated feed for all 100 automations or separate destinations per automation?
If you share that, I can suggest a concrete setup (e.g., one shared Slack Notification block with a message template) and help you roll it out efficiently.