Discuss Kit icon

Discuss Kit

Consume Discuss Kit API

Overview

This node integrates with the Discuss Kit API to manage comments and other discussion-related resources. Specifically, for the Comment - Delete operation, it deletes a comment identified by its unique Comment ID. This is useful in scenarios where you want to programmatically remove unwanted or outdated comments from your discussion boards, blogs, or other content managed via Discuss Kit.

Practical examples include:

  • Automatically deleting spam or inappropriate comments based on moderation rules.
  • Cleaning up comments after a certain period or event.
  • Integrating comment deletion into workflows that manage content lifecycle.

Properties

Name Meaning
Comment ID The unique identifier of the comment to delete.

Output

The output JSON contains the response from the Discuss Kit API after attempting to delete the specified comment. Typically, this will be an empty object or confirmation of successful deletion. No binary data is returned.

Example output JSON might look like:

{}

or may contain status information depending on the API response.

Dependencies

  • Requires access to the Discuss Kit API.
  • Needs an API authentication token configured in n8n credentials (referred generically as "an API key credential").
  • Uses the internal helper function to make HTTP requests to the Discuss Kit API endpoints.

Troubleshooting

  • Common issues:

    • Invalid or missing Comment ID: The node requires a valid comment ID; otherwise, the API will return an error.
    • Authentication errors: Ensure the API key credential is correctly set up and has permission to delete comments.
    • Network or API downtime: Temporary failures connecting to the Discuss Kit API can cause errors.
  • Error messages:

    • "Comment not found": The provided Comment ID does not exist. Verify the ID is correct.
    • "Unauthorized" or "Authentication failed": Check API credentials and permissions.
    • "Failed to delete comment": General failure; check network connectivity and API status.

To resolve these, verify input parameters, ensure proper credentials, and confirm the Discuss Kit service is operational.

Links and References

Discussion