Hi everyone! I’m working on integrating my Bubble.io wellness app with a Botpress Cloud chatbot (AI coach), and I’m running into challenges getting real-time, two-way data synchronization between the two platforms. Here’s what I’m trying to do:
I’m trying to integrate my Bubble app with Botpress Cloud using the API Connector, but I’m running into several issues. I’m trying to send user data (like weight and waist size) via a POST request to https://api.botpress.cloud/v1/bots/{botId}/users/{userId}/variables, and retrieve plans via a GET request from the same endpoint. However, I’m getting errors like “The API call returns a non-object and you picked JSON”
Requirements:
When a user submits data (like weight and waist size) in Bubble, I need to send that to Botpress and store it in user.variables.
Then, I need to fetch user-specific plans (nutrition, workout, supplement) from Botpress and display them in the Bubble UI.
I also want any updates made to plans in Botpress to be reflected automatically in Bubble, ideally using webhooks or a similar method.
Can someone help me with this