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.

Slack Apps

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.

Slack Apps

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.

Oh Dear Slack settings

For more details, see the official Slack documentation on webhooks.

Testing the Slack webhooks alerts #

Head over to the Send test tab to test the alert and you're all set!

Was this page helpful to you? Feel free to reach out via support@ohdear.app or on Twitter via @OhDearApp if you have any other questions. We'd love to help!