BuildShip

B

BuildShip

Join the community to ask questions about BuildShip and get answers from other members.

Join

❓・buildship-help

🌇・showcase-and-share

💬・general

Hume AI

Hey guys for Hume AI Expression-Measurement, My app front end requries me to upload the urls via api, however since the node has a call back, when uplaoding the yalm its empty. Due to i assuem it not having a result. Is there anyway around this? I tried taking out the callback url, and putting everything in one flow but when i do that, it doesnt wait for the job to be done causing invalid data to be passed through

ChatGPT Response Streaming with WeWeb and Supabase

Hi everyone, I'm trying to build a ChatGPT clone with response streaming, but I need to do it using WeWeb and Supabase platforms. I'm facing difficulties because ChatGPT's response streaming requires a different structure than traditional API interactions. I already tried implementing this using Supabase edge functions but gave up due to the complexity....
Solution:
@SauloAssis, not sure about supabase but hopefully this helps with the WeWeb part.

HTML to PDF node returns corrupted file

Hello together. I am using a workflow that takes html as an input and then uses the html to pdf node to generate a PDF file, that will then saved to a cloud storage. That Flow was wokring perfectly until 04.08. When i used the workflow today the pdf links were generated but i can not open the pdf fieles in the cloud anymore. Apperently corrupted. When i check the node output it is empty. I tried to redo the node but codewise i looks like nothing chnaged in the node. Were there any changes to the https://puppeteer.buildship.run/v1/pdf rount that may cause such an issue?...

Airtable "Create Records" API Error

I'm trying to use the Airtable "Create Records" API to add multiple records at once. I'm passing the following response from the OpenAI Assistant: ```json { "response": "{"fields":[{"Date":"2024-08-06","Item":"Duck Eggs","Quantity":30,"Unit":"unit","Notes":"harvested"},{"Date":"2024-08-06","Item":"Chicken Eggs","Quantity":10,"Unit":"unit","Notes":"harvested"}]}"...

Multiple Streaming Sessions

How do I clean up multiple streaming sessions during testing? See the attachment. #streaming #AI #assistant
No description

FlutterFlow Streaming Assistant with Firestore

Hi i am trying to get this template to work and everything is showing on chatgpt and buildship's side but for some reason it wont come show on flutterflow... here is a video of what happens when i send a message during a test https://jam.dev/c/358602c4-3f30-4597-bd26-1269e3066111. I have also attached a screenshot with the API test coming up as null, and a separate project with the template in its original form working
No description

Supabase: Invite user over email

I am trying to set up a team invite system with Toddle and Supabase. I created a helper table called team_members in Supabase with a Supabase Insert Trigger node in Buildship. However, I cannot get the API call to properly work. My Invite user over email API call does send an email, however, I cant figure out why the "redirectTo" parameter does not work. Did anyone already build this and provide their node as a template? Here's part of the node: const body = JSON.stringify({...
Solution:
Thanks for sharing, send the emailRedirectTo as options. options: { emailRedirectTo: 'https://example.com/welcome' } In the data body, refer to this https://supabase.com/docs/reference/javascript/auth-verifyotp. You can use the Edit with AI feature to modify it for your node...

Failed to execute workflow

Help me please
Solution:
Hi William, On checking your workflow and executing a sample test, it is working fine. The error "Failed to execute workflow" seems to be due to a caching issue, you can try on incognito mode (private window) it should work fine. Also, a suggestion on your shared workflow, since you are updating the value after querying and iterating over the array, I would suggest you use a schedule cron with the schedule set to execute every two minutes. Sent you email....
No description

Google calendar api and buildship

I have an app with multiple google calendar owners, i want to give the users of the app the option to insert events into a specific calendar owner they choose. For example, there are multiple businesses in my app, i want to give their customers the option to make an appointment and insert the event to the business’s calendar (without the need of the business to authenticate). Does it possible to do it in buildship?...

How can I send a response directly to the user who asked the question using a Telegram bot on builds

I am working on a Telegram bot with chatgpt assistant using buildship.app. I want the bot to send a response directly to the user who asked the question (in their chat ID, not my) On video example on Youtube I saw that author used specific chat ID. But how insert here smth generic? Need advice....
No description

What is the cause of this?

Solution:
@Henry Moses, its due to wrong expression (invalid expression variable) in the editor. You can clear the expression and add a valid one, it should work then.
No description

CORS Policy Issue

Hey there! I am facing a Cors Policy problem even with a public URL, am I missing something here or is it a bug? It is supposed to be a public URL according to the information on Buildship ...
No description

chat bot with nextjs

i have created workflow chat wi supabse and in text mode working fine but if I implement this in nextjs app and start chat that show error I was attaching image here. this is error wile chat with bot
{ "error": { "status": 400, "headers": { "alt-svc": "h3=\":443\"; ma=86400", "cf-cache-status": "DYNAMIC", "cf-ray": "8ac736299cfb6326-ORD", "connection": "keep-alive", "content-length": "203", "content-type": "application/json", "date": "Thu, 01 Aug 2024 16:30:14 GMT", "openai-organization": "user-tecqq7ghzy7wyosafoigsw2v", "openai-processing-ms": "23", "openai-version": "2020-10-01", "server": "cloudflare", "set-cookie": "__cf_bm=TjvnW71eNe7KTRlK8dIfFTtW7nj3Y1jD2tRgO9e.dEY-1722529814-1.0.1.1-TyrZHDcuBxeZjUfOIt01wIlczQ2nY8WgYwRJIRja8rAz5sWsagqiG8KLx_9C3rBWvvy4Gi1NdZyFjOcPCc9IUQ; path=/; expires=Thu, 01-Aug-24 17:00:14 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=7Ip47q2TY8pp2awgE99XA8qmHKTUi_n2ogEKbdpfnr8-1722529814098-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", "strict-transport-security": "max-age=15552000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-request-id": "req_d07b3718076ef9cdcf4466aceca53162" }, "error": { "message": "Missing required parameter: 'messages[0].content'.", "type": "invalid_request_error", "param": "messages[0].content", "code": "missing_required_parameter" }, "code": "missing_required_parameter", "param": "messages[0].content", "type": "invalid_request_error" }, "label": "OpenAI Assistant", "message": "400 Missing required parameter: 'messages[0].content'."
{ "error": { "status": 400, "headers": { "alt-svc": "h3=\":443\"; ma=86400", "cf-cache-status": "DYNAMIC", "cf-ray": "8ac736299cfb6326-ORD", "connection": "keep-alive", "content-length": "203", "content-type": "application/json", "date": "Thu, 01 Aug 2024 16:30:14 GMT", "openai-organization": "user-tecqq7ghzy7wyosafoigsw2v", "openai-processing-ms": "23", "openai-version": "2020-10-01", "server": "cloudflare", "set-cookie": "__cf_bm=TjvnW71eNe7KTRlK8dIfFTtW7nj3Y1jD2tRgO9e.dEY-1722529814-1.0.1.1-TyrZHDcuBxeZjUfOIt01wIlczQ2nY8WgYwRJIRja8rAz5sWsagqiG8KLx_9C3rBWvvy4Gi1NdZyFjOcPCc9IUQ; path=/; expires=Thu, 01-Aug-24 17:00:14 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=7Ip47q2TY8pp2awgE99XA8qmHKTUi_n2ogEKbdpfnr8-1722529814098-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None", "strict-transport-security": "max-age=15552000; includeSubDomains; preload", "x-content-type-options": "nosniff", "x-request-id": "req_d07b3718076ef9cdcf4466aceca53162" }, "error": { "message": "Missing required parameter: 'messages[0].content'.", "type": "invalid_request_error", "param": "messages[0].content", "code": "missing_required_parameter" }, "code": "missing_required_parameter", "param": "messages[0].content", "type": "invalid_request_error" }, "label": "OpenAI Assistant", "message": "400 Missing required parameter: 'messages[0].content'."
...
Solution:
In your workflow you are taking the prompt form the query not from the body. change the prompt to (x)Body.message, it should work then, note here that the body is the variable from the Rest API Request.
No description

Buildship Bot for NextJs

Hi everyone, Excited to be using Buildship for a knowledge bot! I came across this chatbot widget and wanted to know if this was available for Nextjs? https://github.com/rowyio/buildship-chat-widget?tab=readme-ov-file#step-3-config-properties-and-customization...
Solution:
Hey @coop2432, here's one way you can do this: First, install the NPM package in your project: https://www.npmjs.com/package/@buildshipapp/chat-widget Second, you can initialize the widget in any page or component you want using useEffect. Lets say you want to do this in page.tsx :...

Output too large on API call node

I have an API call node that works fine in test mode but breaks in production with am "Output too large" message. Both the test and production are using the same inputs. The output of the node is used in a loop node further on in the workflow....
Solution:
Hi @Clinton , the output too large, is not an issue, you can still return the value or view the value when you execute test, we are working on improving the UX around it.

Streaming AI Assistant using BuildShip is very buggy compared to the OpenAi API

Hello everyone, Im having a little bit of a hard time with the flutterflow template i find it to be pretty buggy with responses. Responses sometimes dont come in and when they do come in they are wrong like it wont remeber the name, also if i answer a multiple line response it wont receive it. Ive included a screen recording of a test from the app and also a screen recording of how it should be on OpenAi API. How can i get it to match the OpenAi response and not like the wonky template response App Test: https://www.loom.com/share/a48cbf7c024b46649fa4059e3883a4a1?sid=eca21d90-acc1-4cc8-84fe-6bae27b40c96 OpenAi API: https://www.loom.com/share/a3f9627b02ea4e7a92451757d6b5d92b?sid=65e49eab-ca42-4890-829c-977a3f6122da...
No description

Google Cloud Storage "create document" node storing to Buildship storage

I am trying to use the GCS node to store to a Google Cloud Storage bucket. I have followed the instructions for setting that up from this doc: https://docs.buildship.com/tutorials/gcp-storage Buildship seems to be using its GCS though and I haven't been able to figure out how to get it to switch to using my GC account....

Hi I need urgent help!

Hi I need urgent help! I've built an AI Assistant on Flutter Flow using Buildship and Open AI. It personalises responses based on user data stored in Supabase. I've installed RLS, but it won't read the data when I do an API call. When I make the RLS readable to every authorised user, it doesn't filter for just the user ID. How do I fix this ASAP? My app is now down as my assistant was reading the wrong data. Urgent help please so my app starts working again for active users...
No description

I am try to pass a variable on a GET request something like this bellow but no success until now.

"https://mydomain.com/apicall/userID/ID" Because ID will be dynamic how to pass it? Thank you !!...
Solution:
@I.K Designs You can pass the ID as a query parameter or from the body, you can refer to this documentation - https://docs.buildship.com/utility-nodes/api-call-node#query-parameters. Then you'll be able to pass it as a variable on FlutterFlow as well, tutorial on BuildShip x FlutterFlow - https://docs.buildship.com/flutterflow.
No description

supabase

Hello im using buildship to make a cronJOb to my supabase DB so i can keep some reports. I can already do it, but, I have to turn off the policies for it to work, Is there a way of creating a policy to allow the buildship to interact with it?...
Solution:
Hi @pedro Along with the above resource you can refer to this to create RLS policies and connect with BuildShip - https://docs.buildship.com/tutorials/supabase-crud#supabase-row-level-security-rls.