luma
luma2w ago

Create an array that is always available

Hi ! New guy to low/no-code tools. This is probably a dumb question, but is there a way to create an array and store data inside ? Context is, I want to generate text from openAI in a loop, and store outputs in an array that I can use outside of that loop. But there doesnt seem to be any node where I can simply do that, and I'd like to avoid editing the openAI node to nest everything in a while loop (to learn the proper buildship way)
4 Replies
AI Support
AI Support2w ago
AI Support Bot Information
<@626224013772849169> you can react on the relevant answer (message) with a ✅ in this thread when you think it has been solved, by the bot or by a human! Anyone can react on this message with a ❌ if the GPT bot is unhelpful or hallucinating answers. Please note: Team members will review and answer the questions on best efforts basis.
AI Support
AI Support2w ago
AI Response
It seems that there aren't any specific pre-built nodes in BuildShip for creating an array to store data directly within a loop. This functionality might not be directly supported as a simple node operation. However, a common approach to achieve this in low/no-code platforms is to use a sequence of nodes that accumulate data step by step. You could potentially simulate an array by using a combination of nodes that append data to a collection or list structure within the workflow, and then utilize this collection outside of the loop. If there's a particular node or feature you're looking for that's not available, think about using a combination of nodes to achieve the desired logic. Alternatively, you can reach out to BuildShip's support through their in-app support for more assistance on specific use cases.
BuildShip AI Support
Luis
Luis7d ago
Hi @luma, no question is dumb when learning 🙂. If you're looking to persist an array then you might consider saving it to a database. The easiest way to do this is to use the BuildShip database, every project comes with one.
Luis
Luis7d ago
BuildShip - Visual backend workflow builder
Visually build workflows and powerful backend logic for your apps. Powered by AI, connect to anything with or without code.