T
Typebotdrippingfist

Typebot.io results question

I have 2 questions. The results tab (submissions & analytics) 1. Is there a way to access this database via an api? For example, to build a dashboard to display metrics to. 2. I am using a RAG+LLM system and the user may ask several questions and the LLM will respond several times so each time the bot replies the variable {{bot_response}} is overwritten and each time the variable {{user_response}} is overwritten. Is there a way to use the typebot database to store the whole conversation? I guess I could +1 to the variable name so it would be {{bot_response_1}}, {{bot_response2}}, etc. but this doesn't seem like a good solution.
Baptiste
Baptiste15d ago
1. Yes: https://docs.typebot.io/api-reference/results/list 2. You would have to store it into variables indeed if you'd like to save the whole history
drippingfist
drippingfist12d ago
RE: #2 Since using an LLM in a looped flow is quite a common use case (for example via the chatnode integration, or other api request) is there no better way to store each new user message rather than give a new variable name?
Baptiste
Baptiste12d ago
Why do you need that, what’s the end goal? I’ll be able to better help you if I understand what you’d like to have in the end and why 🙂
drippingfist
drippingfist11d ago
So the usermessage gets sent to chatnode, and the result is set as bot response. Then the user asks a follow up question. Currently this overwrites the user message, right? So we lose that part of the chat history. It would be good to be able use the api to generate a daily report of interesting chats for the client. Okay so I've finally understood that you can append variables to chathistory variable. Resolved
Want results from more Discord servers?
Add your server
More Posts
Having issue to run the api on cluster-mode on typebotI followed some processes to start pm2 in clustered mode only for the viewer API, but I'm receiving Troubleshooting Typebot Integration for GPT-4 AssistantHello, I've developed a chatbot using OpenAI's GPT-4 assistant. The flow appears to function flawlescustom domains on self-hosted instanceHello. Anyone got custom domains up and running on a self hosted instance? I can’t seem to get the dRun function JS on clientIs it possible to use a JS snippet in an Ask Assistant Function block to: a} run the code below on tAfter reloading the page, the fetchers values come with the value, not the label.I have some fechers, and when I select the value for them and refresh the page it saves the value, aIs possible to change option value in fetcher?Good afternoon, how are you? I have a funnel dropdown that when selected loads the stages of that fMalicious Typebot linksI have used Typebot on a site amd google found that all typebot links as malicious and shutdown googHow do I use the create workspace api within the typebot flow?API: https://app.typebot.io/api/v1/workspacesAPI GEO LOCATION TO TYPEBOTHello, good evening, I need help integrating ipapi or ipinfo api into typebot so I can see my clientIntegration with Cal.comHi, I am integrating cal.com on my IA assistant running on typebot. I get the return from cal.com buClear chat windowIs there a way, with code or any other means, to clear the chat window of existing messages? When aCreate trigger with zapier to my table app but i have not field that displayhi, i would like to create trigger with zapier to my table app but i have not field that display. CaError while updating typebotI'm receiving several errors when creating new bots, since version 2.24 and also now in 2.25! code: Struggling when combining 3 variablesI'm trying to combined 3 variables, they are all links that need to be merged into one variable to uHow do you use the QR code?Hi, I'm trying to use the QR code block but cant figure out how to use it, there is nothing in the dStumped on webhook return valueI think I've tried every possible variation, and even turned to ChatGPT to help, to avail. I am tryi