How to add custom field for POST on chat widget assistant?
I'm trying to add a custom input inside the form when that chat widget is rendered. It doesn't show on my logs. This is the remix link https://buildship.app/remix/2618166a-add2-4e3b-9d8b-c3b1cae9490c
Here's my script:
function addCustomField() {
const inputElement = document.getElementById("buildship-chat-widget__input");...
GET API Call with empty body now returns null
Hey, all the time until today I used GET API Call to Stripe with empty body. It was working fine.
Today however, it started to reject empty body for me (1st screen)
I tried to provide empty body: {}, but then API call returns null value (2nd screen).
Is something changed recently for API calls node?...
Solution:
So apparently I need to add empty object to json body:
{}
Strange, because it didn't work for me at first. But it works now...
"undefined's stream has ended" in OpenAI Assistant (Stream Response)
Is the attached log just an error if the thread_id does not exist yet? Because at the end of the long error code you can read that the Assistant ID could not be found, though after that it creates a new thread_id?
If that's the case, it would be nice if you could catch this error and instead just log something like "no thread_id detected....creating a new one", so it does not look like we made a mistake with the input variables of that node....
Rowy integration delay?
I was starting to work around with the OpenAI Assistant (Stream Response) node. This AI shall use personality parameters that are saved externally (in my case on Directus). Now I might not want to fetch a request every time a message is sent to that endpoint, so I was wondering if I should rather save these parameters in rowy and use Buildship's integrated Nodes. Though I am not sure if it would have the same latency compared to my Directus GET request. Does BuildShip internally also use REST AP...
Push Notifications From Flutterflow app Stopped Working With Buildship
Hello !
I'm facing a really weird issue. Everything was working fine, and without any changes, the push notifications don't work anymore when it's triggered with Buildship. However, I see the the notifications sent by Buildship in firestore with status : "succeeded". It's just the "num_sent" field is at 0 instead of many users. The Buildship's logs are also "Succeeded".
It feels like Buildship has the correct rights to write but the notifications are not sent....
Solution:
Hi @Stu , FYI, there was a bug on flutterflow side, they are deploying a fix right now. Thank you for your help !
Whisper chat
Hello
Would it be possible for you to create a node that enables voice chat from flutter flow? I’m not quite sure why this hasn’t been done yet as voice chat is pretty viral and yet I haven’t seen anyone do this using buildship? I’d love support with this asap please...
Solution:
@Joy, you can checkout this video - https://www.youtube.com/watch?v=crdcZNnQGDo as a best example of a voice chat app with flutterflow
CORS Issue from FlutterFlow
Hi - I'm encountering what I suspect are CORS issues when launching a buildship API from a Flutterflow app. The API works perfectly when launched within Flutterflow's test sessions, but is blocked entirely when the app is deployed on iOS. I've tried making the API call private in Flutterflow, and while that works in accessing the Buildship workflow, I encounter downstream impacts within Flutterflow with the private call.
Unfortunately I can't seem to find any CORS related information in the Buildship documentation. Can anyone point me in the right direction on how I might resolve this (besides the private setting in Flutterflow?)
Thanks in advance!...
Solution:
@Al_B Another thought... just because what you're describing doesn't exactly sound like how I've seen CORS issues play out in the past... is to set up Local Run in the FlutterFlow app and test it on the iOS Simulator with the Flutter Devtools open. Under "Network" in Devtools you'll be able to see if it actually is a CORS issue or not. As well as a ton of other information about what data is getting to and from your app.
And glad you like the videos! Thats awesome feedback. 🙂...
Cannot access looped Node items if they were failing (undefined)
Imagine a workflow that has some nodes within a loop. These nodes could potentially fail, but that's okay, so I set an "On Fail" to "Ignore". Now after that loop I have another node that accesses one of the nodes within that loop. Due to the fact that this node is within a loop, I will get an array variable when referencing it.
So far so good, but when I try to access that array's items with an index, it throws the error "Cannot read properties of undefined (reading '0')". I am not sure why, because even though if a node failed within the loop, it would still have an "undefined" at that index of the array.
I attached my loop array as an image for reference.
To be exact, consider this array as "array1" and "array2" is an array that has the exact same length, but without any undefined values. My goal is to retrieve all items from array2 that would match an "undefined " value from array1 like this:
array2.filter((_, index) => array1[index] === undefined....
sendgrid attachments
hey there looking for some help with SendGrid dynamic templates sending attachment(s). tried a few things but cant seem to get it working, this is where i am currently at with it. (see images)
any help would be great 😃
sorry if this has already been asked...
Cron trigger - Fails
My workflow starts with a cron trigger. the test is successful, but when i want to ship, i have an error : Failed at managing trigger node. Error: 14 UNAVAILABLE: 502:Bad Gateway
any idea how to fix that ?...
Solution:
Hi @GetInference on checking the workflows you shared via support, all your everyday cron triggers are already shipped. Are you still facing this issue?
How to connect bubble and Google Cloud Storage ?
hi,
I am trying to build a file loader function in Bubble, so that when the user clicks the upload button, the file will be loaded to Google Cloud Storage (should be dynamic), I check the instruction from buildship, but it wasn't exaustive enough, it doesn't work for me.
1. I am using buildship to build the Google Cloud storage workflow (am I correct ?)...
Solution:
Hi @H, you need to use the File upload Trigger to upload it to your Google Cloud Storage along with Google Cloud storage node. Here is a video on file upload trigger: https://youtu.be/LTqZZn6uTuw?si=2JeuJJO6E8UhoQhq
And to connect BuildShip API with Bubble you can refer to these documentation - https://docs.buildship.com/bubble...
Account Deactivated due to inactivity
Hello, I got an email today that my buildship workflow had been deactivated due to inactivity for 30 days, i just started using this workflow last week and the last time I logged in was 48 hours ago, I tried reactivating it but got the error message in the attached screenshot.
please i need urgent help, i need this workflow for a project i am submitting next week...
Solution:
Checking Endpoint Version
When a workflow is being shipped, I can see various Version numbers. Though they are not iterating when doing a new ship. Is this intended?
I would like to setup a separate workflow with a cronjob that checks if the other endpoint has a new version so I can send some automated Update Notifications. Is this possible? This would be my solution for a hacky " Trigger" for a new shipment version. (Buildship really needs a shipment trigger 😢)...
Solution:
For now, it's not available, we'll be having a git functionality in near future, where you'll be able to get different version.
Hi, I am chatting with supabase. But it returns below response:
Hi, I am chatting with supabase. But it returns below response:
It seems that you've uploaded a file, but you haven't provided any instructions or a specific question regarding the file. Could you please let me know how you would like me to assist you with this file?
can someone please help me what wrong I am doing.
#❓・buildship-help...
Using Switches/Branches Variables after their expression
I would like to know how I can use variables from switches or branches after their execution.
You can see in the attached image that I tried it with an OR expression to either use the first switch case or the default switch case, depending on which were executed. This works if it goes through the first case but fails when it goes through the second case, because the OR condition checks the first case first.
The reason why I am not setting up the GPT4-Vision within each switch case is because I have a lot of nodes that come after the switch case and they would all be the same. The only difference would be the GPT4-Vision prompt with the according variables from switch case 1 and the default case....
Solution:
Hey, I missed updating the remix link, here is the correct version - https://buildship.app/remix/56ca7d42-f1ed-4cca-bd5b-0b13153185ef.
with the updated logic. This should work. @Brian...
Amazon Bedrock
Hi! I would like to use Buildship as the mid-tier between FlutterFlow and Amazon Bedrock? Is Buildship capable of connecting to an API via Python or is it only via Rest APIs?
Solution:
Hi @pgiesin You can call the BuildShip REST APIs in your Python scripts and execute successfully, or if it works for your usecase you can convert python scripts to JS as well. Once example conversation you can refer where the user called the BuildShip api in a python script. https://discord.com/channels/853498675484819476/1265623912478146650/1265757288514326729 Feel free to ask more questions.
get firebase collection data
Hi as of a test I am trying to collect my customer data through a node however the OpenAI assistant that should use this node throws this error:
400 Invalid schema for function 'getCustomers': In context=('properties', 'orderBy'), array schema missing items.
I am not sure what I am doing wrong here....
Solution:
Hi @Jippr, Currently the OpenAI Assitatant throws an error if it has a ndoe (tool) which has an array input field. As a solution you can make the query outside the Assistant node and then add an empty node inside the Assistant then store the variable output of the Firestore Collection Query node to make your workflow work.
Or alternatlveiy you can use the Anthropic Claude Assistant which will work even with array inputs....
How does Priority Support work?
Hi, our team just recently upgraded to Buildship Pro and I was wondering how the Priority Support is being handled. Does this count for all workspace members or just the owner etc.?
Solution:
Generate Bearer Token
I have an API I'm trying to call the uses a bearer token. I can generate the bearer token via a seperate api call. the Bearer token as an expiration time of about 12 hours. Whats the best method in Buildship to leverage my bearer token and if expired then regenerate?
Solution:
Scrape (Dynamic)
Is there a limit on the use of this node?
I know it works because I have had positive results, but immediately after it works it then suddenly doesn't, for about 10 minutes all I get is a navigation timeout message, until miraculously it works again....