Help

Automations with attachments

Topic Labels: Automations
Solved
Jump to Solution
182 5
cancel
Showing results for 
Search instead for 
Did you mean: 
Limi
6 - Interface Innovator
6 - Interface Innovator

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?

1 Solution

Accepted Solutions
ScottWorld
18 - Pluto
18 - Pluto

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

See Solution in Thread

5 Replies 5
ScottWorld
18 - Pluto
18 - Pluto

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

tatereal
4 - Data Explorer
4 - Data Explorer

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
18 - Pluto
18 - Pluto

@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

tatereal
4 - Data Explorer
4 - Data Explorer

Thanks for correcting me I didn't know!

ScottWorld
18 - Pluto
18 - Pluto

You’re welcome!