How to Set Up Discord Webhook Notifications with Webhookify

Published Feb 21 202610 min read
Discord webhook setup with Webhookify

Discord has grown far beyond gaming to become a primary communication platform for developer communities, open-source projects, creator communities, and businesses. Managing an active Discord server means keeping track of new members joining, messages in critical channels, moderation events, and community engagement. While Discord has its own notification system, it is limited to the Discord app itself. With Webhookify, you can route Discord server events to Telegram, Slack, Email, or your mobile device, giving you multi-channel awareness of your community activity even when you are not in Discord.

This guide covers two approaches for monitoring Discord events with Webhookify: using Discord's built-in outgoing webhooks for simple integrations, and using a Discord bot with Gateway Events for comprehensive event monitoring. Both approaches are straightforward and can be completed in under 15 minutes.

Why Monitor Discord Webhooks with Webhookify?

  • Cross-Platform Community Awareness: If you manage a Discord community but spend most of your time in Telegram or Slack, Webhookify bridges the gap. Get notified about important Discord activity on your preferred platform without switching apps constantly.

  • New Member Onboarding Alerts: Know immediately when someone joins your Discord server. The GUILD_MEMBER_ADD event triggers a notification with the new member's username, allowing you to welcome them personally or ensure they pass through your onboarding process.

  • Critical Channel Monitoring: Monitor specific Discord channels for important messages. Route messages from channels like #announcements, #bug-reports, or #customer-support to Telegram or Email so you never miss critical community activity.

  • Moderation Awareness: Track moderation events like bans, kicks, and role changes. When a moderator takes action in your server, you receive a notification with the details, providing an audit trail of moderation activity.

  • Server Growth Tracking: Monitor member joins and leaves over time. Webhookify's event log becomes a historical record of your community growth, helping you correlate growth spikes with marketing campaigns, product launches, or viral moments.

Prerequisites

  1. A Discord account with a server where you have admin permissions
  2. Access to the Discord Developer Portal to create an application
  3. A Webhookify account (sign up free at webhookify.app)
  4. At least one notification channel configured in Webhookify (Telegram, Slack, Email, or mobile push)
  5. For the bot approach: basic familiarity with running a simple Node.js or Python script (optional but recommended for full event monitoring)

Step-by-Step Setup Guide

1

Create a Webhookify Endpoint

Log into your Webhookify dashboard at webhookify.app. Click "Create Endpoint" to generate a unique webhook URL:

https://hook.webhookify.app/wh/tuv012wxy345

Copy this URL. Name the endpoint "Discord Server Events" or the name of your specific server. If you manage multiple Discord servers, create a separate endpoint for each one to keep event streams organized.

2

Configure Your Notification Channel

Set up your preferred notification channels in the Webhookify settings. Since you are monitoring Discord events, you will likely want to receive notifications outside of Discord.

For Telegram: Connect the Webhookify bot. This is the most popular option for Discord server owners who want personal alerts about server activity on Telegram.

For Slack: Connect via OAuth if your team uses Slack for work but runs a community on Discord. Route important community events to a Slack channel for team visibility.

For Email: Add email addresses for moderation logs or compliance purposes. Every Discord event is delivered as an email with AI-summarized content.

For Mobile Push: Install the Webhookify app and enable push notifications. This ensures you catch critical server events (like a member reporting an issue or a sudden influx of new members) even when you are away from your desk.

3

Set Up Discord Event Forwarding

Discord offers two primary methods for sending events to external URLs. Choose the approach that best fits your needs.

Method A: Discord Outgoing Webhooks via Integrations (Simple)

Discord does not natively support outgoing webhooks for all event types, but you can use Discord's built-in integration with platforms like IFTTT, Zapier, or Make (Integromat) to forward events to your Webhookify URL. However, the most powerful approach is Method B.

Method B: Discord Bot with Gateway Events (Recommended)

Create a lightweight Discord bot that listens for Gateway Events and forwards them to your Webhookify endpoint. This gives you access to all Discord event types.

  1. Go to the Discord Developer Portal
  2. Click "New Application" and name it (e.g., "Webhookify Monitor")
  3. Navigate to the Bot section and click "Add Bot"
  4. Under Privileged Gateway Intents, enable:
    • PRESENCE INTENT (if you want presence updates)
    • SERVER MEMBERS INTENT (required for member join/leave events)
    • MESSAGE CONTENT INTENT (required to read message content)
  5. Copy the Bot Token -- keep this secret

Now you have two options for deploying the relay:

Option 1: Use a simple relay script. Create a lightweight script that connects to Discord's Gateway and forwards events to Webhookify:

// discord-webhookify-relay.js
const { Client, GatewayIntentBits } = require('discord.js');

const client = new Client({
  intents: [
    GatewayIntentBits.Guilds,
    GatewayIntentBits.GuildMessages,
    GatewayIntentBits.GuildMembers,
    GatewayIntentBits.MessageContent,
    GatewayIntentBits.GuildMessageReactions,
  ]
});

const WEBHOOKIFY_URL = 'https://hook.webhookify.app/wh/tuv012wxy345';

async function forwardToWebhookify(eventType, data) {
  await fetch(WEBHOOKIFY_URL, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({ event: eventType, ...data })
  });
}

client.on('messageCreate', (message) => {
  if (message.author.bot) return;
  forwardToWebhookify('MESSAGE_CREATE', {
    author: message.author.username,
    channel: message.channel.name,
    content: message.content,
    guild: message.guild?.name,
  });
});

client.on('guildMemberAdd', (member) => {
  forwardToWebhookify('GUILD_MEMBER_ADD', {
    username: member.user.username,
    guild: member.guild.name,
    memberCount: member.guild.memberCount,
  });
});

client.on('guildMemberRemove', (member) => {
  forwardToWebhookify('GUILD_MEMBER_REMOVE', {
    username: member.user.username,
    guild: member.guild.name,
    memberCount: member.guild.memberCount,
  });
});

client.login('YOUR_BOT_TOKEN');

Option 2: Use a pre-built Discord-to-Webhook relay like Discord-Webhooks or similar open-source projects that forward Gateway events to arbitrary webhook URLs.

  1. Invite the bot to your server using the OAuth2 URL Generator in the Developer Portal. Under Scopes, select bot. Under Bot Permissions, select the permissions matching your event subscriptions.
4

Choose Which Discord Events to Forward

Customize your relay script to forward only the events you care about. Here are the most useful Discord Gateway events for community monitoring:

Member Events (essential for community growth):

  • GUILD_MEMBER_ADD -- New member joined the server
  • GUILD_MEMBER_REMOVE -- Member left or was removed
  • GUILD_BAN_ADD -- Member was banned
  • GUILD_BAN_REMOVE -- Member ban was lifted

Message Events (for channel monitoring):

  • MESSAGE_CREATE -- New message posted in a channel
  • MESSAGE_UPDATE -- Message was edited
  • MESSAGE_DELETE -- Message was deleted
  • MESSAGE_REACTION_ADD -- Reaction added to a message
  • MESSAGE_REACTION_REMOVE -- Reaction removed from a message

Channel Events (for server structure):

  • CHANNEL_CREATE -- New channel created
  • CHANNEL_UPDATE -- Channel settings changed
  • CHANNEL_DELETE -- Channel deleted

Role Events (for permission tracking):

  • GUILD_ROLE_CREATE -- New role created
  • GUILD_ROLE_UPDATE -- Role permissions changed
  • GUILD_ROLE_DELETE -- Role deleted

Interaction Events (for bot commands):

  • INTERACTION_CREATE -- Slash command or button interaction

Voice Events (for activity tracking):

  • VOICE_STATE_UPDATE -- Member joined, left, or moved voice channels

Filter the events in your relay script to only forward the ones relevant to your use case. For most community managers, member joins/leaves and messages in key channels are the most valuable.

5

Test Your Discord Webhook Setup

Once your bot is running and connected to your server, test the integration:

  1. Post a message in a channel the bot can see. Check Webhookify for the MESSAGE_CREATE event.
  2. Have someone join the server (or use an alt account) to trigger GUILD_MEMBER_ADD.
  3. Add a reaction to a message to trigger MESSAGE_REACTION_ADD.

Check the following:

  1. Webhookify Dashboard: Events should appear in your endpoint's log with the forwarded payload data.
  2. Notification Channel: AI-summarized notifications should arrive on Telegram, Slack, Email, or your phone.
  3. Mobile App: If push notifications are enabled, you should receive alerts for each event.

If events are not appearing, verify that:

  • Your bot is online (check the bot's presence in your server)
  • The bot has the necessary permissions in the channels you want to monitor
  • The Webhookify endpoint URL is correct in your relay script
  • The bot token is valid and the intents are enabled in the Developer Portal

Discord Webhook Events You Can Monitor

| Category | Event | Description | |----------|-------|-------------| | Members | GUILD_MEMBER_ADD | New member joined server | | Members | GUILD_MEMBER_REMOVE | Member left or was kicked | | Members | GUILD_MEMBER_UPDATE | Member role or nickname changed | | Moderation | GUILD_BAN_ADD | Member banned from server | | Moderation | GUILD_BAN_REMOVE | Member ban lifted | | Moderation | GUILD_AUDIT_LOG_ENTRY_CREATE | Audit log entry created | | Messages | MESSAGE_CREATE | New message posted | | Messages | MESSAGE_UPDATE | Message edited | | Messages | MESSAGE_DELETE | Message deleted | | Messages | MESSAGE_DELETE_BULK | Messages bulk deleted | | Reactions | MESSAGE_REACTION_ADD | Reaction added to message | | Reactions | MESSAGE_REACTION_REMOVE | Reaction removed | | Channels | CHANNEL_CREATE | New channel created | | Channels | CHANNEL_UPDATE | Channel settings modified | | Channels | CHANNEL_DELETE | Channel deleted | | Roles | GUILD_ROLE_CREATE | New role created | | Roles | GUILD_ROLE_UPDATE | Role permissions changed | | Roles | GUILD_ROLE_DELETE | Role deleted | | Voice | VOICE_STATE_UPDATE | Voice channel join/leave/move | | Interactions | INTERACTION_CREATE | Slash command or button used | | Server | GUILD_UPDATE | Server settings changed | | Threads | THREAD_CREATE | New thread created | | Threads | THREAD_UPDATE | Thread settings changed | | Invites | INVITE_CREATE | New invite link created | | Invites | INVITE_DELETE | Invite link deleted |

Real-World Use Cases

  • Open-Source Community Management: A developer maintains a popular open-source project with a Discord server of 5,000 members. They route GUILD_MEMBER_ADD events to Telegram to track growth and MESSAGE_CREATE events from the #help channel to ensure questions are being answered. This lets them stay connected to their community while spending most of their day coding.

  • Content Creator Engagement: A YouTuber runs a Discord community for their fans. They monitor GUILD_MEMBER_ADD events to see subscriber growth and MESSAGE_CREATE events from their #general channel on their phone via Webhookify push notifications. This helps them stay engaged with their community throughout the day.

  • Moderation Audit Trail: A large Discord server with multiple moderators routes GUILD_BAN_ADD, GUILD_BAN_REMOVE, and MESSAGE_DELETE events to an Email notification channel. This creates a permanent, searchable record of all moderation actions for accountability and dispute resolution.

  • Event and Launch Coordination: A startup uses Discord for their community and routes MESSAGE_CREATE events from their #announcements and #feedback channels to Slack where the product team works. When users provide feedback or ask questions about a new feature launch, the product team sees it in Slack without context-switching to Discord.

Example Notification

Here is what a typical Webhookify notification looks like when a new member joins a Discord server:

New Webhook Event Received

Source: Discord
Event: GUILD_MEMBER_ADD
Endpoint: Discord Server Events

AI Summary:
New member joined your Discord server!
Username: alex_developer#1234
Server: Webhookify Community
Total members: 2,847
Account created: 2024-06-15

Timestamp: 2026-02-21T20:05:33Z

View full payload in Webhookify Dashboard

Troubleshooting

  1. Bot shows as offline in Discord: Make sure your relay script is running and the bot token is correct. Check your script's console output for connection errors. Verify that the bot was properly invited to the server with the OAuth2 URL Generator.

  2. Member events not firing: The GUILD_MEMBERS intent is a Privileged Intent that must be explicitly enabled in the Discord Developer Portal. Go to your application's Bot settings and toggle on "Server Members Intent." Without this, GUILD_MEMBER_ADD and GUILD_MEMBER_REMOVE events will not be delivered.

  3. Message content is empty: The MESSAGE_CONTENT intent is also privileged. Enable "Message Content Intent" in the Developer Portal. Without this, MESSAGE_CREATE events will arrive but the message content field will be empty for messages that do not mention the bot.

  4. Too many message events: Active Discord servers generate a high volume of messages. Filter your relay script to only forward messages from specific channels (like #announcements or #support) rather than every channel. You can check message.channel.name or message.channel.id in your script to filter.

  5. Bot disconnects frequently: Discord's Gateway has a heartbeat mechanism. If your relay script does not properly handle heartbeats, the connection will drop. Using a mature library like discord.js (Node.js) or discord.py (Python) handles this automatically. Make sure your hosting environment has a stable internet connection.

For the lightest possible setup, only forward GUILD_MEMBER_ADD and GUILD_MEMBER_REMOVE events to Webhookify. This gives you real-time community growth tracking without the noise of message events. You can always add more event types later as your monitoring needs grow. Many community managers start with member events and gradually add channel-specific message monitoring.

Monitor Your Discord Community from Anywhere

Get real-time Discord server notifications on Telegram, Slack, Email, or your phone. Track new members, messages, and moderation events with Webhookify's AI-powered alerts.

Get Started Free

Related Articles

Frequently Asked Questions

How to Set Up Discord Webhook Notifications with Webhookify - Webhookify | Webhookify