Run workflow
run_workflowFire one of a workflow's triggers now, starting a real run: its steps execute against real connections (emails sent, records written) and there is no dry run. Fetch the workflow first for its trigger ids and tell the user what the run will do. Confirm with the user before calling this. payload is the trigger's input. A manual trigger is what the editor calls a "Local Component"; its params are its "Component Inputs", and the value written for each is only its default.
Returns { run_id, workflow_id, record }; fetch run_id to follow it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"trigger_id": "<trigger_id>"
},
"name": "run_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The workflow id. | |
| payload | No | The trigger's input. A manual trigger needs none. Any other trigger needs one standing in for the event it would receive: a sample from load_trigger_samples, or a past run's trigger event. A payment or order trigger refuses one. | |
| trigger_id | Yes | The trigger to fire, from the workflow's definition. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | No | ||
| run_id | No | ||
| workflow_id | No |