Timeout Webhook Request Body (alternate flow)
Este endpoint debe ser implementado en TU servidor (por ejemplo: https://tudominio.com/webhooks/on-timeout). Treble llamará a este webhook cuando ocurra un timeout en la conversación (el usuario no responde dentro del tiempo establecido). Debes configurar la URL de este webhook en el panel de administración de Treble.
You can also configure the response webhook for the path that exits a node in case of timeout, also known as alternate flow.
If you do this, the HTTP request body sent to the endpoint configured in Treble will add the following field in the request body:
The response can also have new variables for the session that can be updated or created for later use in the session. That is, you can add them in the webhook response as part of the user_session_keys
.
Body
Información del evento de timeout
Evento que se dispara cuando ocurre un timeout en la conversación (el usuario no responde dentro del tiempo establecido)
Response
Respuesta para actualizar o agregar información a la sesión
Objeto JSON con la nueva información que será reemplazada o agregada a la sesión para uso futuro. El servicio debe responder en menos de 10 segundos.