Restore workflow
Restores an archived workflow and tries to start it again.
Read status on the response rather than assuming the workflow is running. A restored workflow lands inactive rather than active when it cannot start, which happens when its schedule has already ended, something it references was deleted, or a connector is not ready. message says which, in words you can show someone.
Restoring fails with a 409 when another live workflow has taken this one’s name or file name since it was archived. Rename the other workflow, or rename this one on the way back, before retrying.
If the workflow’s file cannot be written back into the app’s code, the workflow is left archived rather than half-restored, and the call reports the failure.
This endpoint is limited to 20 requests per minute.
Authorizations
Personal API key.
Path Parameters
ID of the app whose workflows you want to work with.
ID of the workflow, as returned in id by List workflows.
Response
The workflow is restored. Read status for whether it started.
ID of the workflow.
"68b1c0d4e7b91d003c45a1f2"
The status the workflow actually landed in, which is not always the one you asked for.
"active"
Why a restored workflow did not come back active, written for a person to read. null when you toggled the status yourself.
"The schedule already ended, so the workflow stayed inactive."