Hi all, im new to make an try to automate some stuff here from airtable:
This is what my problem is:
This indicates that the iterator does not use the array of rules correctly, but refers to individual fields of a bundle. Let’s solve the problem together and find alternative ways to achieve your goal.
- check the output of the “Search Records” module (module 2)
It appears that the Search Records module is retrieving the rules correctly and outputting them as four bundles. This is a good sign.
Question: Is the “Aggregated” option possibly used in the “Search Records” module?
- In make.com there is a setting in the “Search Records” module called “Aggregate”.
- When “Aggregate” is enabled, all records found are combined into a single bundle.
- If “Aggregate” is disabled, the module will output multiple bundles, one for each record.
Solution:
- Open the “Search Records” module (module 2).
- Check the “Aggregate” setting:
- Make sure that “Map each record individually” is set to “Yes” or that “Aggregate” is disabled.
- Save the settings and run the module again.
Thank you!!
Hello @Patrick_Ihorst,
After the Airtable’s Search Records it always returns multiple bundles, not an Array.
In the Make multiple bundles are considered as separate Collections
The iterator always needs an Array as an Input. Where Search Records returns multiple bundles that can’t be directly used as input of the Iterator.
That’s why you need to add an extra module Array Aggregator to aggregate all output bundles (collections) of Search Records and convert them into a single array.
After that pass that output of aggregated array as an Input of an Iterator.
This is required the steps you need to follow when you use Airtable’s Search Records module.
It’s not the same for all other modules, some modules have a Specialize Iterator(built-in Iterator) that you can directly use and then go for other steps.
See the example https://www.make.com/en/help/modules/iterator#specialized-iterators-935214
To understand these concepts more clearly I recommend you to understand the difference between how Make handles the Array and collections.
Make Academy Official Course Materials on this topic.
https://academy.make.com/courses/BasicsC02
https://academy.make.com/courses/BasicsC04
https://academy.make.com/courses/IntermediateC01
This full course is really important, check it 🟣 Make Academy: Course Overview
2 Likes