Actions66
- Board Actions
- Bookmark Actions
- Blog Actions
- Comment Actions
- Discussion Actions
- Documentation Actions
- Label Actions
- Search Actions
Overview
This node interacts with the Discuss Kit API to manage comments and other discussion-related resources. Specifically, the Admin Delete operation under the Comment resource allows an administrator to delete comments associated with a specific user by providing the user's decentralized identifier (DID). This is useful in scenarios where an admin needs to remove all comments made by a particular user, for example, to enforce community guidelines or handle abuse reports.
Practical examples:
- An admin wants to remove all comments posted by a user who violated terms of service.
- Moderators cleaning up content from a banned user across the platform.
Properties
| Name | Meaning |
|---|---|
| User DID | The unique identifier (DID) of the user whose comments should be deleted by the admin. |
Output
The output JSON contains the response from the Discuss Kit API after attempting to delete comments for the specified user. Typically, this will be an object indicating success or failure of the deletion request. The exact structure depends on the API but usually includes status information or confirmation.
No binary data output is involved in this operation.
Dependencies
- Requires access to the Discuss Kit API endpoint.
- Needs an API authentication token or credential configured in n8n to authorize requests to the Discuss Kit backend.
- Uses internal helper functions to make HTTP requests to the API.
Troubleshooting
Common issues:
- Providing an invalid or non-existent User DID will likely result in no comments being deleted or an error response.
- Missing or incorrect API credentials can cause authorization failures.
- Network connectivity problems may prevent the node from reaching the Discuss Kit API.
Error messages:
- Errors returned from the API will be surfaced as node execution errors unless "Continue On Fail" is enabled.
- Typical error messages might include "Unauthorized", "User not found", or "Failed to delete comments".
Resolutions:
- Verify that the User DID is correct and corresponds to an existing user.
- Ensure API credentials are properly set up and have sufficient permissions.
- Check network connectivity and API endpoint availability.
Links and References
- Discuss Kit API Documentation (Assumed URL; replace with actual if known)
- n8n documentation on Creating Custom Nodes