# Issue with mapping both URL array and total bundles after text aggregator

**URL:** https://community.make.com/t/issue-with-mapping-both-url-array-and-total-bundles-after-text-aggregator/70750
**Category:** Questions
**Tags:** arrays
**Created:** [February 21, 2025, 9:06am UTC](https://community.make.com/t/issue-with-mapping-both-url-array-and-total-bundles-after-text-aggregator/70750 "2025-02-21T09:06:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Boijdingo](https://avatars.discourse-cdn.com/v4/letter/b/c67d28/32.png) [@Boijdingo](https://community.make.com/u/Boijdingo)
#### Post date: [February 21, 2025, 9:06am UTC](https://community.make.com/t/issue-with-mapping-both-url-array-and-total-bundles-after-text-aggregator/70750/1 "2025-02-21T09:06:13Z")

</div>

Hi everyone,

I’m running into an issue where I need to use both an array of URLs and the total number of URLs (total bundles) in my scenario, but after using a text aggregator, I can only access the URL array in the mapping.

Here’s my setup:

1. I have a scraped **URL array** (a list of URLs).
2. I have **total bundles** (the count of URLs in the array).

The problem is that once I pass the URL array through the text aggregator to combine them into a single text output, I lose access to the total bundles variable in the mapping. However, I still need the total bundles value for filtering purposes.

How can I structure this so that both the aggregated URL list and the total bundles remain available in the mapping? Is there a workaround to keep both values accessible after aggregation?

Pictures:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/f/b/fb4af8b38b6c86275ab73549d0a6321ffe58b860.png)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/7/e/7e866cc0397d4635d41684dcf9a84443ef2718c1.png)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/f/0feb83b43775e736ad128897f0c494e92384b10c.png)

Thanks in advance!

---

<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 21, 2025, 9:36am UTC](https://community.make.com/t/issue-with-mapping-both-url-array-and-total-bundles-after-text-aggregator/70750/2 "2025-02-21T09:36:18Z")

</div>

Welcome to the Make community!

When you see ARRAY, think ITERATOR.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/3/23a694ffc3939712667b383fd1b497de5d8afecb.png)

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/b/b/bb0162b13bbd34dbfbb41c5c399be413a9b592ec.png)

Then,

### 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_

### Array Aggregator – mapping multiple bundles into a complex field

The Array Aggregator module is very powerful because it allows you to build a complex array of collections for a later module’s field to map multiple items (collections) to it.

This is done using the “Target structure type” of an Array Aggregator module.

Here is an example:

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/b/e/bea4ecffec9daf39ca9cba77c0b2a40d160e7292.png)

As you can see, the “Map” toggle on complex fields are used when you have an array. You can easily build an array variable to map to a future module’s field, by using an Array Aggregator module and select the “Target Structure Type” as the future module’s field you have mapped the array into.

* * *

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

If you need further assistance, please provide the following:

Please provide the **output** bundles of the modules by running the scenario (or get from the [scenario History tab](https://www.make.com/en/help/scenarios/scenario-execution-history)), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/8/2876156ab3ea5bc9e40bbc0edfb9f025406b7c48.png)

### A. Upload as Text File

Save each bundle contents in your text editor as a `bundle.txt` file, and upload it here into this discussion thread.

### B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.  
These are the two ways to format text so that it won’t be modified by the forum:

- **Method 1: Type code block manually**

- **Method 2. Highlight and click the format button in the editor**

Providing the input/output bundles will allow others to _replicate_ what is going on in the scenario even if they do not use the external service.

This will allow others to better assist you. Thanks!

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: [March 9, 2025, 8:31am UTC](https://community.make.com/t/issue-with-mapping-both-url-array-and-total-bundles-after-text-aggregator/70750/3 "2025-03-09T08:31:45Z")

</div>


