Discuss Kit icon

Discuss Kit

Consume Discuss Kit API

Label → Update

AI-generated

Overview

This node operation updates an existing label in the Discuss Kit API. It allows users to modify the label's name, color, and text color. This is useful for managing and customizing labels dynamically within workflows, such as renaming labels or changing their appearance to better organize content or discussions.

Use Case Examples

  1. Updating a label's name to reflect a new category.
  2. Changing the color of a label to match a new theme or priority.
  3. Adjusting the text color of a label for better visibility.

Properties

Name Meaning
Label ID The unique identifier of the label to update.
Name The new name to assign to the label.
Color The new color to assign to the label.
Text Color The new text color to assign to the label.

Output

JSON

  • id - The ID of the updated label.
  • name - The updated name of the label.
  • color - The updated color of the label.
  • textColor - The updated text color of the label.

Dependencies

  • Discuss Kit API access via an API key or token, typically managed through the blockletComponentApi credential.

Troubleshooting

  • Ensure the Label ID provided is correct and exists in the Discuss Kit system to avoid 'not found' errors.
  • Verify that the API credentials are valid and have permission to update labels.
  • Check that the color and text color values are in a valid format (e.g., hex color codes).
  • If the update fails, review the error message returned by the API for specific issues such as invalid parameters or network problems.

Links

Discussion