I am using the Slack Module(List Channels) and it outputs several bundles, and each bundle is a collection, each bundle has some set of different key-values, I want to extract some of the values like channel ID and channel name into an array. I want to convert the collections into an array so that by indexing we can check if the channel we are going to create in the next step exists or not.
Can anybody help me in converting a collection lists into an array?
Welcome to the Make community!
Every result (item/record) from a search module will output a bundle. To “combine” them into a single structure, you’ll need to use an aggregator of some sort.
Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module. The next popular aggregator is the Text Aggregator which is very flexible and has applies to many use-cases.
There are other types of aggregator modules, click the below links to find out more:
samliew – request private consultation
Join the unofficial Make Discord server to chat with other makers!
2 Likes