Actions32
- Messages Actions
- Channels Actions
- Guilds Actions
- Users Actions
- Webhooks Actions
Guilds → Get Guild Member
AI-generatedOverview
The "Get Guild Member" operation in the Discord Enhanced node allows you to retrieve detailed information about a specific member of a Discord guild (server). This is useful when you want to access user-specific data within a guild, such as roles, join date, nickname, or other membership details.
Common scenarios include:
- Fetching member details for moderation or logging purposes.
- Displaying user information in dashboards or reports.
- Automating workflows that depend on member attributes or status.
For example, you might use this operation to get the profile of a user who just joined a guild to welcome them or check their roles before assigning permissions.
Properties
| Name | Meaning |
|---|---|
| Guild ID | The unique identifier of the Discord guild (server) where the member belongs. |
| User ID | The unique identifier of the user whose guild membership information you want to retrieve. |
Output
The output is a JSON object containing the guild member's information as returned by the Discord API. This typically includes fields such as:
- User details (ID, username, discriminator, avatar).
- Membership details (roles assigned, join date, nickname, permissions).
- Status flags related to the member within the guild.
No binary data is output by this operation.
Dependencies
- Requires an active connection to the Discord API via an API key credential configured in n8n.
- Uses the "N8N Tools API" for subscription validation and request forwarding.
- Proper permissions/scopes must be granted to the API key to read guild member information.
Troubleshooting
- Invalid Credentials: If the node throws an error about invalid subscription or API key, verify that your API key credential is correct and has the necessary permissions.
- Member Not Found: If the specified user ID does not exist in the given guild, the API will return an error. Double-check the IDs.
- Permission Errors: Ensure the bot or API token used has permission to view guild members.
- Rate Limits: Discord enforces rate limits; if you hit these, wait and retry later.