HI Everybody
I am a newbie in make and struggle about aggregator function.
My scenario is the following one :
- from formular I have files (jpg) that are uploaded to OneDrive folder by iterator module (quantity of photos are variable)
- I upload files to Airtable by creating new data if new query OR update data if already existing query.
But the problem is only 1 photo is uploaded by cycle to Airtable and then when multiple bundles the first one is erased to be updated by the following one.
I tried to use ARRAY AGGREGATOR but as there are different bundles from the origine to get the different URLs of the photos the aggregator is not stopping and waiting for the next bundles it pass thru directly 1 bundle at a time and no aggregation is made.
Thank you a lot for your help
Cedric
1 Like
Hi @Cedric_CHEN1
In array aggregator we have to se the source module as iterator.
Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation
1 Like
Hello @Cedric_CHEN1,
If this is related to the attachment field then try this approach while you add single/multiple attachments to the airtable.
It would be best if you changed the name of the key in your given array of collections.
As per the shared screens you’ve given File URL
as the key, change it and give url
only.
The File name
key parameter is optional. But if you still want to pass it then use filename
. Check more here Airtable Web API.
P.S.: Always search first, Check Make Academy. If this is helpful, mark it as a solution and
Need expert help or have questions? Contact or comment below!
hi @dilipborad
thank for the tip.
I will try
Thank you
HI @Msquare_Automation
With your help I succeed to aggregate de the files to be upload but something weird is happening : one of the attachement is duplicated…
in example, when I have 2 bundles of file (2 files) coming from iterator, I have 3 bundles as output from array aggregator
Any idea why duplication?
Thank you again for your help