Create a WhatsApp Flow
create_whatsapp_flowCreate a WhatsApp Flow as a draft. Next steps: upload_whatsapp_flow_json, preview_whatsapp_flow, publish_whatsapp_flow. Docs: https://developers.facebook.com/docs/whatsapp/flows
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the flow. | |
| accountId | Yes | Connected account id, from list_accounts. | |
| categories | No | E.g. ["APPOINTMENT_BOOKING"], ["LEAD_GENERATION"], ["CUSTOMER_SUPPORT"], ["SIGN_UP"], ["SURVEY"], ["OTHER"]. | |
| idempotencyKey | No | Optional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice. |