Docs
NodesSocial Nodes
Edit Page on GitHub

Add Discord Role

Assign a specific role to a user in the server

actiondiscordbotroleaddEasy5
Social

Add Discord Role

5
Flow
Success
Tool
Flow
Not connectedFlow
User ID
Role ID

Description

The Add Discord Role node allows you to assign a specific role to a user in your Discord server. This can be useful for managing permissions, granting access to certain channels, or organizing users based on their roles. By providing the User ID and Role ID, you can automate role assignments as part of your workflow.

Common Use Cases

  • Automatically assign a "New Member" role to users when they join the server.
  • Grant a "VIP" role to users who make a purchase or reach a certain milestone.
  • Remove a "Muted" role after a specified time period.
  • Manage event attendees by assigning roles based on their registration status.

Inputs

The input connections this node accepts:

NameDescriptionTypeFlowThe flow of the workflowFlowUser IDThe ID of the User to receive the roleTextRole IDThe ID of the Role to assignText

Outputs

The output connections this node provides:

NameDescriptionTypeFlowThe Flow to trigger nextFlowSuccessWas the role added successfully?BooleanToolThe tool version of this node, to be used by LLMsTool

Fields

The configurable fields this node provides:

NameDescriptionTypeUser IDThe ID of the UserValue: ``TextRole IDThe ID of the RoleValue: ``TextDiscordConnect DiscordDefaultValue: ``social

Last updated on