run_workflow
Execute a saved workflow: requests go in order, values pass between steps, and it stops at the first failure. Returns step statuses, set variables, and the final response.
Instructions
Run a saved workflow: its requests are sent in order, values are carried from one response to the next (never shown if secret), and it stops at the first step that fails. Returns each step's status and the variables it set, plus the last response in full.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The workflow's name (see list_workflows). | |
| cleanup | No | Remove the variables this run stored once it is done (the later steps have used them by then), so runs do not leave values behind. Values extracted with `scope: "run"` are never stored at all. | |
| variables | No | {{variable}} values for every step of this run. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when every step passed. | |
| steps | Yes | ||
| workflow | Yes | ||
| cancelled | No | True when the run was cancelled before it finished. | |
| steps_run | Yes | How many steps ran (a failed step stops the rest). | |
| cleaned_up | No | With `cleanup`: the variables the run stored and then removed. | |
| last_response | No | The last response that came back, in full. | |
| stopped_early | No | True when a `stop_if` ended the run before the last step. |