Discuss Kit icon

Discuss Kit

Consume Discuss Kit API

Overview

This node interacts with the Discuss Kit API to manage various content types including blogs, discussions, bookmarks, documents, comments, labels, boards, and search queries. Specifically for the Blog resource with the Unpin operation, it allows users to remove the pinned status from a blog post.

Use cases include:

  • Managing blog posts in a community or team platform.
  • Automating content moderation workflows by unpinning outdated or irrelevant blog posts.
  • Integrating with other systems to dynamically update blog post statuses based on external triggers.

Example: Automatically unpin a blog post when it no longer needs to be highlighted on a website or internal dashboard.

Properties

Name Meaning
Content ID The unique identifier of the blog post to unpin. This is a required string input.

Output

The output is a JSON object representing the response from the Discuss Kit API after attempting to unpin the specified blog post. It typically contains the updated blog post data reflecting the removal of the pinned status.

No binary data output is involved in this operation.

Dependencies

  • Requires access to the Discuss Kit API endpoint.
  • Needs an API authentication token or API key credential configured in n8n to authorize requests.
  • Uses the blockletComponentApiRequest helper function internally to make HTTP requests to the Discuss Kit API.

Troubleshooting

  • Common issues:

    • Invalid or missing Content ID will cause the API request to fail.
    • Lack of proper API credentials or expired tokens will result in authorization errors.
    • Attempting to unpin a blog post that is not currently pinned may return an error or no change.
  • Error messages:

    • "error": "Content ID is required" — Ensure the Content ID property is provided.
    • "error": "Unauthorized" — Check API credentials and permissions.
    • "error": "Not Found" — Verify the Content ID corresponds to an existing blog post.
  • Resolution tips:

    • Double-check the Content ID value.
    • Confirm API credentials are correctly set up in n8n.
    • Validate that the blog post exists and is currently pinned before unpinning.

Links and References

Discussion