Description
First check
- I added a descriptive title to this issue.
- I used the GitHub search to find a similar request and didn't find it.
- I searched the Prefect documentation for this feature.
Prefect Version
2.x
Describe the current behavior
Currently we have to add the webhook URL for Teams or SLACK to both - the notification config and the block. Would be great when we could use blocks within the notification setup.
We can specify the webhook url as a block configuration:
and we can add a webhook url in the notification settings as well:
But we may use the same Teams channel for multiple notification scenarios like Flow status (Notification settings) and notification out of the flow itself (Block configuration). Another scenario might be multiple notification settings based on tags so we are notfied for Tag A only when "crashed" but for Tag B we are notified when it "crashed" or "failed".
Describe the proposed behavior
There should be the possibility to either use the webhook URL (current state) or a block configuration to setup notifications via UI.
So we might could have two buttons:
- One to enter a webhook url directly
- One to use a block configuration
Example Use
So we could reuse the same webhook url within flows and multiple notifications.
Additional context
No response