Actions7
- Server Actions
- User Actions
- Logs Actions
- Stats Actions
Overview
The node interacts with the Disglow API to manage and validate Discord servers, users, roles, invites, logs, and statistics. Specifically, the Validate Server operation under the Server resource checks the connectivity and validity of a given Discord server by sending its server ID to the Disglow API for validation.
This node is beneficial in scenarios where you need to programmatically verify that a Discord server is accessible and properly configured before performing further actions such as role management or invite generation. For example, before adding users to roles or generating invites, you can validate the server to ensure it exists and is reachable.
Properties
| Name | Meaning |
|---|---|
| Server ID | The unique identifier of the Discord server to validate. This is a required string input, typically a long numeric ID (e.g., "1234567890123456789"). |
Output
The output JSON contains the response from the Disglow API after attempting to validate the server. It typically includes information indicating whether the server is valid and reachable. The exact structure depends on the API response but generally confirms the server's status.
No binary data output is produced by this operation.
Example output JSON might look like:
{
"valid": true,
"server_id": "1234567890123456789",
"message": "Server validated successfully"
}
Dependencies
- Requires an active connection to the Disglow API.
- Needs an API authentication token configured in n8n credentials to authorize requests to the Disglow API.
- The base URL used for API calls is
https://api.disglow.app/api/v1.
Troubleshooting
Common Issues:
- Invalid or missing Server ID: Ensure the Server ID is correctly provided and corresponds to an existing Discord server.
- Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Network issues: Confirm that the n8n instance can reach the Disglow API endpoint.
Error Messages:
"The operation "validateServer" is not known!": This indicates an internal mismatch or misconfiguration; ensure the operation name is correct and supported.- API error responses will be passed through in the output JSON under an
errorfield if "Continue On Fail" is enabled.
Links and References
- Disglow API Documentation (for detailed API endpoints and usage)
- Discord Developer Portal (for understanding Discord server and role IDs)
