Actions32
- Messages Actions
- Channels Actions
- Guilds Actions
- Users Actions
- Webhooks Actions
Guilds → Get Guild
AI-generatedOverview
The node provides enhanced integration with the Discord API, allowing users to perform a wide range of operations on Discord resources. Specifically for the Guilds resource and the Get Guild operation, this node fetches detailed information about a specific Discord guild (server). It can optionally include approximate counts of members and presence data.
This is useful in scenarios where you want to retrieve metadata about a Discord server, such as its name, icon, region, features, and optionally member statistics. For example, you might use this node to monitor your Discord servers, display server info in dashboards, or trigger workflows based on guild properties.
Properties
| Name | Meaning |
|---|---|
| Guild ID | The unique identifier of the Discord guild (server) to retrieve information from. |
| With Counts | Boolean option to include approximate member and presence counts in the returned data. |
Output
The output JSON contains the detailed information of the requested guild. This typically includes fields such as:
- Guild ID
- Name
- Icon URL
- Owner ID
- Region
- Features
- Approximate member count (if
With Countsis true) - Approximate presence count (if
With Countsis true) - Other guild metadata as provided by the Discord API
No binary data output is involved in this operation.
Dependencies
- Requires an active subscription and valid API key for the external "N8N Tools API" service, which acts as a proxy or enhancer for Discord API calls.
- Requires OAuth2 credentials configured in n8n for authenticating with Discord via the N8N Tools API.
- The node internally uses a custom Discord API wrapper (
DiscordApi) to interact with Discord endpoints through the N8N Tools API.
Troubleshooting
- Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that your API key credential is correct and has an active subscription for the N8N Tools API.
- Permission errors: Ensure the OAuth2 credentials used have sufficient permissions/scopes to access guild information.
- Guild not found: Double-check the Guild ID input; it must be a valid existing guild ID accessible by the authenticated user/bot.
- Network or API issues: Temporary network failures or Discord API rate limits may cause errors. Retry after some time or check API status.