Skip to main content

Is it possible to send Slack notifications via Webhook?

Issue

We are trying to send alerts to specific Slack channel via Webhook. I am seeing errors in both the legacy Webhook plugin, and with a Custom Integration.

Applies To

  • Slack Webhooks

Symptoms

  • Slack Webhooks is configured correctly, but I am unable to receive any notifications

Resolution

Sentry’s Webhooks are designed to be received by your own code first, allowing you to transform the data before forwarding it to another service in the required format.

Additionally, Slack expects a specific type of payload, using the Slack webhook directly is not supported. You might be able to get this working by handling the Webhook payload yourself and then sending it to Slack. Otherwise, you should use our first-party Slack integration.

Did this answer your question?