TypebotT
Typebot5mo ago
Flavio

Start Chat with Initial Message

Hello! I have a chatbot that starts with an input message (2 options yes/no). The answer to the input is known at the time of starting the chatbot, so its included in the message prop along with some preffiledVariables. Typebot responds ok, returns a sessionId and redirects to the next flows correctly and the responses are also saved correctly.
The problem is that when I hit the continue chat endpoint with that sessionId, which it should be already at the end, it returns the initial input as if it wasn't answered.
The image is a simplified version of the bot. I dont know if the chatbot "ending" in the same "start" call is an issue...

Thanks! 😁
image.png
Was this page helpful?