testWorkflow
Run a workflow draft with trigger payload data so every node executes for real—sending messages, emails, and calls while updating CRM records—then poll the returned execution ID for results.
Instructions
Run the draft once with payload as the trigger data.
Every node runs for real: WhatsApp messages, SMS, emails and calls go out, and CRM records change. Ask the user first, and use their own phone number or email in the payload.
It returns an execution_id at once. Poll getWorkflowExecution for the
result.
(Tags: Workflows)
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": {
"workflow_id": "<workflow_id>"
},
"name": "testWorkflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | No | The trigger data. Nodes read it as `{{ context.<trigger id>.<field> }}`. See `output_example` of the trigger node type for its shape. | |
| workflow_id | Yes | Id of the workflow. |