May 25, 2022 12:06 AM
Hi :slightly_smiling_face:
I would appreciate some help. I am using automation to send Airtable records to Integromat webhook and I have successfully managed to send and work with data “recordID”. That is also the trigger in the first step of the automation “When record updated”.
The remaining two Input variables are linked files, and I can not manage to receive data from linked files in Integromat.
Maybee these two lines should me rewriten since they are linked files?
await fetch(url + inputConfig[“Opportunity”]);
await fetch(url + inputConfig[“Suppliers”]);
Thak you,
Pjero
May 25, 2022 02:42 PM
The linked record field returns an array of Record ID’s, and you can’t pass an array to the “Get A Record” module, which is only expecting a single Record ID.
You saw that if your array only contains a single Record ID, it will work because it’s only passing a single Record ID, but if you have an entire array of Record ID’s, it won’t work.
If you want to do it manually, you will have to choose the #1 option underneath the name of the field if you want the 1st linked record, and the #2 option underneath the name of the field if you want the 2nd linked record.
If you want ALL the linked records, regardless of quantity, then you’ll have to use the “Iterator” Module to iterate through the array, so it will send one Record ID at a time to the Get A Record Module.
May 25, 2022 03:22 PM
I’m not quite sure where should I use the Iterator. This is my scenario now. I just added Iterator. Should I iterate what I am currently using as a Record ID in Suppliers or?
May 25, 2022 04:53 PM - edited Mar 05, 2024 07:12 AM
Sorry I can’t help you further, because it would take me a long time to train you on all the nuances on Make or create a sample scenario for you.
I wouldn't have the time to train you on how to assemble your particular Make scenario for free, but if you'd like to hire me, feel free to contact me through my website.
Otherwise, I would recommend opening up a support ticket with their technical support team here, who can help you piece it all together.
May 26, 2022 04:35 PM
Thank you Scott, for your help so far. I will contact support.