Actions43
- Add Reaction
- Add Role to Member
- Add Thread Member
- Ban Member
- Bulk Delete Messages
- Create Channel
- Create Invite
- Create Role
- Create Scheduled Event
- Create Thread
- Create Thread From Message
- Delete Channel
- Delete Message
- Delete Role
- Delete Scheduled Event
- Delete Slash Command
- Edit Channel
- Edit Role
- Edit Scheduled Event
- Edit Thread
- Fetch Member
- Fetch Message
- Fetch Message History
- Kick Member
- List Scheduled Events
- List Slash Commands
- Pin Message
- Register Context Menu Command
- Register Slash Command
- Remove Own Reaction
- Remove Role From Member
- Remove Thread Member
- Respond to Interaction
- Send Message
- Send Message with Poll
- Send Modal
- Set Bot Activity
- Set Bot Status
- Set Member Nickname
- Timeout Member
- Unban Member
- Unpin Message
- Update Message
Create Role
AI-generatedSummary
Creates a role in the specified Discord guild. You can set its name and optionally customize its color, member-list display, mentionability, and audit-log reason.
Inputs
- Guild ID (required) — ID of the guild where the role will be created; can be passed from a trigger, for example
{{ $JSON.guildId }}. - Role Name (required) — Name for the new role, up to 100 characters.
- Color — Optional role color, such as
#5865F2. - Display Separately (Hoist) — Whether to show members with this role separately in the member list; defaults to false.
- Mentionable — Whether anyone can mention this role; defaults to false.
- Reason — Reason recorded in the guild audit log.
Output shape
A single n8n item containing the created role data.
The provided source pack omits the operation implementation body, so the exact returned fields and whether the node wraps the Discord role object cannot be confirmed.