Skip to main content

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.

  1. On the node, open Connection.
  2. Click + New.
  3. Enter a Connection Name.
  4. Open the Discord Developer Portal.
  5. Create an application, then open Bot.
  6. Click Reset Token, copy the token, and paste it into Bot Token.
  7. 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.

FieldRequiredDescription
Webhook URLYesDiscord webhook URL to send the message to. Type @ to select a variable.
ContentYesThe message content to send. Type @ to select a variable.
UsernameNoOverride the default username of the webhook. Default is null. Type @ to select a variable.
Avatar URLNoOverride the default avatar URL of the webhook. Default is null. Type @ to select a variable.
TtsNoWhether this is a text-to-speech message. Default is false.

Discord Send Channel Message​

Runs the discord send channel message tool.

FieldRequiredDescription
Channel IDYesThe ID of the channel to send the message to. Type @ to select a variable.
ContentYesThe message content to send. Type @ to select a variable.

Discord Add Role To Member​

Runs the discord add role to member tool.

FieldRequiredDescription
Guild IDYesThe ID of the guild (server). Type @ to select a variable.
User IDYesThe ID of the user to add the role to. Type @ to select a variable.
Role IDYesThe ID of the role to add. Type @ to select a variable.

Discord Remove Role From Member​

Runs the discord remove role from member tool.

FieldRequiredDescription
Guild IDYesThe ID of the guild (server). Type @ to select a variable.
User IDYesThe ID of the user to remove the role from. Type @ to select a variable.
Role IDYesThe ID of the role to remove. Type @ to select a variable.

Discord Remove Member From Guild​

Runs the discord remove member from guild tool.

FieldRequiredDescription
Guild IDYesThe ID of the guild (server). Type @ to select a variable.
User IDYesThe ID of the user to remove (kick). Type @ to select a variable.

Discord List Guild Members​

Runs the discord list guild members tool.

FieldRequiredDescription
Guild IDYesThe ID of the guild (server). Type @ to select a variable.
LimitNoMaximum number of members to return (1-1000). Default is 100.
AfterNoGet members after this user ID (for pagination). Default is null. Type @ to select a variable.

Discord Rename Channel​

Runs the discord rename channel tool.

FieldRequiredDescription
Channel IDYesThe ID of the channel to rename. Type @ to select a variable.
NameYesThe new name for the channel. Type @ to select a variable.

Discord Create Channel​

Runs the discord create channel tool.

FieldRequiredDescription
Guild IDYesThe ID of the guild (server). Type @ to select a variable.
NameYesThe name of the new channel. Type @ to select a variable.
TypeNoChannel type: 0=text, 2=voice, 4=category, 5=announcement, 13=stage. Default is 0.
TopicNoThe channel topic (0-1024 characters). Default is null. Type @ to select a variable.
Parent IDNoThe 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.

FieldRequiredDescription
Channel IDYesThe ID of the channel to delete. Type @ to select a variable.

Discord Find Channel​

Runs the discord find channel tool.

FieldRequiredDescription
Guild IDYesThe ID of the guild (server) to search in. Type @ to select a variable.
NameYesThe name of the channel to find. Type @ to select a variable.

Discord Ban Guild Member​

Runs the discord ban guild member tool.

FieldRequiredDescription
Guild IDYesThe ID of the guild (server). Type @ to select a variable.
User IDYesThe ID of the user to ban. Type @ to select a variable.
ReasonNoReason for the ban (appears in audit log). Default is null. Type @ to select a variable.
Delete Message DaysNoNumber of days of messages to delete (0-7). Default is 0.

Discord Remove Ban From User​

Runs the discord remove ban from user tool.

FieldRequiredDescription
Guild IDYesThe ID of the guild (server). Type @ to select a variable.
User IDYesThe ID of the user to unban. Type @ to select a variable.
ReasonNoReason 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.

FieldRequiredDescription
Guild IDYesThe ID of the guild (server). Type @ to select a variable.
NameYesName of the role. Type @ to select a variable.
ColorNoRGB color value for the role (integer). Default is 0.
HoistNoWhether to display the role separately in the sidebar. Default is false.
MentionableNoWhether the role can be mentioned by users. Default is false.
ReasonNoReason 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.

FieldRequiredDescription
Guild IDYesThe ID of the guild (server). Type @ to select a variable.
Role IDYesThe ID of the role to delete. Type @ to select a variable.
ReasonNoReason 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.

FieldRequiredDescription
——This tool has no input fields.

Discord List Guild Channels​

Runs the discord list guild channels tool.

FieldRequiredDescription
Guild IDYesThe ID of the guild (server). Type @ to select a variable.

Discord List Guild Roles​

Runs the discord list guild roles tool.

FieldRequiredDescription
Guild IDYesThe ID of the guild (server). Type @ to select a variable.

Agents can use this integration from chat. See Discord.

See all integrations on the toolkits overview.