Message Types
Whatsapp Flows
Send a message with a button that opens a WhatsApp Flow
POST
The WhatsApp Flow must already exist in Jelou for the target bot. Reference it by its slug in
parameters.flow_name. Both the botId and the recipient’s phone number (userId, without the + sign) go in the URL path. Available only for bots on WhatsApp Cloud API, Gupshup CAPI or Aldeamo providers.Best Practices
Complex Flows: Use flow buttons for complex multi-step interactions that require form inputs, selections, or guided experiences. Flows provide a native WhatsApp experience without leaving the chat.
Use Cases
- Registration forms or surveys
- Multi-step purchase processes
- Guided configurations
- Complex interactive experiences
Authorizations
Basic authentication using Base64 encoded clientId:clientSecret
Path Parameters
Identifier of the bot whose WhatsApp channel sends the message.
Recipient's phone number, without the + sign.
Query Parameters
Type of WhatsApp Flow to send. Defaults to the standard flow type.
Body
application/json
Header shown above the Flow button.
Example:
"Hello"
Body text shown above the Flow button.
Example:
"Complete this flow to get started"
Footer text shown below the Flow button.
Example:
"Jelou"
Optional extra context cached and returned with the Flow reply.
Response
Flow message sent
The response is of type object.