Roll back workflow
rollback_workflowRestore an earlier workflow version as the live deployment in your Cloudflare account, replacing the current one. Use when a user requests a rollback; get version numbers from list_workflow_versions.
Instructions
Make an earlier deployed version of a workflow live again in the user's Cloudflare account, replacing what is running now. Get version numbers from list_workflow_versions. Only do this when the user asks. Refused if the owner turned off deploys for this connection. For a durable workflow, the answer warns about runs the outgoing version left in flight. Set restoreDraft to also load that version back as the editable draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | The workflow's id, from list_workflows or create_workflow. | |
| restoreDraft | No | Also replace the editable draft with this version's graph. Default false. | |
| versionNumber | Yes | The version to make live, from list_workflow_versions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| cron | No | ||
| warning | No | ||
| warnings | No | ||
| setupGaps | No | ||
| resultType | No | ||
| elicitation | No | ||
| deploymentId | No | ||
| requestState | No | ||
| retryGuidance | No | ||
| versionNumber | No | ||
| missingProviders | No |