Discord Toolkit
The Discord Toolkit is a workflow node. Its tools include Discord Send Message Webhook, Discord Send Channel Message, Discord Add Role To Member, and Discord Remove Role From Member, plus 13 more listed below. Create a connection before you use any of these tools. Type @ in a field when the value should come from an earlier step.
Authentication
Create a Discord connection before you use any of these tools. Set it up on the first Discord node.
- On the node, open Connection.
- Click + New.
- Enter a Connection Name.
- Open the Discord Developer Portal.
- Create an application, then open Bot.
- Click Reset Token, copy the token, and paste it into Bot Token.
- Select the new connection in Select saved connection.
Other nodes for this toolkit in the same workflow reuse that connection. To use another connection on one node, choose Configure different connection for this step. Enter token manually saves the same credentials on that node instead of a saved connection.
Tools
Discord Send Message Webhook
Runs the discord send message webhook tool.
| Field | Required | Description |
|---|---|---|
| Webhook URL | Yes | Discord webhook URL to send the message to. Type @ to select a variable. |
| Content | Yes | The message content to send. Type @ to select a variable. |
| Username | No | Override the default username of the webhook. Default is null. Type @ to select a variable. |
| Avatar URL | No | Override the default avatar URL of the webhook. Default is null. Type @ to select a variable. |
| Tts | No | Whether this is a text-to-speech message. Default is false. |
Discord Send Channel Message
Runs the discord send channel message tool.
| Field | Required | Description |
|---|---|---|
| Channel ID | Yes | The ID of the channel to send the message to. Type @ to select a variable. |
| Content | Yes | The message content to send. Type @ to select a variable. |
Discord Add Role To Member
Runs the discord add role to member tool.
| Field | Required | Description |
|---|---|---|
| Guild ID | Yes | The ID of the guild (server). Type @ to select a variable. |
| User ID | Yes | The ID of the user to add the role to. Type @ to select a variable. |
| Role ID | Yes | The ID of the role to add. Type @ to select a variable. |
Discord Remove Role From Member
Runs the discord remove role from member tool.
| Field | Required | Description |
|---|---|---|
| Guild ID | Yes | The ID of the guild (server). Type @ to select a variable. |
| User ID | Yes | The ID of the user to remove the role from. Type @ to select a variable. |
| Role ID | Yes | The ID of the role to remove. Type @ to select a variable. |
Discord Remove Member From Guild
Runs the discord remove member from guild tool.
| Field | Required | Description |
|---|---|---|
| Guild ID | Yes | The ID of the guild (server). Type @ to select a variable. |
| User ID | Yes | The ID of the user to remove (kick). Type @ to select a variable. |
Discord List Guild Members
Runs the discord list guild members tool.
| Field | Required | Description |
|---|---|---|
| Guild ID | Yes | The ID of the guild (server). Type @ to select a variable. |
| Limit | No | Maximum number of members to return (1-1000). Default is 100. |
| After | No | Get members after this user ID (for pagination). Default is null. Type @ to select a variable. |
Discord Rename Channel
Runs the discord rename channel tool.
| Field | Required | Description |
|---|---|---|
| Channel ID | Yes | The ID of the channel to rename. Type @ to select a variable. |
| Name | Yes | The new name for the channel. Type @ to select a variable. |
Discord Create Channel
Runs the discord create channel tool.
| Field | Required | Description |
|---|---|---|
| Guild ID | Yes | The ID of the guild (server). Type @ to select a variable. |
| Name | Yes | The name of the new channel. Type @ to select a variable. |
| Type | No | Channel type: 0=text, 2=voice, 4=category, 5=announcement, 13=stage. Default is 0. |
| Topic | No | The channel topic (0-1024 characters). Default is null. Type @ to select a variable. |
| Parent ID | No | The ID of the parent category for the channel. Default is null. Type @ to select a variable. |
Discord Delete Channel
Runs the discord delete channel tool.
| Field | Required | Description |
|---|---|---|
| Channel ID | Yes | The ID of the channel to delete. Type @ to select a variable. |
Discord Find Channel
Runs the discord find channel tool.
| Field | Required | Description |
|---|---|---|
| Guild ID | Yes | The ID of the guild (server) to search in. Type @ to select a variable. |
| Name | Yes | The name of the channel to find. Type @ to select a variable. |
Discord Ban Guild Member
Runs the discord ban guild member tool.
| Field | Required | Description |
|---|---|---|
| Guild ID | Yes | The ID of the guild (server). Type @ to select a variable. |
| User ID | Yes | The ID of the user to ban. Type @ to select a variable. |
| Reason | No | Reason for the ban (appears in audit log). Default is null. Type @ to select a variable. |
| Delete Message Days | No | Number of days of messages to delete (0-7). Default is 0. |
Discord Remove Ban From User
Runs the discord remove ban from user tool.
| Field | Required | Description |
|---|---|---|
| Guild ID | Yes | The ID of the guild (server). Type @ to select a variable. |
| User ID | Yes | The ID of the user to unban. Type @ to select a variable. |
| Reason | No | Reason for removing the ban (appears in audit log). Default is null. Type @ to select a variable. |
Discord Create Guild Role
Runs the discord create guild role tool.
| Field | Required | Description |
|---|---|---|
| Guild ID | Yes | The ID of the guild (server). Type @ to select a variable. |
| Name | Yes | Name of the role. Type @ to select a variable. |
| Color | No | RGB color value for the role (integer). Default is 0. |
| Hoist | No | Whether to display the role separately in the sidebar. Default is false. |
| Mentionable | No | Whether the role can be mentioned by users. Default is false. |
| Reason | No | Reason for creating the role (appears in audit log). Default is null. Type @ to select a variable. |
Discord Delete Guild Role
Runs the discord delete guild role tool.
| Field | Required | Description |
|---|---|---|
| Guild ID | Yes | The ID of the guild (server). Type @ to select a variable. |
| Role ID | Yes | The ID of the role to delete. Type @ to select a variable. |
| Reason | No | Reason for deleting the role (appears in audit log). Default is null. Type @ to select a variable. |
Discord List Guilds
Runs the discord list guilds tool.
| Field | Required | Description |
|---|---|---|
| — | — | This tool has no input fields. |
Discord List Guild Channels
Runs the discord list guild channels tool.
| Field | Required | Description |
|---|---|---|
| Guild ID | Yes | The ID of the guild (server). Type @ to select a variable. |
Discord List Guild Roles
Runs the discord list guild roles tool.
| Field | Required | Description |
|---|---|---|
| Guild ID | Yes | The ID of the guild (server). Type @ to select a variable. |
Related
Agents can use this integration from chat. See Discord.
See all integrations on the toolkits overview.