Join Slack
Powered by
Within prefect 1.0 is it possible to have multiple...
# ask-community
r
Rio McMahon
12/09/2022, 2:44 PM
Within prefect 1.0 is it possible to have multiple slack webhook URLs for different slack channels? e.g. we want to delineate between data engineering and data science prefect alerts (different alerting channels for each). Looking at the docs:
https://docs-v1.prefect.io/core/advanced_tutorials/slack-notifications.html#installation-instructions
it seems like there is only one secret per account called
"SLACK_WEBHOOK_URL"
.
✅ 1
Rio McMahon
12/09/2022, 2:56 PM
Looking at this - looks like we can pass in the name of the prefect secret here:
https://github.com/PrefectHQ/prefect/blob/e6bd04abb5580eb79bde12b9ad3845e9f1d1479c/src/prefect/utilities/notifications/notifications.py#L253
🙌 1
m
Mason Menges
12/09/2022, 6:06 PM
Yep, passing them in as secrets in the notifier should work completely fine, they don't have to have the SLACK_WEBHOOK_URL name for it to function 😄
✅ 1
8
Views
Open in Slack
Previous
Next