Skip to content
Discord

How to use Discord

CommunicationCost: 1 credit per runTop 100 · #41Full guide

What it is for

Discord in flooows lets you send messages with a bot or via webhook, manage channels, roles and members, and react to new messages or members in your server. It is used for team alerts, communities, sales notifications or approval flows inside a channel.

New Message and New Member are polling triggers: flooows checks the channel or server every few minutes and starts the flow with new messages or members.

Set up the connection

Authentication type: API key or token

  1. 1Go to the Discord developer portal (discord.com/developers/applications) and create or open an application.
  2. 2In the Bot section generate a token with Reset Token and copy it.
  3. 3Still in the Bot settings, switch on the Server Members and Message Content intents.
  4. 4In OAuth2 > URL Generator select the bot scope plus the permissions your flows need, then use the resulting link to add the bot to your server.
  5. 5In flooows, add a Discord step, click "Connect" and paste the bot token.

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Send Message with Bot: pick the Channel and write the Message by mixing static text with data from earlier steps; you can add Attachments.
  • Send Message via Webhook needs no bot: paste the Webhook URL created in the channel's integration settings and customize Display Name or Embeds.
  • Request Approval in a Channel posts a message and pauses the flow until someone approves or rejects.
  • Add Role to Member and Remove Role from Member need Server, User ID and Role; the User ID can come from New Member.
  • Create Channel, Rename Channel and Find Channel help automate server organization.

Tips

  • •To get IDs, enable Developer Mode in Discord and use "Copy ID".
  • •The bot's role must sit above any roles it should assign.
  • •Use webhooks for simple notices and the bot for moderation actions.

Triggers (2)

Events that can start a flow. Expand each one to see its fields.

New MessagePeriodic check2 fields
FieldTypeRequired
ChannelList (from your account)Yes
LimitNumberNo
New MemberPeriodic check2 fields
FieldTypeRequired
Server IDTextYes
LimitNumberNo

Actions (16)

Operations available as flow steps. Expand each one to see its fields.

Send Message with Bot3 fields
FieldTypeRequired
ChannelList (from your account)Yes
MessageLong textNo
AttachmentsList of valuesNo
Send Message via Webhook6 fields
FieldTypeRequired
Webhook URLTextYes
MessageLong textYes
Display NameTextNo
Avatar URLTextNo
EmbedsJSONNo
Text to SpeechYes / NoNo
Request Approval in a Channel2 fields
FieldTypeRequired
ChannelList (from your account)Yes
MessageLong textYes
Add Role to Member3 fields
FieldTypeRequired
ServerList (from your account)Yes
User IDTextYes
RoleList (from your account)Yes
Remove Role from Member3 fields
FieldTypeRequired
ServerList (from your account)Yes
User IDTextYes
RoleList (from your account)Yes
Remove Member from Server2 fields
FieldTypeRequired
ServerList (from your account)Yes
User IDTextYes
List Members2 fields
FieldTypeRequired
ServerList (from your account)Yes
SearchTextNo
Rename Channel2 fields
FieldTypeRequired
ChannelList (from your account)Yes
NameTextYes
Create Channel3 fields
FieldTypeRequired
ServerList (from your account)Yes
NameTextYes
TopicLong textNo
Delete Channel1 fields
FieldTypeRequired
ChannelList (from your account)Yes
Find Channel2 fields
FieldTypeRequired
ServerList (from your account)Yes
NameTextYes
Remove Ban from User3 fields
FieldTypeRequired
ServerList (from your account)Yes
User IDTextYes
ReasonTextNo
Create Role6 fields
FieldTypeRequired
ServerList (from your account)Yes
NameTextYes
ColorTextNo
Show SeparatelyYes / NoNo
MentionableYes / NoNo
ReasonTextNo
Delete Role3 fields
FieldTypeRequired
ServerList (from your account)Yes
RoleList (from your account)Yes
ReasonTextNo
Ban Member3 fields
FieldTypeRequired
ServerList (from your account)Yes
User IDTextYes
ReasonTextNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

Missing Access or Missing Permissions

Check the bot's channel permissions and the role hierarchy.

Read messages arrive with empty content

Enable Message Content Intent in the developer portal.

Invalid token

Generate a new token in the Bot section and update the connection.

Discord rate limit

Add a delay between messages in loops.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps