Create multiple new records in Adalo from Custom Action response

Hi everyone,

hope you can help me with this one. We couldn’t find any solution in the help docs, forum or through trial & error.

We are trying to create multiple new records in an Adalo collection from a custom action response. Workflow as follows:

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).

@mpl

  1. 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)
  2. Is the form submitted 1 record at a time or multiple records simultaneously by the user?

image

1 Like

The custom action is needed because we didn’t find any way to create multiple events at once in Adalo.

With recurring events things get messy pretty fast. Think e. g. about a daily lunch break mon-fri from 12-13. Thats 20 events every month alone.

That’s much easier using the custom action.

In that case you probably should use automation tool and iterate through the responses to be loaded into Adalo’s collections.

Ex:

  1. Send a webhook to Integromat
  2. Add iterator
  3. Send one record at a time with http post calls back to Adalo.
1 Like

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.

Understand there’s a bulk action coming soon in Adalo, not sure when though.

But yes, happy to help if required.

Not giving up just yet. Do you maybe have an idea how to create multiple records from this single API response containing multiple records @Colin ?

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.

2 Likes

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).

can you provide a tutorial how to do that with zapier/Integromat?

2 Likes

@Colin any updates on handling arrays and bulk actions?

2 Likes