# prefect-community

Claire Herdeman

12/13/2022, 5:46 PM
Hi there! Quick question regarding Notifications, is it possible to set notification settings on a deployment programmatically, or only in the UI?

Sahil Rangwala

12/13/2022, 7:07 PM
Hello @Claire Herdeman! You can programmatically create the notification blocks for any of your webhooks such as Slack, Teams, or email, however the notification tab can only be created and modified from the UI


12/13/2022, 7:21 PM
As for programmatically defining automations that would trigger notifications based on states a deployment could enter (or not enter), this is something were currently thinking about internally

Claire Herdeman

12/14/2022, 4:30 PM
Gochya, thank you! For a now a generic "ping if any flow fails" will serve the purpose we need, it would be cool to set that on a per flow basis but probably not a game changer