BuildShip

B

BuildShip

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

Join

❓・buildship-help

🌇・showcase-and-share

💬・general

❗Sudden outage/error in the 'Get Firestore Document' Node?

Until about an hour ago my Workflow worked perfectly. Suddenly I am getting messages from my users about the app no longer working. I've got loads of errors I cannot explain. @Gaurav Chadha and Buildship team is it something you are aware of?...
No description

Get path/ref from field value?!?

I am trying to update a firestore document based on a path from a reference field in another table and getting errors. e.g. Table1 has a ref field 'parent' ("parent/12314123123231") - I want to pass that into the [Firestore Update Document] node to update the associated document (path) in Table2 ("parent/12314123123231"). Tried variations like this (with + without the "ref" element)... but getting errors?!? ...see attached....
Solution:
@Ryan A, can you give this workflow a try. As a temporary workaround I added a utility node at the top of your workflow for extracting document references from the Rowy row. However, I'm not too sure what you're trying to update in the "Update Document" node, so that may still be off.
No description

Using WhatsApp in FlutterFlow how to know if the receiver received the message #buildship-help

Using WhatsApp in FlutterFlow how to know if the receiver received the message that was sent through the app? Some might see the message but ignore to action that would be considered opened but in case the user never receive the message this should be trigger for me as an owner. Example if I want to make a campaign by sending Whatsapp messages, I want to know how many people receive the notification that I sent from the app and how many missed. Of course, some users who responded back their repl...

Massively inserting rows in the build-in Buildship Firestore database

Hello! Is there a way to massively add new rows into the built-in Buildship Firestore database?? Without having to insert the rows one by one??? @Gaurav Chadha
Solution:
Hi @adrfinance, you can pass the data dynamically using variables, instead of hardcoding the data, example query from your firestore collection and create document using BuildShip Create Document node pass the data received to BuildShip Table Create Doc node. https://docs.buildship.com/basics/buildship-tables.

Openai assistant don't work

Hi plase can someone help me making the assistant work? i've try so many times but it says that the assistant doesnt exist or the response is null. please help love you

Database Query

I have tried to perform Buidlship Database Query with 3 AND contition values. and I got an error: FAILED_PRECONDITION: The query requires an index. You can create it here: https://console.firebase.google.com/v1/r/project/buildship-xxxx/firestore/indexes?create_composite=xxxxxxxxxxx It seems that max 2 conditions are allowed. Is that correct?...

OpenAI Variables

Is it possible to make the Assistant ID in the OpenAI Assistant Node a variable? I've never seem an example where someone had that set up.

Get Product Details From Barcode node is not working

I am trying to make an api call to openfoodfacts but I can’t get the barcode value from the query object. The API is working fine when I pass the barcode value directly in the test node, but it is returning null when I test the entire the workflow. Could you please analyze the prints I sent?...
Solution:
I found a solution by myself. I missed to include Query.barcode in the get product details node 😃
No description

inference speed on Groq using Llama 3 70B through Buildship

The inference speed on Groq using Llama 3 70B through Buildship seems to vary dramatically. At times I get 9 and 10 second delays that I do not get when interacting with Groq directly. It has the feel of cold starting somewhere, but I am on the Pro plan where pricing page says no cold starts. This may be true of other inference engines, I do not know.

Minified React error #31

I was testing some node and after each test I received: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7BnodeId%2C%20nodeName%2C%20stage%2C%20errorObject%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings. Atrer refresh it is possible to test again....
Solution:
"export function" was missing

LLM extraction method (Anthropic) - fields naming

Hey guys, I have one question regarding the LLM extraction process (Anthropic). https://youtu.be/OJZzwcgjKW8?si=TnVDDGXjOuomUzSN 11:20 - should I specify the exact names of fields to parse? For example, I want to crawl & scrape 100 sites (collected by Google SERP scraping, with different sitemaps, structure and complexity, various JS selectors and fields naming), containing info about marketing agencies, to get the list of all agencies (name+link). Since there are many naming options for the same fields for each website, is there any possibility to give less accurate instructions like "marketing agecy name" + "marketing agecy link", instead of "title"+"link"? ...
Solution:
Hey @fisa, you don't have to specify the exact names because the LLM will try it's best to deduce the data, but for more accurate results you should provide field names you know are on the page. But as your asking you can pass those field names as well just in a comma separated and slightly different format i.e: marketing_agency_name, marketing_agency_link...
No description

Cannot convert object to primitive value

Good morning, I have created a workflow that consists of creating a payments intents in Stripe and the return should be a json with several keys and values but when I have the api and I want to run it in production I get this error: "message: "Cannot convert object to primitive value"....

logging

If I follow the user guide on how to add logging into a code: https://docs.buildship.com/logging and perform test on one specific node. Logs are not written into the logging panel. I have tried several times and it seems that is not written at all. ...
Solution:
Hi @oneway6026 sent you an email, regarding this, you can followup on the email. The logging statements are working fine and showing up in your workflow. More info shared over email.

google cloud storage

I want to route an audio file from the frontend to some audio classification models on the backend for classification. My audio classification models are on google cloud storage bucket. What do I need to do? Does buildship work with google cloud storage?

Object Validation node returns Unsupported type: timestamp error

Hi, trying to create firestore doc via api call based on this video https://www.youtube.com/watch?v=9-RCaOhz_eE. the main workflow works. but i want to add "created_at" field. In validation part i have { field: 'created_at', required: false, type: 'timestamp' }, and my body json is like...

Domain Restriction

Hey everyone - new here! I'm building a simple API in Buildship that does the following: Receives a REST API GET request Queries a database collection...
Solution:
Hi @wg, Currently custom domain is offered only on the Expert and BYOC (Bring your own cloud) plans which will allow you to host the server on your GCP, you can email us for more info at support@buildship.com & https://buildship.com/pricing

How to sign in to existing account

I see the flow for creating and authenticating with a new user account on firebase. Are there any examples of how to log in with the users email/password or through the google account and get authenticated into my app?

Streaming assistant in Loop

Hi, If I use the default OpenAI Assistant (Stream Response) node in Loop, it seems like it ain't wait the stream to finish and it submits the next message even if the first streaming (and run) is still running.. I works as single node, without loop, but in loop it gives multiple run error.. Please help!
Solution:
@Gaurav Chadha I have updated your Streaming Assistant node, added Promise for Stream Handling and now the function assistant awaits the handleStream completion.. please check and consider update so others could use this as well:
No description

Errors using Firestore Collection Query as a function of OpenAI Assistant

Hi - I’m trying to use the Firestore - Collection Query Node as a function of an OpenAI Assistant. Unfortunately, I keep encountering errors no matter how I set things up. If I set the 'Filters' and 'Order By' fields blank or auto-filled, I receive the error message: 400 Invalid schema for function 'meal_collection_collection': In context=('properties', 'orderBy'), array schema missing items For autofill, I leave the default field name and instructions. ...
No description

Open Ai text generator

I have a problem, when I run my flow I get this error. Can someone help me pls?
No description