Configuring Slack Integration

StatusDrift integrates with Slack to send real-time notifications about your monitor status changes directly to your Slack workspace. This guide walks you through the process of setting up and configuring the Slack integration.

What This Integration Does

When connected to StatusDrift, the Slack integration sends notifications to your specified channel whenever:

  • A monitor goes down (becomes unavailable)
  • A monitor recovers (comes back online)
  • SSL certificate issues are detected
  • Performance thresholds are exceeded

Prerequisites

Before configuring the Slack integration, ensure you have:

  • A Slack workspace with permission to add incoming webhooks
  • A StatusDrift account with at least one monitor configured

Step 1: Create a Slack Webhook

First, you need to create an incoming webhook in your Slack workspace:

  1. Go to https://api.slack.com/apps and sign in to your Slack workspace
  2. Click Create New App and select From scratch
  3. Enter an app name (e.g., “StatusDrift Alerts”) and select your workspace
  4. In the app settings, navigate to Incoming Webhooks
  5. Toggle Activate Incoming Webhooks to On
  6. Click Add New Webhook to Workspace
  7. Select the channel where you want notifications to appear
  8. Copy the webhook URL provided

Step 2: Add the Slack Channel in StatusDrift

Now configure the integration in your StatusDrift dashboard:

  1. Log in to your StatusDrift account at app.statusdrift.com
  2. Select Notifications in the sidebar
  3. Click Add channel
  4. Under Choose Service, click the Slack tile to open the Configure step
  5. Enter a descriptive name for this channel (e.g., “Engineering Alerts”)
  6. Paste the webhook URL you copied from Slack
  7. Optionally, specify a channel name to override the default
  8. Optionally, set a custom username for the bot
  9. Click Create Channel
Slack channel form in StatusDrift with fields for the webhook URL, an optional channel override and a custom username
The Slack configuration form in StatusDrift

Step 3: Assign to Monitors

After creating the notification channel, assign it to the monitors you want to receive alerts for:

  1. Go to Monitors in the sidebar
  2. Select the monitor you want to configure
  3. Open the monitor’s actions menu (⋯), choose Edit and go to the Alert Configuration tab
  4. In an alert rule, select your Slack channel in the Channels field (click Add Alert first if the monitor has no alert rules)
  5. Save your changes

Testing the Integration

To verify your Slack integration is working correctly:

  1. Return to Notifications in the sidebar
  2. Find your Slack channel in the list
  3. Open the channel’s actions menu (⋯) and choose Send test, or open the channel and click Test
  4. Check your Slack channel for a test notification

If you do not receive the test notification, verify that your webhook URL is correct and that the Slack app has the necessary permissions.

Configuration Options

The Slack integration supports the following configuration options:

FieldRequiredDescription
Webhook URLYesThe Slack incoming webhook URL
ChannelNoOverride the default channel specified in the webhook
UsernameNoCustom bot username for messages

Troubleshooting

Notifications not appearing in Slack

  • Verify the webhook URL is correct and has not been revoked
  • Check that the Slack app is still installed in your workspace
  • Ensure the channel specified still exists

Test notification works but alerts do not

  • Confirm the notification channel is assigned to your monitors
  • Check that the monitor is active and not paused

Was this article helpful?