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
Baptiste
Baptiste13mo ago
Hmm For now we can't do much about this
Baptiste
Baptiste13mo ago
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.
Baptiste
Baptiste13mo ago
Other than this, for now what you can do is send an "update" at multiple points before the end of the flow

Did you find this page helpful?