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

**URL:** <https://community.make.com/t/how-to-collect-and-organize-file-ids-from-multiple-google-drive-bundles/69619>\
**Category:** Questions\
**Tags:** google-drive, arrays, functions, mapping\
**Created:** [February 15, 2025, 4:46pm UTC](https://community.make.com/t/how-to-collect-and-organize-file-ids-from-multiple-google-drive-bundles/69619 "2025-02-15T16:46:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![r2d2](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/r2d2/32/63482_2.png) [@r2d2](https://community.make.com/u/r2d2)\
**Post date:** [February 15, 2025, 4:46pm UTC](https://community.make.com/t/how-to-collect-and-organize-file-ids-from-multiple-google-drive-bundles/69619/1 "2025-02-15T16:46:05Z")

</div>

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.

 ![Screenshot 2025-02-15 at 11.11.42 AM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/c/a/cabd7f63f2440c021f6cb243e93932b333e6ce6e.jpeg)

This is the current module setup.

 ![Screenshot 2025-02-15 at 11.12.01 AM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/3/3350960a184d34f8b659d814f6f58e24ed6a7ca1.png)

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.

 ![Screenshot 2025-02-15 at 11.12.14 AM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/9/a/9a50744623887eb60192e379b5657ba882e1b1bf.png)

This is my Drive Search for Files output.

 ![Screenshot 2025-02-15 at 11.12.24 AM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/8/e/8e34dd7d8aac4cac6419271cf1abead369a657c7.png)

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

 ![Screenshot 2025-02-15 at 11.27.31 AM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/0/5010401ee1b96a987e337af0c9df09e54074155d.png)

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

 ![Screenshot 2025-02-15 at 11.41.05 AM](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/f/f/ffd54b95c238cafd51b7faee3b73a336533a547f.png)

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.

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [February 16, 2025, 9:30am UTC](https://community.make.com/t/how-to-collect-and-organize-file-ids-from-multiple-google-drive-bundles/69619/2 "2025-02-16T09:30:56Z")

</div>

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](https://www.make.com/en/help/modules/aggregator.html) are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the [Array aggregator](https://www.make.com/en/help/tools/flow-control.html#array-aggregator) module. The next popular aggregator is the [Text Aggregator](https://www.make.com/en/help/tools/tools.html#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:

- [Array aggregator](https://www.make.com/en/help/tools/flow-control.html#array-aggregator)
- [Text aggregator](https://www.make.com/en/help/tools/tools.html#text-aggregator)
- [Numeric aggregator](https://www.make.com/en/help/tools/tools.html#numeric-aggregator)
- [Table aggregator](https://www.make.com/en/help/tools/tools.html#table-aggregator)
- [JSON aggregator](https://www.make.com/en/help/tools/json.html#aggregate-to-json)
- [CSV aggregator](https://www.make.com/en/help/apps/file-and-document-management/csv.html#create-csv)
- [Archive (ZIP) aggregator](https://www.make.com/en/help/apps/built-in-apps/archive.html#create-an-archive-973677)
- _other app-specific aggregators_

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](https://www.make.com/en/help) | [Tutorials](https://www.make.com/en/help/tutorials.html) – Make “Manual”
- [Make Academy](https://academy.make.com) – Basics 101: Learn Make and get certified

### Help Centre Basics

- [Mapping](https://www.make.com/en/help/mapping/mapping) – What is mapping? What can I map?
- [Mapping with arrays](https://www.make.com/en/help/mapping/mapping-arrays) – How to map items in an array
- [Aggregate an array for mapping complex fields](https://www.make.com/en/help/tools/flow-control#customizing-the-output)
- **Date Format** : [tokens for `parseDate`](https://www.make.com/en/help/functions/tokens-for-date-time-parsing) | [tokens for `formatDate`](https://www.make.com/en/help/functions/tokens-for-date-time-formatting)
- [HTTP modules](https://www.make.com/en/help/tools/http) – Make a request, Get (download) a file
- [Webhooks](https://www.make.com/en/help/tools/webhooks) – Error Handling, Responding to webhooks

### Articles & Videos

- [Router Magic Formula](https://www.youtube.com/watch?v=4Q-5BsCtJu4) - YouTube
- [Error Handlers in Make](https://www.youtube.com/playlist?list=PLRE9E-rAD8U10mx2TRs54Nq1XJDdK9Kx4) - YouTube playlist
- [Getting started with OpenAI](https://community.make.com/t/getting-started-with-openai-gpt-3-and-make/7796) - How to setup and use OpenAI (ChatGPT) in Make
- [How to use Regex in Make](https://community.make.com/t/how-to-use-regex-in-make/202) - How to use pattern matching to extract the text you want
- [Webhooks – Make Academy](https://academy.make.com/courses/IntermediateC04) – tutorial on how to use Webhooks

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

— @samliew

P.S.: Investing some effort into the [Make Academy](https://academy.make.com) will save you lots of time and frustration using Make.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [May 17, 2025, 8:37am UTC](https://community.make.com/t/how-to-collect-and-organize-file-ids-from-multiple-google-drive-bundles/69619/3 "2025-05-17T08:37:18Z")

</div>


