Skip to main content
Solved

Automations with attachments


  • Participating Frequently
  • 9 replies

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?

Best answer by ScottWorld

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

View original
Did this topic help you find an answer to your question?

5 replies

ScottWorld
Forum|alt.badge.img+20
  • Brainy
  • 8711 replies
  • Answer
  • February 5, 2025

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


  • New Participant
  • 2 replies
  • February 5, 2025

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!


ScottWorld
Forum|alt.badge.img+20
  • Brainy
  • 8711 replies
  • February 10, 2025

@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


  • New Participant
  • 2 replies
  • February 11, 2025

Thanks for correcting me I didn't know!


ScottWorld
Forum|alt.badge.img+20
  • Brainy
  • 8711 replies
  • February 11, 2025

You’re welcome!


Reply