n8n_restore_workflow
Restore a workflow from a local backup, creating a new workflow or overwriting an existing one by ID. Optionally activate the restored workflow immediately.
Instructions
Restore a workflow from a local backup. By default creates a new workflow; pass target_workflow_id to overwrite an existing workflow.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"backup_path": "<backup_path>"
},
"name": "n8n_restore_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activate | No | Activate restored workflow after restore. | |
| backup_path | Yes | Path returned by n8n_list_backups or mutation output. | |
| server_name | No | Target server name. Uses default if omitted. | |
| target_workflow_id | No | Existing workflow ID to overwrite. If omitted, creates a new workflow. |