Typebot remember user

I embed typebot on my website that has login authentication. I use “remember user” on typebot which will remember the state of the chatbot unless I close the browser. To access my website and chatbot, a user has to login to the website using his username and password. However when this user chats on typebot and logs out and then someone else logs back in with another username on the same browser, the chat session state from the previous user remains. Currently I use JS to embed typebot with pre-filled user specific variables as well. How can I fix this?
3 Replies
Baptiste
Baptiste2mo ago
That's a good point! I think we need a command to "log out" remembered session Shipping embed lib v0.8.20 will include a new Typebot.reset() command
Himmig
Himmig2mo ago
Is there a way we can get a user to access their previous conversations and continue them?
Baptiste
Baptiste2mo ago
No such mechanism I suggest you treat your typebot flow to be re-used, instead of thinking "people could return to their conversation from days ago", instead add the logic to retrieve the information on further conversation if necessary

Did you find this page helpful?