n8n_rollback_workflow
Restore a workflow to any previous snapshot while automatically saving the current state, so the rollback can be undone. For deleted workflows, recreate a new workflow from the snapshot.
Instructions
Restore a workflow to a previous snapshot (latest by default). The current state is snapshotted first, so a rollback can itself be undone. If the workflow was deleted, set recreate=true to restore it as a new 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": {
"id": "<id>"
},
"name": "n8n_rollback_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Workflow ID | |
| recreate | No | Create a new workflow from the snapshot instead of updating (for deleted workflows) | |
| timestamp | No | Snapshot timestamp from n8n_list_workflow_snapshots (default: most recent) |