Run workflow
run_workflowExecutes a deployed workflow once with optional JSON trigger input and returns the outcome, or a run ID and status for durable workflows.
Instructions
Run a deployed workflow once, for real, with an optional JSON payload as its trigger input, and return what happened. A simple workflow answers with its HTTP status, duration and response body. A durable one (with a wait, delay, approval or sub-workflow) starts a run and returns its instanceId and status: follow it with get_run. Use it after deploying to show the user a real result. It runs in the user's Cloudflare account against their real services, so it has real effects, and Nodes2Cloud stores nothing about it. Counts toward this connection's daily limit on workflow calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| via | No | `auto` (default) calls the live trigger, or starts a durable run when the trigger's secret cannot be reproduced. `instance` always starts a durable run (durable workflows only). | |
| payload | No | JSON trigger input, as a webhook body would carry it. Defaults to {}. | |
| instanceId | No | Your own id for a durable run, so you can poll it with get_run. Implies via `instance`. Cannot start with 'cf_'. | |
| workflowId | Yes | The workflow's id, from list_workflows or create_workflow. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| via | Yes | ||
| body | No | ||
| note | No | ||
| status | No | ||
| nextTool | No | ||
| durationMs | No | ||
| instanceId | No | ||
| statusText | No | ||
| curlCommand | No |