Create
AI-generatedSummary
Create a new tag in the DocRouter.ai organization identified by the API token, specifying the required tag name and optionally providing a color and description.
Inputs
- Name (required) — The name of the new tag to create.
- Color — An optional color value for the tag, such as a hex code or CSS color name.
- Description — An optional text description for the tag.
Output shape
a single JSON object representing the created tag
The output includes the newly created tag's details as returned by the DocRouter.ai API. If the create operation fails and 'continueOnFail' is enabled, the output contains an error object instead.
Examples
Example 1: Create tag with name only
Name set to 'Important' with no color or description specified.
Example 2: Create tag with all fields
Name set to 'Urgent', color set to '#FF0000', and description set to 'Tasks to prioritize immediately'.