Discuss Kit icon

Discuss Kit

Consume Discuss Kit API

Overview

This node integrates with the Discuss Kit API to manage various content types such as discussions, blogs, bookmarks, documents, labels, boards, comments, and search queries. Specifically, for the Bookmark resource with the Add Label operation, it allows users to add a label to an existing bookmark by specifying the bookmark's content ID and the label name.

Common scenarios where this node is beneficial include:

  • Organizing bookmarks by categorizing them with labels for easier retrieval.
  • Automating the tagging of bookmarks based on external triggers or workflows.
  • Managing content metadata dynamically within a content management or collaboration platform.

For example, you might use this node in an automation workflow that tags newly added bookmarks with specific labels like "Important" or "Read Later" based on user input or other criteria.

Properties

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

Output

The node outputs JSON data representing the result of the API call to add a label to the bookmark. Typically, this will be the updated bookmark object or a confirmation response from the API indicating the label was successfully added.

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 internal helper functions to make HTTP requests to the Discuss Kit API.

Troubleshooting

  • Common issues:

    • Invalid or missing Content ID: Ensure the provided bookmark ID exists and is correct.
    • Label not found or invalid: Verify the label name is valid and exists in the system.
    • Authentication errors: Confirm that the API credentials are correctly set up and have sufficient permissions.
    • Network or timeout errors when calling the API.
  • Error messages:

    • "error": "Not Found" — The specified bookmark or label does not exist. Check IDs and label names.
    • "error": "Unauthorized" — Authentication failed. Verify API credentials.
    • "error": "Bad Request" — Input parameters may be malformed or missing required fields.

Resolving these typically involves verifying input parameters, ensuring proper API credentials, and checking network connectivity.

Links and References

Discussion