I’m working on a project where I retrieve a list of data from an external API (as shown in the images above). The API returns the data as a list, and currently, I am traversing through this list and creating individual entries in the database using a backend workflow.
While this approach works, it takes a significant amount of time since I am processing and storing each entry one by one.
Here’s what I have done so far:
- I fetch the data from the external API as a list.
- I loop through the list using “Schedule API Workflow on a list”, and for each item, I run another backend workflow to create a new database entry.
I want to optimize this process to insert all entries in bulk instead of creating them one by one. Is there a way in Bubble to handle bulk insertion efficiently?
Any guidance or suggestions would be greatly appreciated!
Thanks in advance.