Configuring Discord Integration

StatusDrift integrates with Discord to deliver real-time monitoring alerts directly to your Discord server. This guide explains how to set up and configure the Discord integration for your StatusDrift monitors.

What This Integration Does

The Discord integration sends webhook notifications to your Discord channel when:

  • A monitor detects downtime
  • A monitor recovers from an outage
  • SSL certificate problems are identified
  • Response time exceeds configured thresholds

Prerequisites

Before setting up the Discord integration, you need:

  • A Discord server where you have permission to manage webhooks
  • A StatusDrift account with at least one monitor configured

Step 1: Create a Discord Webhook

First, create a webhook in your Discord server:

  1. Open Discord and navigate to your server
  2. Right-click on the channel where you want alerts to appear
  3. Select Edit Channel
  4. Go to the Integrations tab
  5. Click Create Webhook (or View Webhooks then New Webhook)
  6. Give your webhook a name (e.g., “StatusDrift Alerts”)
  7. Click Copy Webhook URL
  8. Click Save Changes

Step 2: Add the Discord Channel in StatusDrift

Now configure the integration in StatusDrift:

  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 Discord tile to open the Configure step
  5. Enter a descriptive name for this channel
  6. Paste the webhook URL you copied from Discord
  7. Optionally, customize the username that appears for messages
  8. Optionally, add a custom avatar URL for the bot
  9. Click Create Channel
Discord channel form in StatusDrift with fields for the webhook URL, a custom username and an avatar URL
The Discord configuration form in StatusDrift

Step 3: Assign to Monitors

Connect the notification channel to your monitors:

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

Testing the Integration

Verify your Discord integration is working:

  1. Select Notifications in the sidebar
  2. Find your Discord 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 Discord channel for the test message

If the test message does not appear, verify that the webhook URL is correct and the webhook has not been deleted from Discord.

Configuration Options

The Discord integration supports these configuration options:

FieldRequiredDescription
Webhook URLYesThe Discord webhook URL for your channel
UsernameNoCustom display name for the bot in messages
Avatar URLNoCustom avatar image URL for the bot

Troubleshooting

Messages not appearing in Discord

  • Verify the webhook URL is correct and complete
  • Check that the webhook has not been deleted from Discord
  • Ensure the channel still exists in your Discord server

Custom avatar not displaying

  • Verify the avatar URL points to a valid, publicly accessible image
  • Ensure the image URL uses HTTPS
  • Check that the image format is supported (PNG, JPG, GIF)

Was this article helpful?