Database Integration for Complete Chat History
Hello, I'm interested in storing the entire chat history in our database using an API. Currently, I'm only storing it after the user has rated the chat, but I'm losing data if the user closes the chat before reaching the rating stage. Can you assist me in achieving this?
3 Replies
Hmm
For now we can't do much about this
You'd need that feature: https://github.com/baptisteArno/typebot.io/issues/1135
GitHub
Add "user exit" event · Issue #1135 · baptisteArno/typebot.io
Would trigger a part of the flow when the user leave the bot. Would only in the Web environment.
Other than this, for now what you can do is send an "update" at multiple points before the end of the flow