Configuring Slack webhooks in Oh Dear
You can receive Slack notifications by configuring webhooks that receive data. Every time the webhook is called, the data will be posted to a channel in your Slack.
Update: as of May 2020, we have replaced the Slack Webhook alerts with a new, feature-rich, Slack application that provides many more options.
To configure the new type of alerts, please refer to the Slack configuration documentation.
Getting started #
This guide assumes you've followed our Getting Started documentation to know where you can configure your notifications.
Create a Slack incoming webhook #
In your Slack account, on the web interface, you can navigate to Apps and add an incoming webhook.
Once you're in the Apps section, create a new incoming webhook and set the default channel to where you'd like your notifications to be sent to.
You'll get a webhook URL in return, we'll use that to add the notifications in Oh Dear.
Add the webhook to Oh Dear #
Now that you've created the webhook, copy/paste the URL in our notification settings. Next up, determine which events should be sent and you're done.
For more details, see the official Slack documentation on webhooks.
Testing the Slack alerts #
Head over to the Send test tab to test the alert and you're all set!