Skip to main content

I have an automation that once an attachment field is not empty, it creates a new record in a different base with that attachment and a few other fields.

Is there a way, that if the attachment field has more than 1 file, it will create a new record for each one of those files?

Yes, you can use a repeating group in your automation to loop through all of the attachments in the attachment field. Just use the attachment field as the input list for your repeating group.

- ScottWorld, Expert Airtable Consultant


Hey Limi!
Airtable's standard automation actions don't offer a built-in way to split an attachment field with multiple files into separate records. However, you can achieve this using a custom script within the automation.

By using the "Run a script" action, you can loop through each file in the attachment field and then create a new record for each one in your destination base, including any additional fields you need.
Hope it Helps!


@tatereal 

That is incorrect. Airtable's repeating action allows you to split an attachment field by looping through the attachments, as I mentioned above in my previous post.

- ScottWorld, Expert Airtable Consultant


Thanks for correcting me I didn't know!


You’re welcome!