Share feedback, ideas and get community help

Updated 2 months ago

The bot on WhatsApp gets stuck on a loop

After publishing my bot on WhatsApp, it works fine. But after a period of inactivity (around an hour) the bot keeps repeating just the messages on the first group and doesn't follow the whole flow.

This is self hosted Typebot by the way.

Anyone got ideas about this issue? πŸ€–
W
L
B
7 comments
whats the timeout set for the flow for whatsapp?
4 hours.
but it's not a reset of the whole conversation, instead, for any message I send it keeps responding just by the messages in the first group and doesn't continue to other groups. It's like it is resetting the whole session for every new message.
@Baptiste sorry to bother you, but do you have any ideas?
Is it working in preview mode?
I don't really know what's going on. We need more info, how does your flow look like?
@Baptiste sorry, it was my fault, the updatedAt field was not updating after the session expiry for the ChatSession, it was my db setup that caused the issue
Add a reply
Sign up and join the conversation on Discord