Start a workflow run
workflows_startThe run as it stands after its first steps: completed, failed, or paused on a Wait or an approval. Needs write on the workflow, with a write-level key. It keeps acting as the key's owner, capped by the key.
POST /api/v1/workflows/{nodeId}/runs
For multi-space accounts, call auth_verify, ask the user which space to use, and pass targetSpaceId. A workflow run can call webhooks and functions and create, change, or delete records. It acts as this key's owner but never beyond this key's permission level. If the key is revoked, expires, or is lowered while a run waits, the run fails instead of carrying on. Start a run only when the user asks for 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": {
"nodeId": "<nodeId>"
},
"name": "workflows_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| payload | No | ||
| recordId | No | ||
| eventName | No | ||
| targetSpaceId | No | Busabase space id. Call auth_verify first and ask the user which space to use when more than one is returned. |