Blocklet Server icon

Blocklet Server

Consume Blocklet Server API

Tag → Create Tag

AI-generated

Overview

This node operation creates a new tag within a specified Blocklet app (team) using the Blocklet Server API. It is useful for organizing or categorizing items by adding descriptive tags with customizable titles, colors, and descriptions. For example, a user can create tags to label content by priority, status, or category in a Blocklet app.

Use Case Examples

  1. Creating a tag named 'Urgent' with a red color to mark high-priority items.
  2. Adding a tag 'Feature' with a blue color and description to categorize feature requests.

Properties

Name Meaning
App DID DID of the blocklet app (team) where the tag will be created.
Title Title of the tag to be created.
Color Color of the tag, represented as a hex color code.
Description Description of the tag providing additional context or details.

Output

JSON

  • id - Unique identifier of the created tag.
  • title - Title of the created tag.
  • description - Description of the created tag.
  • color - Color of the created tag.
  • createdAt - Timestamp when the tag was created.
  • updatedAt - Timestamp when the tag was last updated.

Dependencies

  • Blocklet Server API with an API key credential for authentication.

Troubleshooting

  • Common issues include missing or invalid App DID, which will cause the API request to fail.
  • Invalid or missing required fields like Title will result in errors from the API.
  • Network or authentication errors when connecting to the Blocklet Server API can cause failures.
  • Error messages typically indicate which required parameter is missing or invalid; ensure all required inputs are correctly provided.

Links

Discussion