Actions44
- Execution Actions
- Monitoring Actions
- Scheduler Actions
- Tag Actions
- Workflow Actions
Workflow → Rename Workflow
AI-generatedSummary
Renames one or more n8n workflows by sending a PATCH with the new name to the n8n public API, and returns the updated workflow objects.
Inputs
- Workflow Selection — How to pick the target workflow(s): searchable list (default), multiple from list, current workflow, or by URL/ID.
- Workflow Name or ID (required) — Workflow to rename when selection mode is 'list'.
- Workflow Names or IDs (required) — Several workflows to rename when selection mode is 'multiple'.
- Workflow URL or IDs — Workflow URL, ID, or comma-separated IDs when selection mode is 'manual'. URLs are parsed to extract the ID.
- New Workflow Name (required) — The name to apply. The operation throws an error if it is empty. When several workflows are selected, all receive this same name.
Output shape
A single item with json.results: an array of the updated workflow objects as returned by the n8n API (one per selected workflow).
Workflows are renamed sequentially, and the first API failure aborts the operation. Earlier renames are not rolled back. Requests are retried up to 3 times on transient HTTP statuses. With Continue On Fail enabled, the item outputs an error message instead. Renamed workflows are also recorded in the node's recently-used static data. Requires the n8nApi credential.
Examples
Example 1: Rename a single workflow picked from the list to a versioned name.
Workflow Selection = From Searchable List; Workflow = chosen workflow; New Workflow Name = 'Production CRM Sync v2'.
Example 2: Rename the workflow that contains this node.
Workflow Selection = Current Workflow; New Workflow Name = an expression such as a date-stamped name. The workflow must be saved first.
Example 3: Give several workflows an identical name by ID.
Workflow Selection = By URL or ID; Workflow URL or IDs = 'abc123,def456'; New Workflow Name = 'Archived'.