return values from a rest api call to openai assistant to get generated image from code interpreter
I need to extract values from return node after openai assistant call that uses code interpreter to generate an image of a chart. It does not seem possible at the moment. Please advise!
Solution:
HI @Aleks, return node is the ending point of the workflow where the process will hault. You can instead add the node inside the Assistant Node to generate an image chart, you can refer to this example - https://discord.com/channels/853498675484819476/1214155459158868019/1214473204341538856.
Failed to execute workflow
Is there issue on Buildship services, working workflows are failing and API call response is 503?
Getting error for resizing images
```import sharp from 'sharp';
export default async function resizeImage({
imagePath
}) {
const resizedImagePath = ${process.env.BUCKET_FOLDER_PATH}/${Date.now()}_resized.png;...
HTML to PDF bigger images
I use the HTML to PDF node, it works fine with images of size 1024x1024. I tested 32 pages (a book can have 60 pages), where each page have an image. But, I generate pdf for printing books with lulu.com. I need images of 4096x4096 to match the lulu's requirements. With that size, it generates the pdf, but when I try to open it, I get 'Error Failed to load PDF document'. Is there a limit on your server for Puppeteer or something?
URL to screenshot
Does anyone know what this premade workflow returns I want to try and pass the image to Gemini to have a look at it but the image URL it gives back is something weird.
Cheers....
Solution:
Hi @H, The screenshot URL template returns a download URl of your image which is stored in you BuildShip storage, to pass it to the Gemini multimodal node, you can pass the path of upload it to the node.
Query Notion database not working
Hello all, I am new to buildship and trying to explore a possible Notion integration.
So basically what I am trying to do is query a Notion database using filters to retrieve some specific elements from this database
Now it looks like it does connect correctly to the database, but it just ignores completely the filters and returns all the items in the DB. I have tried the exact same filters on Postman and they returns the correct items so I am not sure if I am doing something wrong or if something is broken 🧐
This is the workflow, just the Rest call with the body containing the filters, than passing the filters to the Notion node and return the result. I also attached the workflow file.
If anyone have any what's going on please help, I've been stuck on this all day yesterday 😅...
Solution:
Hey @LDMWEB, for the second issue with the body validation error, you need to remove the
filter
property and just use the data inside, i.e:
```
{
"or": [
"property": "First Name"...How to check how many execution time I have consumed this month.
I have checked whole panel but can't found this thing.
Solution:
Hi @anshboi, The Execution hours metrics is under the enhancement phase, to be exposed to the UI. We'll have it probably by the end of this month, for now we assure it won't cut off automatically, as we're managing it on the backend currently.
Converting pdf to base64
I am receiving a pdf in the body as a POST Rest api call and want to convert that pdf to a base64 string so i can save it the way i want in my Supabase db. I tried creating such node with AI but it doenst work.
Does anyone has the code or a good prompt to create such node?...
Solution:
HI @Sleetza, to make this simpler, you can follow this flow:
- PDF to Text (there is a pre-existing node for this).
- Then create a node using AI or custom logic to convert text to base64
- pass the result to the Supabase Create node....
Multi Link Scraping
Trying to find way of scraping multiple links at once but keep getting error when using a loop and scraper inside. (connect ECONNREFUSED)
Cheers
H...
Solution:
Pass the URL as an array from the request body and in the URL pass the item of loop. It will work then.
Website Screenshot
Is there a way of taking a screenshot of a website and returing it as a URL?
Cheers
H...
Solution:
Hi @H, Yes, you can use the pre existing nodes for this - Screenshot URL and Generate Public Download URL to pass the path and return a URL -
Loop question
I am very new to interact with Buildship. Hopefully someone can help. 🙂
I have this JSON array with two records. I use this to make a loop.
{
"Chapters": [...
Solution:
I fixed it myself. Changed the JSON to:
[
{
"ChapterTitle": "Chapter 1",
"Type": "[Type]",...

how do i make an API call to a supabase function? I have the variable to pass its just one variable.
how do i make an API call to a supabase function? I have the variable to pass its just one variable.
Please provide examples. I am having trouble with the buildship syntax....
Solution:
Hey, @Russell, You can click the node info tooltip to get the steps on how to create a Supabase RPC function and use it. Here's an example function I used to test the RPC node.
...
BEGIN
RETURN 'Hello, ' || name || '!';
END;
BEGIN
RETURN 'Hello, ' || name || '!';
END;
Is it a bug or do I do something wrong? Try to add parameters to a value field.
Maybe it's very easy, I really don't understand it...
See picture.
This is the return value:...
Solution:
In the first string, you'll require to add back ticks
instead of single quotes ' '. Lezer is: ${ctx["root"]["request"]["body"].namereader}
just like you did in second line. Then it will work.
Open AI action and Stripe
I was following this video:https://www.youtube.com/watch?v=R8S8C4OW_I8&t=166s But I cannot find the link to the action that must be used to integrate the post call to build stip/stripe. Can anyone help?
Solution:
Hi @Michelle Landon, could you please ensure your trigger method matches with the request method, you make to the API, if it still doesn't work you can submit a support request via in-app support.
Import 'moment-timezone'
Has anyone been able to use 'moment-timezone' in their API? I need to adjust the time that displays to the user with this library.
Solution:
Hey @hemax99#epic, Yes, you can simply import it and format date in desired format.
best way to set variables?
Both sides of this branch add records to the same table... and I need that record later, after the branches end.
None of the nodes seem designed for this. I'm using a buildship database to store it now, but it's clunky and slow. What am I missing?
Thanks!...
Solution:
Hey @thedusen, You can set the Environment Variables and use it across your project. environment variables are a set of user-defined key-value pairs that can be accessed by workflow nodes. While they share similarities with Secrets, environment variables are different in the following ways:
- Unlike Secrets, their values can be viewed by users.
- They are available at runtime so are quicker to access.
- Their ease of access in the runtime makes them less secure than Secrets....

how to integrate document ai
HI, i am a newbie here.
i am now building a project in flutterflow, and i need a function to send a pdf file (base64 string) to google's Document AI it will extract the data and I want to get back the exact data i need. to be more specific, i need to extract data from quotes like, Client details, Product details, Costs etc...
i tried doing it by myself in buildship but i can't figure it out.
there is a tutorial & template in Rowy so i thought i will do it there and figure it out, but it's not working anymore (the template).
in the comments in the youtube video they say that there is a updated video, but the updated video is using buildship and a google vision template. but, 1: i tried it and it did not work for me. 2: Google vision isn't the the right solution for me, because i need it to be very accurate. Google's Document AI is very accurate and is made for this. i can train there on my own documents....
Solution:
@elli - This is still a WIP, but you can give this workflow a try on your end.
SendGrid setup
Hello! I'm trying to set up SendGrid in BuildShip and in order to create a Secret Key, SendGrid is asking me questions I don't know how to answer - first off, what language i want to use. Thanks in advance!
Solution:

Attempt to integrate google sheets
Getting OAuth Blocked error with no ability to proceed, unlike previously submitted issues
This app is blocked
This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access....
