Skip to main content
Cloud Insights

Webhook Example for Slack

Contributors netapp-alavoie

Webhooks allow users to send alert notifications to various applications using a customized webhook channel. This page provides an example for setting up webhooks for Slack.

Note This page refers to third-party instructions, which could be subject to change. Refer to the Slack documentation for the most up-to-date information.

Slack Example:

  • Go to https://api.slack.com/apps and Create a new App. Give it a meaningful name and select the Slack Workspace.

    Create Slack Webhook

  • Go to Incoming Webhooks, click on Activate Incoming Webhooks, Request to Add New Webhook, and select the Channel on which to Post.

  • Copy the Webhook URL. You will need to paste this into the Cloud Insights webhook configuration.

Create Cloud Insights Webhook:

  1. In Cloud Insights, navigate to Admin > Notifications and select the Webhooks tab. Click +Webhook to create a new webhook.

  2. Give the webhook a meaningful Name, such as "Slack Webhook".

  3. In the Template Type drop-down, select Slack.

  4. Paste the URL from above into the URL field.

Slack webhook template

Notifications via Webhook

To notify on events via webhook, in Cloud Insights navigate to Alerts > Monitors and click +Monitor to create a new monitor.

  • Select a metric and define the monitor's conditions.

  • Under _Set up team notification(s), choose the Webhook Delivery Method.

  • Choose the "Slack" webhook for the desired events (Critical, Warning, Resolved)

    Webhook Notifications

More information: