AdminUpdated March 2026

Set Up Discord Alerts

Send real-time call and agent alerts to a Discord channel via webhook.

SureConnect can send real-time alerts to a Discord channel for call events, agent status changes, and system health notifications. Each alert type has a distinct color for easy scanning.

Steps

  1. 1

    Create a Discord webhook

    In your Discord server, go to the channel where you want alerts. Click the gear icon to open channel settings, then go to Integrations > Webhooks. Click New Webhook, give it a name (e.g., "SureConnect Alerts"), and click Copy Webhook URL.

  2. 2

    Add the webhook URL to SureConnect

    The Discord webhook URL is configured as an environment variable (DISCORD_WEBHOOK_URL) in your deployment settings. Add it to your Vercel environment variables or your local .env file.

  3. 3

    Verify alerts are working

    Make a test call to one of your tracking numbers. You should see alerts appear in your Discord channel for the call events.

Alert types

AlertColorWhen it fires
Call ConnectedGreenA call successfully connects to an agent.
Call CompletedGrayA call ends, showing duration and disposition.
Routing FailureRedNo agents available for an inbound call.
Call QueuedYellowA caller enters the hold queue.
Call DequeuedTealA queued caller is connected to an agent.
Queue AbandonedOrangeA caller hung up or exceeded max wait time.
Callback CreatedPurpleA callback follow-up is created for a missed call.
Agent OnlineBlueAn agent connects their softphone.
Agent DroppedOrangeAn agent's connection dropped unexpectedly.
Ghost AgentsRedStale agent connections detected and cleaned up.
All Discord alerts are fire-and-forget. If the webhook URL is not configured or the webhook fails, alerts are silently skipped — they never block call processing.
Create a dedicated Discord channel for SureConnect alerts so they do not get lost in general conversation. You can mute notifications on the channel and check it periodically, or set Discord notification rules to only alert on red (Routing Failure) events.