We filled in the magic text hoping that Adalo would automatically create a new record for each dataset received in the response. However, everything that is created is a single record showing empty values for all magic text received from the response. See Screenshot 4:
Any ideas what we’re doing wrong/what we could do to make it work?
A possible workaround would be to manage everything in an external database. However, for maintainability reasons we want to leave the appointment collection in Adalo (Adalo is so user-friendly it’s almost embarrassing).
why do you need custom actions within Adalo? You can save the data in collection by using Create/Update/Delete actions within Adalo (screenshot attached)
Is the form submitted 1 record at a time or multiple records simultaneously by the user?
Appreciate your advice! Mind if I get back to you if I decide to try your solution?
For now, for maintainability reasons I would prefer to have a more direct way to handle the response. We can’t really be the first once to rely on a custom action that returns more than one result. I bet there’s already a solution that I have overlooked so far.
Not giving up just yet. Do you maybe have an idea how to create multiple records from this single API response containing multiple records @anon78309838 ?
Until we can handle arrays and bulk actions, the only way to achieve this right now is to take this data outside of Adalo and use a 3rd party service such as Integromat/Zapier to manipulate the data and send it back to Adalo using the Adalo collections API.
I think I am not going to use 3rd party services because Adalo will bring it out themselves I really hope Adalo can bring it out soon (before the summer of this year).
I also need something similar where a user gets multiple standard assignments, so I need to create all of them at once once the user signs up. After signup complete, it needs to iterate through a collection and create all of the “result” records that are associated with each of the standard assignments.
If it is just one additional record then you can just stack the actions on the submit button.
You could do this for 3 or 4 records max before things get too slow.