Docs menu

    Slack alerts

    Post alerts to a Slack channel with an incoming webhook.

    Add a Slack channel

    Slack posts an alert into the Slack channel the webhook belongs to. Create an incoming webhook for that channel, then paste its URL. After saving, only the end of the URL is shown.

    1. In Slack, create an incoming webhook for the channel that should get alerts.
    2. Open Alerts. Under Add channel, set Type to Slack.
    3. Paste the URL into Slack incoming webhook URL.
    4. Choose Add channel.
    A Slack incoming webhook. Only the end of the URL is shown after you save.
    The Add channel form with Type set to Slack and Slack incoming webhook URL set to a https://hooks.slack.com/services/ address. On a paid plan, the SMS (Coming soon) question is under Type, and Add channel is at the bottom.The Add channel form with Type set to Slack and Slack incoming webhook URL set to a https://hooks.slack.com/services/ address. On a paid plan, the SMS (Coming soon) question is under Type, and Add channel is at the bottom.

    The server accepts only https://hooks.slack.com/, with no other host, no name and password in the URL, and no custom port. A value that isn't a URL is rejected by the form before that check. If Slack isn't on your plan, Type shows Slack (paid plans).

    Choose Replace URL to paste a new one. The field is New Slack incoming webhook URL, and the button is Save URL. The message is a Slack post: what happened, the monitor, the status page, and the project. Send test is described on How alerts work.

    When it fails

    • Invalid URL

      Why: The value is not a URL.

      What to change: Paste the webhook URL.

    • Slack webhook URL must be HTTPS

      Why: The URL is not https.

      What to change: Use the https URL Slack gave you.

    • Slack webhook URL must start with https://hooks.slack.com/

      Why: The host is not hooks.slack.com, or the URL has a port or a name and password.

      What to change: Paste the incoming webhook URL.

    • Could not replace the URL. Try again.

      Why: Replacing the URL did not finish.

      What to change: Try again.