Discord Specific Variables

As part of FlowBridge Connect functionality, we will populate your flow with specific variable that you can use at your own will. All you need to do is create the variable name in Voiceflow and FlowBridge Connect will automatically populate them with information

Here are the Discord specific variables you can create:

Variable Name
Value
Description

user_name

String

The first name of the user's account.

user_id

String

Session identifier - uses Discord user ID for DMs, channel ID for guild channels to create shared sessions

channel

String

the channel the user is communicating on. It will be "discord" for Discord conversations

channel_user_id

String

Actual Discord user ID of the message sender (always the individual user, even in guild channels)

conversation_type

"dm" or "channel"

Type of conversation - "dm" for direct messages, "channel" for guild/server channels

discord_channel_id

Integer

Discord channel ID where the message was sent (DM channel ID for DMs, guild channel ID for channels)

discord_guild_id

Integer

Discord server/guild ID (only populated for guild channel messages, not available for DMs)

discord_channel_name

"general" or "support"

Name of the guild channel (only populated for guild channels, not available for DMs)

For more information on the variables, check out the Automatically Populated Variables page

Last updated