Actions44
- Execution Actions
- Monitoring Actions
- Scheduler Actions
- Tag Actions
- Workflow Actions
Tag → Create Tag
AI-generatedSummary
Creates a new tag in the connected n8n instance via the n8n public API (POST /tags) and returns the created tag.
Inputs
- Tag Name (required) — Name of the tag to create (e.g. "priority"). Marked optional in the UI, but the node throws "Enter a tag name." if it is empty after trimming whitespace.
Output shape
One output item per input item, with json shaped as { tag:
Requires an n8nApi credential. Unlike the Add Tags operation, this does not check for an existing tag with the same name. It always sends a create request, so duplicate names will probably be rejected by n8n and surface as an error ('n8n API request failed'). Transient errors (408, 425, 429, 5xx) are retried up to 3 attempts. With Continue On Fail enabled, errors are returned as { error } items.
Examples
Example 1: Create a 'priority' tag before assigning it to workflows.
Resource: Tag; Operation: Create Tag; Tag Name: priority
Example 2: Create a tag whose name comes from incoming data.
Resource: Tag; Operation: Create Tag; Tag Name: expression such as {{$json.tagName}}