Skip to main content
POST
The WhatsApp Flow must already exist in Jelou for the target channel. 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 channels 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

Authorization
string
header
required

Basic authentication using Base64 encoded clientId:clientSecret

Path Parameters

botId
string
required

Identifier of the bot whose WhatsApp channel sends the message.

userId
string
required

Recipient's phone number, without the + sign.

Query Parameters

type
string

Type of WhatsApp Flow to send. Defaults to the standard flow type.

Body

application/json
title
string
required

Header shown above the Flow button.

Example:

"Hello"

text
string
required

Body text shown above the Flow button.

Example:

"Complete this flow to get started"

caption
string
required

Footer text shown below the Flow button.

Example:

"Jelou"

parameters
object
required
payload
object

Optional extra context cached and returned with the Flow reply.

Response

Flow message sent

The response is of type object.