Discord logo

Integrate Discord with your AI CRM

An instant messaging and VoIP social platform.

Explore Triggers and Actions

New Discord Message Trigger

Polls a specific Discord channel for new messages.

TriggerpollTry it

Consume Entitlement (Deprecated)

DEPRECATED: This Discord endpoint requires a bot token and cannot be used by an OAuth2 user connection. This legacy action is retained for existing Discord bearer-token connections until an equivalent Discord Bot action is available.

ActionTry it

Delete Test Entitlement (Deprecated)

DEPRECATED: This Discord endpoint requires a bot token and cannot be used by an OAuth2 user connection. This legacy action is retained for existing Discord bearer-token connections until an equivalent Discord Bot action is available.

ActionTry it

Delete User Application Role Connection

Deletes the current user's application role connection for the specified application. Removes the platform metadata and linked role connection.

ActionTry it

Edit Application Command Permissions

Edits the permissions for a specific application command in a guild. Requires OAuth2 Bearer token (bot tokens will error). The authorizing user must have MANAGE_GUILD and MANAGE_ROLES permissions in the target guild.

ActionTry it

Get Application Command Permissions

Retrieves the permissions for a specific application command in a guild. Requires OAuth2 Bearer token (bot tokens will error). The authorizing user must have MANAGE_GUILD and MANAGE_ROLES permissions in the target guild.

ActionTry it

Get Batch Application Command Permissions

Retrieves permissions for all commands of an application in a guild. Returns a list of permission objects for each command. Requires OAuth2 Bearer token (Bot tokens will error).

ActionTry it

Get Current User Application Entitlements

Retrieves entitlements for the current user and application. The optional guild_id filter is enforced locally because Discord does not expose that filter on this current-user route.

ActionTry it

Get Gateway

Tool to retrieve a valid WebSocket (wss) URL for establishing a Gateway connection to Discord. Use when you need to connect to the Discord Gateway for real-time events.

ActionTry it

Get Guild Template

Tool to retrieve information about a Discord guild template using its unique template code. Use when you need to get details about a guild template for creating new servers.

ActionTry it

Get Guild Widget

Tool to retrieve the guild widget in JSON format. Use when you need to get public information about a Discord guild's widget that can be displayed on external websites. The widget must be enabled in the guild's server settings.

ActionTry it

Get Guild Widget PNG

Tool to retrieve a PNG image widget for a Discord guild. Use when you need a visual representation of the guild widget that can be displayed on external websites. The widget must be enabled in the guild's server settings.

ActionTry it

Get Invite (Deprecated)

DEPRECATED: Use DISCORD_INVITE_RESOLVE instead. Tool to retrieve information about a specific invite code. Use when you need to get details about a guild or channel associated with an invite. Response may be null or partial for expired, revoked, or inaccessible invites; do not infer guild membership or channel access from the response.

ActionTry it

Get my guild member

Retrieves the guild member object for the currently authenticated user within a specified guild, including roles, nickname, join date, and permissions.

ActionTry it

Get my OAuth2 authorization

Retrieves current OAuth2 authorization details for the application, including app info, scopes, token expiration, and user data (contingent on scopes like 'identify').

ActionTry it

Get My User

Fetches comprehensive profile information for the currently authenticated Discord user, including email if the 'email' scope is granted.

ActionTry it

Get OpenID Connect userinfo

Retrieve OpenID Connect compliant user information for the authenticated user. Returns standardized OIDC user claims (sub, email, nickname, picture, locale, etc.) following the OpenID Connect specification. Requires OAuth2 access token with 'openid' scope; additional fields require 'identify' and 'email' scopes.

ActionTry it

Get Public Keys

Tool to retrieve Discord OAuth2 public keys. Use when you need to verify OAuth2 tokens or access public keys for cryptographic operations.

ActionTry it

Get SKU Subscription

Retrieves a specific subscription by ID for a given SKU. Use to check details of a single user subscription.

ActionTry it

Get User

Retrieve information about a Discord user. With OAuth Bearer token authentication, this returns the authenticated user's information (use '@me'). With Bot token authentication, you can query any user by their ID. Use this when you need user details like username, avatar, email (if email scope is granted), locale, premium status, or other profile information.

ActionTry it

Get User Application Role Connection

Retrieves the application role connection for the currently authenticated user for a specified application. Requires the role_connections.write OAuth2 scope.

ActionTry it

Leave Guild (Deprecated)

DEPRECATED: This endpoint requires a bot token. Use DISCORDBOT_LEAVE_GUILD with a Discord Bot connection instead.

ActionTry it

List My Connections

Retrieves a list of the authenticated user's connected third-party accounts on Discord.

ActionTry it

List My Guilds

Lists the current user's guilds, returning partial data for each; primarily used for displaying server lists or verifying memberships.

ActionTry it

List SKU Subscriptions

Lists all subscriptions for a given SKU. When using a Bot token, the user_id query parameter is required. Returns paginated subscription objects.

ActionTry it

List Sticker Packs

Tool to retrieve all available Discord Nitro sticker packs. Use when you need to list or browse official Discord sticker packs.

ActionTry it

Modify Current User (Deprecated)

DEPRECATED: This endpoint requires a bot token. Use DISCORDBOT_UPDATE_MY_USER with a Discord Bot connection instead.

ActionTry it

Resolve Invite

Tool to resolve and retrieve information about a Discord invite code. Use when you need to get details about a guild, channel, or event associated with an invite code.

ActionTry it

Update User Application Role Connection

Updates the application role connection for the currently authenticated user for a specified application. Requires the role_connections.write OAuth2 scope.

ActionTry it

How the Discord integration works

The Discord integration connects your Dench AI CRM directly to Discord, so agents can read and act on your Discord data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

28 actions are available for agents to invoke on your behalf, and 1 trigger can start a Dench automation the moment something changes in Discord. Every call runs through Discord's own authorization, scoped to the account you connect.

Set up Discord in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find Discord and click Connect — you'll authorize access through Discord's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use Discord in chat, or wire a Discord trigger into an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the Discord integration work with Dench?

The Dench Discord integration connects your AI CRM to Discord, so AI agents can work with your Discord data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with Discord via Dench?

The Discord integration currently exposes 28 actions, including Consume Entitlement (Deprecated), Delete Test Entitlement (Deprecated), Delete User Application Role Connection, Edit Application Command Permissions, Get Application Command Permissions, and Get Batch Application Command Permissions. Agents invoke them on your behalf from chat or from automations.

Can Dench react to events in Discord automatically?

Yes. The Discord integration provides 1 trigger — such as New Discord Message Trigger — that can start a Dench automation the moment something happens in Discord.

Do I need to write code to connect Discord to Dench?

No. You connect Discord from your Dench workspace using Discord's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the Discord integration secure?

Connections are authorized through Discord's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Discord connection from your workspace settings at any time.

Discord | Dench AI CRM