How to deal with multiple messages
# 🤝help
m
Hi! I am testing my bot on WhatsApp and sometimes the user sends two or three messages answering the question I asked. Or for example it says "Hello", "I would like help with X", in two separate messages, even before the bot is capable of answering the first message. Is there any way that I can put a setTimeOut that the robot waits to see if there is two or more messages and then aggregate then in a single variable?
g
I would personally use an AI transition to detect if the user has asked their question (and if they didn't I make them go back to the wait for user input card)
c
You can also do a little bit of user engineering by telling them to send everything as one message and looping them back or collecting it as multiple variables