Tipos de mensaje
Whatsapp Flows
Envía un mensaje con un botón que abre un WhatsApp Flow
POST
El WhatsApp Flow debe existir previamente en Jelou para el bot indicado. Se referencia por su slug en
parameters.flow_name. El botId y el número del destinatario (userId, sin el signo +) van ambos en la ruta. Disponible solo para bots con proveedor WhatsApp Cloud API, Gupshup CAPI o Aldeamo.Mejores Prácticas
Flujos Complejos: Usa botones de flujo para interacciones complejas de múltiples pasos que requieren entradas de formulario, selecciones o experiencias guiadas. Los flujos proporcionan una experiencia nativa de WhatsApp sin salir del chat.
Casos de Uso
- Formularios de registro o encuestas
- Procesos de compra multi-paso
- Configuraciones guiadas
- Experiencias interactivas complejas
Autorizaciones
Basic authentication using Base64 encoded clientId:clientSecret
Parámetros de ruta
Identifier of the bot whose WhatsApp channel sends the message.
Recipient's phone number, without the + sign.
Parámetros de consulta
Type of WhatsApp Flow to send. Defaults to the standard flow type.
Cuerpo
application/json
Header shown above the Flow button.
Ejemplo:
"Hello"
Body text shown above the Flow button.
Ejemplo:
"Complete this flow to get started"
Footer text shown below the Flow button.
Ejemplo:
"Jelou"
Optional extra context cached and returned with the Flow reply.
Respuesta
Flow message sent
The response is of type object.