Skip to main content
When you deploy a flow to run on a schedule or in response to events, you can configure the deployment to send a notification when the flow succeeds or fails, so you can stay informed about production runs without watching the UI. Anaconda Platform has built-in support for Slack and PagerDuty notifications. For email, send the notification from a step in your flow.
Slack notifications use an incoming webhook: the platform posts a message to a Slack channel of your choice when the flow succeeds or fails.
1

Create an incoming webhook in Slack

Follow Slack’s incoming webhooks guide to create a webhook for your workspace. At the end of the setup, Slack gives you a webhook URL that looks like this:
Example Slack webhook URL
2

Deploy the flow with notifications enabled

Enable notifications either for a single deploy or by default for all deploys:
Deploy the flow with the --notify-on-error and --notify-on-success flags and the webhook URL:
3

Verify the notification

The next time the deployed flow succeeds or fails, a notification appears in the Slack channel:
Slack notifications showing a deployed flow run that failed and then succeeded after a retry