Discuss Kit icon

Discuss Kit

Consume Discuss Kit API

Overview

This node integrates with the Discuss Kit API to manage blog content and related entities. Specifically, for the Blog resource with the Add Label operation, it allows users to add a label to an existing blog post by specifying the blog's content ID and the label name.

Common scenarios where this node is beneficial include:

  • Organizing blog posts by categorizing them with labels for easier filtering and searching.
  • Automating content management workflows where labels are added based on certain triggers or conditions.
  • Enhancing metadata of blog posts dynamically without manual intervention.

For example, after publishing a blog post, you might want to automatically tag it with a "Featured" label using this node.

Properties

Name Meaning
Content ID The unique identifier of the blog content (blog post) to which the label will be added.
Label The name of the label to add to the specified blog content.

Output

The node outputs the response from the Discuss Kit API after adding the label. This output is structured as JSON data representing the updated state or confirmation of the label addition on the blog post.

The exact structure depends on the API response but typically includes details about the blog post and its associated labels.

No binary data output is produced by this operation.

Dependencies

  • Requires access to the Discuss Kit API endpoint.
  • Needs an API authentication token or key configured in n8n credentials to authorize requests.
  • Uses internal helper functions to make HTTP requests to the Discuss Kit API.

Troubleshooting

  • Common Issues:

    • Invalid or missing Content ID: Ensure the provided blog content ID exists and is correct.
    • Label not found or invalid: Verify that the label name is valid and exists in the system.
    • Authentication errors: Confirm that the API key or token is correctly set up and has sufficient permissions.
    • Network or API downtime: Check connectivity and Discuss Kit API status.
  • Error Messages:

    • "error": "Content not found": The specified Content ID does not exist; verify the ID.
    • "error": "Unauthorized": Authentication failed; check API credentials.
    • "error": "Label not found": The label specified does not exist; create it first or use a valid label.

Resolving these usually involves verifying input parameters, ensuring proper credential configuration, and confirming API availability.

Links and References

Discussion