Skip to content
How to automaticall...
 
Notifications
Clear all

How to automatically add items for each attachment in an Airtable field?

5 Posts
3 Users
0 Reactions
5 Views
olivedrab
(@olivedrab)
Posts: 5
Active Member
Topic starter
 

Hi, I recently switched over from Zapier.

:wave:

I have an Airtable database, and one of the columns is an attachment field containing multiple photos.

Using callin.io, I want to transfer the contents of this field (those photos) to a multi-image field in a Webflow CMS.

However, I'm encountering an issue where only the first image is uploading to the CMS, while the rest are not. I'm not sure why this is happening.

Here is the output I'm receiving from Airtable:

Here is my input from Webflow:

Why is there only one photo item in the Webflow photo gallery output? How can I ensure all photos are uploaded and not just the first one?

This is how my Webflow step is configured:

How can I configure callin.io to automatically add an entry for every photo in my Airtable field?

Thanks!

 
Posted : 14/12/2022 3:36 am
alex.newpath
(@alex-newpath)
Posts: 53
Trusted Member
 

Use an iterator on the upload array, and it will call your webflow module once for every picture. You’ll need to use the iterator value in the webflow module.

 
Posted : 14/12/2022 3:45 am
olivedrab
(@olivedrab)
Posts: 5
Active Member
Topic starter
 

Hi Alex, thanks for your assistance. Using an iterator resolved the issue. With Webflow, I initially encountered a problem where I was creating a distinct CMS item for each photo. Subsequently, I faced another issue where I was creating a CMS item for every photo, yet each blog post was correctly populated with all necessary photos. Adjusting my modules resolved this.

Here's how I structured it:

The key is to create the CMS item initially, prior to the iterator step, and then populate the post with an array of photos.

If you can suggest a more efficient method, I would be grateful! Regardless, thank you again for your help, and happy holidays!

 
Posted : 15/12/2022 3:58 am
Michaela
(@michaela)
Posts: 35
Eminent Member
 

Hello, welcome to callin.io and welcome to the community

:wave:

I just wanted to chime in and say great job getting this to work! Also, thank you so much for sharing your final solution with the community. We really appreciate it as it can be incredibly helpful for others in the future

:pray:

 
Posted : 15/12/2022 7:59 am
alex.newpath
(@alex-newpath)
Posts: 53
Trusted Member
 

That looks good. 3 operations plus one for each picture is probably the most efficient method for this. Season’s Greetings to you as well!

 
Posted : 15/12/2022 2:59 pm
Share: