Actions44
- Execution Actions
- Monitoring Actions
- Scheduler Actions
- Tag Actions
- Workflow Actions
Workflow → Add Tags
AI-generatedSummary
Adds one or more tags, given as comma-separated names, to the selected n8n workflows. It creates any tags that don't exist yet and keeps each workflow's existing tags.
Inputs
- Workflow Selection — How to pick target workflows: searchable list (default), multiple from list, current workflow, or manual URL/ID. The current workflow must already be saved so it has an ID.
- Workflow Name or ID (required) — Single workflow to tag. Shown when selection mode is 'From Searchable List'.
- Workflow Names or IDs (required) — Multiple workflows to tag. Shown when selection mode is 'Multiple From List'.
- Workflow URL or IDs — Workflow URLs, IDs, or comma-separated IDs. Shown when selection mode is 'By URL or ID'. URLs are parsed to extract the workflow ID.
- Tag Names — Comma-separated tag names, e.g. 'production, customer-facing, priority'. Names are trimmed and blanks ignored. Existing tags are matched case-insensitively, and missing ones are created. If left empty, no tags are added, but the operation still runs and rewrites each workflow's tag list with its existing tags.
Output shape
A single item with a results array. Each entry is the updated workflow object returned by the n8n API PATCH call, including its full tag list.
Workflows are processed one at a time, and a failure throws unless Continue On Fail is enabled. Then the item contains an
errormessage instead. The node requires n8n API credentials (n8nApi). Requests are retried on transient HTTP errors.
Examples
Example 1: Label a workflow as production after deployment
Workflow Selection: From Searchable List; pick the workflow; Tag Names: 'production, customer-facing'
Example 2: Tag several workflows at once for a review
Workflow Selection: Multiple From List; choose workflows; Tag Names: 'needs-review'
Example 3: Tag the workflow that is currently running
Workflow Selection: Current Workflow; Tag Names: 'audited'