- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 05, 2025 05:51 AM
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?
Solved! Go to Solution.
Accepted Solutions
![ScottWorld ScottWorld](https://community.airtable.com/legacyfs/online/avatars/3X/7/e/7eff84feb0baf275c7ef4416aa8f1be38dbb1471.jpeg)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 05, 2025 05:59 AM
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
![ScottWorld ScottWorld](https://community.airtable.com/legacyfs/online/avatars/3X/7/e/7eff84feb0baf275c7ef4416aa8f1be38dbb1471.jpeg)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 05, 2025 05:59 AM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 05, 2025 01:59 PM
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 ScottWorld](https://community.airtable.com/legacyfs/online/avatars/3X/7/e/7eff84feb0baf275c7ef4416aa8f1be38dbb1471.jpeg)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 10, 2025 10:02 AM - edited ‎Feb 10, 2025 10:03 AM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 11, 2025 10:50 AM
Thanks for correcting me I didn't know!
![ScottWorld ScottWorld](https://community.airtable.com/legacyfs/online/avatars/3X/7/e/7eff84feb0baf275c7ef4416aa8f1be38dbb1471.jpeg)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 11, 2025 11:11 AM
You’re welcome!
![](/skins/images/DD0CD7D0ACF200EF4456420D87029A3D/responsive_peak/images/icon_anonymous_message.png)