https://discord.gg/botpress logo
Hello! I am setting up an integration between Bot...
# 💻developers
b
Hello! I am setting up an integration between Botpress and Albato to automatically send user questions and bot answers to Google Sheets. I am working in the browser version of Botpress (not local installation). What I want to do: Incoming user message → Botpress. Botpress generates an answer via Generate Content (LLM). The answer should be saved into a variable aiResponse, so I can send it via Send Custom Event → Albato into Google Sheets (column “Answer”). ⚡ Problems: In the Generate Content block I do not have the field “Save response to variable” (as shown in your documentation). In my editor there is also no Expression Card and no Output schema option. Because of this, I cannot extract the model’s answer as plain text. I tried: changing Response Format to text and json_object; creating variables (workflow.aiResponse and others) as Object and String; using {{workflow.aiResponse}}, {{workflow.aiResponse.text}}, {{workflow.aiResponse.response}}. As a result, I only get [object Object] or undefined. 💡 So in fact — the bot generates the answer, but I cannot save it to a variable and send it to Albato. Questions: How can I correctly save the LLM answer into a variable in the browser version of Botpress? What should I use instead of the missing Save response to variable field? How can I extract the plain text of the answer in my case, so it can be sent to Albato and Google Sheets? Could this limitation be related to the pricing plan (and if so, will switching to a paid plan solve the problem)?
2 Views