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, documents, bookmarks, boards, labels, comments, and search queries. Specifically, for the Bookmark resource with the Update Content operation, it updates existing bookmark content by modifying properties like board association and labels.

Use cases include:

  • Updating metadata or categorization of a saved bookmark.
  • Changing the board where a bookmark is organized.
  • Adjusting labels (tags) associated with a bookmark for better filtering or grouping.

Practical example:

  • You have a bookmark saved in a default board but want to move it to a specific project board and add relevant labels to improve organization. This node can update the bookmark's boardId and labels accordingly.

Properties

Name Meaning
Board ID of the board to which this bookmark belongs.
Labels Comma-separated list of labels (tags) to assign to the bookmark.
Content ID The unique identifier of the bookmark content to update (required).

Output

The node outputs an array of JSON objects representing the updated bookmark content returned from the Discuss Kit API. The structure typically includes fields such as:

  • id: Unique identifier of the bookmark.
  • title: Title of the bookmark.
  • content: Content or description associated with the bookmark.
  • boardId: ID of the board the bookmark belongs to.
  • labels: Array of label strings assigned to the bookmark.
  • Other metadata fields as provided by the API.

No binary data output is involved in 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 function to make HTTP requests to the Discuss Kit API.

Troubleshooting

  • Common issues:

    • Invalid or missing Content ID will cause the update request to fail.
    • Providing an incorrect Board ID that does not exist may result in errors or unexpected behavior.
    • Labels must be comma-separated strings; improper formatting could lead to incorrect label assignment.
  • Error messages:

    • "error": "Content not found" — The specified bookmark ID does not exist. Verify the Content ID.
    • "error": "Unauthorized" — API credentials are missing or invalid. Check your API key configuration.
    • "error": "Invalid board ID" — The provided board ID is not recognized. Confirm the board exists.

Resolving these usually involves verifying input parameters and ensuring valid API credentials.

Links and References

Discussion