# Send downtime alerts to Slack

Get StatusCheck downtime and recovery alerts in a Slack channel. Connect the channel, pick its events, and choose which monitors post there.

Connect a Slack channel to get a message there when a monitor goes down, when it recovers, and when you post a status update. People who only read the channel do not need a StatusCheck seat.

Slack is available on every plan. You can connect as many channels as you like, one connection per channel.

**Before you start**

- You need the **Owner**, **Admin** or **Editor** role in the StatusCheck workspace.
- You need permission to add apps to the Slack workspace. Some Slack workspaces require an admin to approve every new app. If you are not sure, ask whoever manages your Slack workspace.
- Create the channel in Slack first, for example `#alerts-production`. StatusCheck can only post to a channel that already exists.

## Connect a Slack channel

1. In StatusCheck, open **Integrations** in the sidebar and choose **Slack**.

2. Select **Add to Slack**. StatusCheck sends you to Slack.

   ![The Slack integration page in StatusCheck, with the three setup steps, the permission requested and the Add to Slack button.](https://www.statuscheck.io/_astro/integration-slack.ClvEfFmb.png)

3. In Slack, choose the workspace if you belong to more than one.

4. Choose the channel that should receive alerts from the list.

5. Select **Allow**. StatusCheck asks only to post messages to the channel you chose. It cannot read messages or see other channels.

Slack returns you to StatusCheck. The connection is named after the channel, and its status reads **Connected**.

If Slack does not show what you expect:

- **Wrong workspace.** Switch it from the workspace menu on Slack's page.
- **The channel is missing from the list.** Check that it exists and, for a private channel, that you are a member of it.
- **Slack offers to send a request instead of showing Allow.** Your workspace needs an admin to approve the app first. Send the request, and repeat these steps once it is approved.

To post to another channel as well, open the Slack integration again and select **Add another channel**. Each channel is its own connection with its own events, so one channel can get recoveries while another gets outages only.

## Choose which events the channel receives

Each connection has an **Events** section. A new connection receives all three.

![A connected chat integration showing the Send test alert and Disconnect buttons and the Events checklist: Monitor down, Monitor recovered and Status updates.](https://www.statuscheck.io/_astro/integration-connected.DyBXebI9.png)

| Event | When it is sent |
| --- | --- |
| **Monitor down** | A failure has been confirmed from a second location and an incident has opened. If the monitor's **Resend while down** setting is on, reminders follow at that interval. |
| **Monitor recovered** | The monitor's recovery has been confirmed. The message includes how long the outage lasted. |
| **Status updates** | Someone posts an update to a status page, including the update that resolves it. |

Clear the events you do not want and select **Save events**.

## Send a test alert

On the Slack integration page in StatusCheck, select **Send test alert** on the connection. A test message arrives in the channel within a few seconds. If it does not, the connection's status changes to **Failing** and the error from Slack appears under **Last event** in the **Details** card.

Send another test whenever someone renames, archives or changes the permissions of the channel.

## Send a monitor's alerts to the channel

Connecting Slack does not change any monitor. A monitor's alerts go only to the channels you select on that monitor.

1. In StatusCheck, open **Monitors** in the sidebar and select the monitor.

2. Open the **Notifications** tab.

3. Under **Channels**, select the Slack connection. It is listed by channel name.

4. Select **Save changes**. The monitor's next down alert goes to the channel.

![A monitor's Notifications tab. The Channels row lists the connected integrations, with one selected, followed by the Email options and the alert timing settings.](https://www.statuscheck.io/_astro/monitor-notifications.DC4PjIsF.png)

Status updates work differently. They go to every connection that has **Status updates** turned on, whatever monitors it is attached to. A status update describes your service, not one monitor.

## What the Slack message contains

Each message has a title that names the monitor and what happened, followed by one line per fact:

- the location that detected the failure
- the status code and failure reason, for example `HTTP 503 · ERR_UNEXPECTED_STATUS` (the status code is the number your server answered with; `503` means unavailable)
- when the outage started, and for a recovery, when it ended and how long it lasted
- the monitor's URL, if **Show URL in notifications** is on for that monitor
- a **View incident** button that opens the incident in StatusCheck

Times are in UTC.

## Disconnect a channel

In StatusCheck, open **Integrations** in the sidebar and choose **Slack**. Find the connection and select **Disconnect**. Alerts stop immediately, and every monitor that sent alerts to that channel stops referring to it. Reconnecting later does not restore those monitor settings, so select the channel on each monitor again.

To remove the app from Slack entirely, also remove the StatusCheck app in your Slack workspace's app settings. If you cannot find them, ask whoever manages your Slack workspace.

## Troubleshooting

**"Slack authorization was cancelled."** You closed the Slack window or declined the permission. Select **Add to Slack** again.

**The test alert works but monitor alerts never arrive.** Check the monitor's **Notifications** tab. The channel must be selected there, and **Monitor down** must be turned on in the connection's events. Also check that the monitor is not muted.

**Alerts stopped after a channel was archived.** Slack stops accepting messages for an archived channel. Disconnect the old connection and add the new channel.

## Related

- [How alerts work](/docs/alerts/) explains delays, reminders and muting.
- [Respond to an incident](/docs/incidents/) covers acknowledging and resolving what the alert is about.
- [Post a status update](/docs/status-pages/status-updates/) explains the updates this channel can receive.
- [Microsoft Teams](/docs/alerts/microsoft-teams/), [Discord](/docs/alerts/discord/), [Google Chat](/docs/alerts/google-chat/) and [Telegram](/docs/alerts/telegram/) connect the same way. [Webhooks](/docs/alerts/webhooks/) reach any other tool.
