How to collect and organize file IDs from multiple Google Drive bundles?

First time poster and mostly new’ish to Make.

I’ve AI’d this to death and can’t seem to figure out my issue. I’ll attempt to summarize and then show images that may be informative.

Current Issue Summary: I’m accessing a folder in Google Drive via a link captured from an Asana custom field. That part seems to work. Here’s what’s not.

  1. The Drive module output creates a bundle for each image. Within each bundle, there is a section titled Spaces. Within that there is a File ID.

  2. Because of item 1, the Drive module is outputting 15 bundles, so then when I add an iterator or any other module, we are dealing with 15 separate operations.

Ideally, after the Drive output, I am able to get the File ID’s from each of the 15 bundles. My assumption is that we’d end up with a Bundle dynamic variable that then pulls the images individually – this is where it gets a bit confusing. Basically, if the drive file has 15 images, I need all 15 to be captured in a specific order.

Now for images.

This is the current module setup.

Thanks to a video I found in this forum, I used this structure to get the custom field data out of Asana. Prior to using this I had no way of property accessing the data. More on this in a moment.

This is my Drive Search for Files output.

I tried a Set Multiple Variables module after the Drive Search, but this resulted in the output of 15 different operations.

Then I started trying to test variations of the Set Variables functions used, but simply haven’t been able to get it to work.

This is the output from the Drive Search module.

My limited understanding is that:

  1. I need to combine the File ID’s from each of the 15 bundles somehow.

  2. To access the File ID’s we first look in an individual Bundle then in Spaces and then File ID.

I’m not currently sure if my ideal output looks like:

Bundle ID 1: File ID
Bundle ID 2: File ID

and so on,

Or if it should look like:

File ID
File ID

And so on.

Hopefully I’ve not made a complete mess of trying to explain this. If you can help I’d really appreciate it.

Welcome to the Make community!

Aggregators

Every result (item/record) from iterator/list/search/match modules will output a bundle. This can result in multiple bundles, which then trigger multiple operations in future modules (one operation per bundle). To “combine” multiple bundles into a single variable, 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 can apply to many use-cases like building of JSON, CSV, HTML.

There are other types of aggregator modules, click the below links to find out more:

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

Getting Started

Help Centre Basics

Articles & Videos

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.