create_flow
Create a WhatsApp Flow by providing the flow JSON or cloning an existing flow. Configure categories, endpoint URI, and publishing options.
Instructions
Create a new WhatsApp Flow. Optionally provide flow_json inline or clone from an existing flow.
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": {
"name": "<name>"
},
"name": "create_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Flow name | |
| publish | No | Publish immediately after creation | |
| waba_id | No | WABA ID (defaults to WA_BUSINESS_ACCOUNT_ID env var) | |
| flow_json | No | Flow JSON definition as a string | |
| categories | No | Flow categories | |
| endpoint_uri | No | Endpoint URI for the flow data exchange | |
| clone_flow_id | No | Flow ID to clone from |