Amir Kamal
05/08/2026, 7:28 AMMarvin
05/08/2026, 7:28 AMMarvin
05/08/2026, 7:29 AMsend-notification action
So instead of configuring a standalone notification policy, you now create an automation that:
- watches for an event, like prefect.flow-run.Failed
- then performs an action, like sending Slack / Teams / PagerDuty / SMS / webhook notifications
Example mental model:
- old: “notify me when flow runs fail”
- new: “create an automation triggered by failed flow run events, with a send-notification action”
If you were already using notifications before upgrading, Prefect 3.7.0 should have automatically migrated those notification policies into automations.
Useful docs:
- Automations concept guide
- Create automations
- Custom notifications
- Notification blocks API
You’ll generally use notification blocks like:
- SlackWebhook
- MicrosoftTeamsWebhook
- PagerDutyWebHook
- TwilioSMS
- CustomWebhookNotificationBlock
If you want, I can also show you:
- how to recreate an old “notify on failure” setup in Prefect 3.7.0, or
- where to find the migrated automations in the UI.