Skip to main content

Replay Workflow Execution

POST 

/api/automation/workflow-executions/:execution/replay

Retry a past execution with the same trigger payload. A new execution record is created and queued asynchronously - the original execution is untouched; the new one records it as retry_of_execution_id.

Required scope: settings:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body (all optional):

  • workflow - current (default) runs the workflow as it is saved now; original runs the definition the retried execution used (its stored snapshot).
  • from_failed_step - boolean, default false. When true and the execution failed, the steps that completed are not run again: their recorded outputs are reused and the run resumes at the step that failed. Ignored for an execution that did not fail (it is retried from the start).

Returns 403 when workflow automation is disabled for the account, 422 for an invalid workflow value.

Path param: execution = execution id to retry.

The workflow's current previewMode governs the retry - not the original run's.

Request​

Responses​

OK

Response Headers
    Content-Type