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.
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) |