launch_flow
Start a specified WhatsApp bot flow for a contact using bot and flow IDs, with optional phone number, contact ID, and variables.
Instructions
Launch a flow for a contact
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": {
"bot_id": "<bot_id>",
"flow_id": "<flow_id>"
},
"name": "launch_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | No | Contact phone number | |
| bot_id | Yes | The ID of the bot | |
| flow_id | Yes | The ID of the flow | |
| variables | No | Variables to pass to the flow | |
| contact_id | No | Contact ID (alternative to phone) |