# Iterator not processing Array from Tools module (in this specific sequence)

**URL:** <https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576>\
**Category:** Questions\
**Tags:** arrays, iterator\
**Created:** [April 22, 2025, 6:55am UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576 "2025-04-22T06:55:42Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Una\_Aguja\_En\_Un\_Paja](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/una_aguja_en_un_paja/32/69680_2.png) [@Una\_Aguja\_En\_Un\_Paja](https://community.make.com/u/Una_Aguja_En_Un_Paja)\
**Post date:** [April 22, 2025, 6:55am UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576/1 "2025-04-22T06:55:42Z")

</div>

### What are you trying to achieve?

Hi everyone,

I’m encountering an issue in a Make scenario with the following sequence of modules:

Google Sheets → Google Gemini AI → Tools → Iterator → Google Sheets

The specific problem I’m facing occurs in the connection between the Tools module and the Iterator module.

A variable from the Google Gemini AI module contains multi-line text.  
The Tools module (using either the “Set variable” or “Set multiple variables” action) takes this multi-line text variable and uses the split() function to create an Array (list) of strings, where each string is one line from the original text. The variable containing this Array (e.g., myArrayVariable) is created correctly in the Tools module, and its output shows it as an Array with the expected elements.

The Iterator module is connected directly after the Tools module. Its “Array” field is correctly mapped to the myArrayVariable coming from the Tools module (e.g., {{Tools\_Module\_Number.myArrayVariable}}). The variable selector displays this variable as variableName (as a button), indicating it’s an Array.

The problem is: When the scenario runs, the Iterator module only processes 1 bundle, instead of processing one bundle for each element in the Array it received from the Tools module. Its bubble consistently shows the number “1”.

This prevents the subsequent module (the second Google Sheets module, which is configured to add a row) from executing multiple times to add each line of the original text as a separate row.

I have verified that the split() function works correctly in the Tools module with literal text and that the Tools module’s output does show the variable as an Array. However, the Iterator does not recognize it for iteration in this specific flow.

Has anyone encountered a similar issue where the Iterator does not process an Array variable created and passed from a Tools module (Set variable/Set multiple variables) in a sequence like this? Is there a known configuration or limitation that causes the Iterator to not recognize the Array in this specific scenario handover?

Any suggestions or similar experiences would be greatly appreciated.

Thanks in advance.

### Screenshots: scenario setup, module configuration, errors

 ![Screenshot 2025-04-19 12.06.14.png](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/f/ef670df877785acaed4c162c1d8878889227d5e6.png)  
 ![Screenshot 2025-04-19 12.06.45.png](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/9/5/95940c9710df170e8c562889b6ffe259d622f73a.png)  
 ![Screenshot 2025-04-19 12.06.26.png](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/d/2d67da1690b980344288df78f612b5fb9d845f3f.png)  
 ![Screenshot 2025-04-19 12.06.06.png](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/8/384fefa0849444b04efc4376164214de8de2f188.png)  
 ![Screenshot 2025-04-19 12.06.53.png](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/f/3ffde8324d4dfec040a7ae630d68ec671648aeb7.png)  
 ![Screenshot 2025-04-19 12.07.06.png](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/7/d/7db3dbd24ec857ea29684e6dec075335f140ea94.png)

---

<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:** [April 22, 2025, 8:07am UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576/2 "2025-04-22T08:07:49Z")

</div>

Welcome to the Make community!

Did you mean to split the text by newline?

If yes, you can use the built-in function `split` — “Splits a string into an array of strings by separating the string into substrings.”

> ### `{{ split(text; separator) }}`

e.g.: _(paste this into the field)_

```plaintext
{{ split(16.listaPalabrasClave; newline) }}

```

For more information, the function’s documentation can be found in the [Help Centre](https://help.make.com/string-functions#xe5A8). You should also complete the [tutorials in the Make Academy](https://academy.make.com).

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:** ![Una\_Aguja\_En\_Un\_Paja](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/una_aguja_en_un_paja/32/69680_2.png) [@Una\_Aguja\_En\_Un\_Paja](https://community.make.com/u/Una_Aguja_En_Un_Paja)\
**Post date:** [April 22, 2025, 10:13am UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576/3 "2025-04-22T10:13:31Z")

</div>

Okay, here is the English version of the reply, focusing only on the Tools + Iterator problem:

* * *

**Reply to @samliew:**

Hi @samliew,

Thanks for the welcome and for your suggestion! Yes, I am indeed trying to split the text by newlines to get an array of lines.

I have tried using the `split()` function in a **Tools** module (Set variable / Set multiple variables) just as you suggested, mapping its output variable to the Iterator’s “Array” field (`{{Module_Number.myArrayVariable}}`). My scenario has this sequence of modules: **Google Sheets → Google Gemini AI → Tools → Iterator → Google Sheets**.

My problem is that even though the **Tools** module’s output shows that the variable is _successfully created_ as an **Array** with multiple elements, the **Iterator** module connected immediately after it **only processes 1 bundle**. It doesn’t seem to iterate over the elements within the array it receives from the Tools module. This prevents the subsequent modules from processing the data element by element.

So, the main problem I am stuck on is getting the **Iterator to correctly process the Array output from the Tools module** in my specific scenario sequence.

Given that the Tools module _does_ create the array (according to its output), but the Iterator doesn’t iterate (only processes 1 bundle), do you have any further suggestions to ensure the Iterator properly processes an Array variable created in this manner, since the split() method in Tools seems to create the Array internally but the Iterator doesn’t recognize it for iteration?

Thanks again for your help!

---

<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:** [April 22, 2025, 11:18am UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576/4 "2025-04-22T11:18:19Z")

</div>

Your screenshots doesn’t show that it’s an Array, but a Long String.

 ![Screenshot 2025-04-19 12.06.26](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/a/aad3ec9916e23047463ae3be0f42370d32f60a9f.png)

Where are you using the split function? Can you provide a screenshot of it?

---

<div class="post-metadata">

**Author:** ![Una\_Aguja\_En\_Un\_Paja](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/una_aguja_en_un_paja/32/69680_2.png) [@Una\_Aguja\_En\_Un\_Paja](https://community.make.com/u/Una_Aguja_En_Un_Paja)\
**Post date:** [April 22, 2025, 1:44pm UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576/5 "2025-04-22T13:44:49Z")

</div>

> [@samliew](#):
>
> Your screenshots doesn’t show that it’s an Array, but a Long String.
> 
> ![Screenshot 2025-04-19 12.06.26](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/a/aad3ec9916e23047463ae3be0f42370d32f60a9f.png)
> 
> Where are you using the split function? Can you provide a screenshot of it?

Hi @samliew,

Thanks for your follow-up questions!

Yes, the `split()` function is being used in the **Tools** module (Set variable / Set multiple variables) in my scenario.

Here is a screenshot showing the configuration of the Tools module, specifically the “Variable value” field where the `split()` function is located:

 ![Screenshot (14)](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/d/dd42be0a28692b9ad1d5c629a12760e4e96eca50.png)

---

<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:** [April 22, 2025, 3:05pm UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576/6 "2025-04-22T15:05:06Z")

</div>

Please select the function from the variables panel. If you’ve done it correctly, the function will have a light Gray background.

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

— @samliew

---

<div class="post-metadata">

**Author:** ![Una\_Aguja\_En\_Un\_Paja](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/una_aguja_en_un_paja/32/69680_2.png) [@Una\_Aguja\_En\_Un\_Paja](https://community.make.com/u/Una_Aguja_En_Un_Paja)\
**Post date:** [April 22, 2025, 4:22pm UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576/7 "2025-04-22T16:22:03Z")

</div>

> [@samliew](#):
>
> Please select the function from the variables panel. If you’ve done it correctly, the function will have a light Gray background.
> 
> Hope this helps! Let me know if there are any further questions or issues.

Hi @samliew,

Thanks again for the quick response and for pointing out what you saw in the screenshots.

Just to clarify regarding the “Long String” – I was indeed already using the `split()` function in the **Tools** module to try and create an array. I’ve also now implemented your suggestion to make sure I select the `split()` function directly from the variables/functions panel to ensure the correct syntax.

After doing that and running the scenario, the output details of the **Tools** module confirm that the variable is now correctly identified as an **Array** containing the split lines (it shows `listaPalabrasClaveArray` with the list of items below it in the output details). So, the split is happening correctly in the Tools module.

However, the problem with the **Iterator** module persists. It is connected directly after the Tools module and its “Array” field is mapped to this `listaPalabrasClave` variable from Tools.

When I check the output details of the **Iterator** module, it shows that it receives the data as an **Array** in its input (`Array: (Array)` under INPUT), but it still **only processes 1 bundle**. Its output shows `Value: (Long String)` and `Total number of bundles: 1`.

This confirms that even though the Tools module successfully creates the Array, the Iterator is not processing it element by element to create multiple bundles. It seems to be receiving the Array data but outputs it as a single item.

Given that the Tools module creates the Array and the Iterator is mapped to it, but the Iterator isn’t iterating, do you have any insights into why the Iterator might behave this way in this specific scenario?

Thanks for any further help you can provide!

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

---

<div class="post-metadata">

**Author:** ![Una\_Aguja\_En\_Un\_Paja](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/una_aguja_en_un_paja/32/69680_2.png) [@Una\_Aguja\_En\_Un\_Paja](https://community.make.com/u/Una_Aguja_En_Un_Paja)\
**Post date:** [April 28, 2025, 6:22am UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576/8 "2025-04-28T06:22:26Z")

</div>

noone can help me?  
Any help¿

---

<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:** [April 29, 2025, 3:19pm UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576/9 "2025-04-29T15:19:37Z")

</div>

You have not yet provided sufficient information to demonstrate the problem that would allow us to reproduce the scenario and any error(s).

To allow others to assist you with your scenario, please provide the following:

## 2. Scenario Blueprint

Please export the scenario blueprint. Providing your scenario blueprint file will allow others to quickly recreate and see how you have set up the mappings in each module, and also allows us take screenshots or provide module exports of any solutions we have for you in return - this would greatly benefit you in implementing our suggestions as you can simply paste module exports back into your scenario editor!

To export your scenario blueprint, click the three dots at the bottom of the editor then choose ‘Export Blueprint’.

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

You can upload the file here by clicking on this button:  
 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/e/eea8fed2e9a3099e825050ba8b652b3699cd1a74.png)

## 3. Output Bundles of ALL Modules

Please provide the **output** bundles of each of the relevant modules by running the scenario (you can also get this without re-running your scenario from the [History tab](https://www.make.com/en/help/scenarios/scenario-execution-history)).

Click on the white speech bubbles 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 a Text File

Save each bundle contents in a plain text editor (without formatting) as a `bundle.txt` file.

You can upload the file here by clicking on this button:  
 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/e/eea8fed2e9a3099e825050ba8b652b3699cd1a74.png)

### 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, especially if there are complex data structures (nested arrays and collections) or if external services are involved, and help you with mapping the raw property names from collections.

Sharing these details will make it easier for others to assist you.

---

<div class="post-metadata">

**Author:** ![Una\_Aguja\_En\_Un\_Paja](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/una_aguja_en_un_paja/32/69680_2.png) [@Una\_Aguja\_En\_Un\_Paja](https://community.make.com/u/Una_Aguja_En_Un_Paja)\
**Post date:** [April 30, 2025, 7:01am UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576/10 "2025-04-30T07:01:16Z")

</div>

Hola @samliew  
[blueprint.json](https://community.make.com/uploads/short-url/6nLrJ6THmuzw8sfbJrqt4tuDOsO.json) (59.0 KB)  
[bundle.txt.txt](https://community.make.com/uploads/short-url/iQtmLeAVl1qevFMgfjRlvdKcDKD.txt) (3.1 KB)

Aquí te traigo lo que me pediste para ver el tema del Iterator.

Te paso el **Blueprint del escenario** y los archivos con la info de entrada y salida (los **bundles** ), concretamente de los módulos **Tools** y **Iterator**. Los adjunto [o los pego aquí abajo].

A ver si echándole un ojo a esto puedes ver por qué el Iterator se porta raro y solo me procesa un paquete, ¡si el array de Tools se ve bien!

Gracias por echarle un vistazo y por tu ayuda.

---

<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:** [May 2, 2025, 2:33pm UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576/11 "2025-05-02T14:33:14Z")

</div>

**Wrong:**

![Screenshot 2025-05-02 222857](https://europe1.discourse-cdn.com/flex013/uploads/make/optimized/3X/9/c/9c5064cf8277693ea54f10dd07a4255b17069228_2_690x67.png)

**Correct:**

![Screenshot 2025-05-02 223228](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/4/04c8d6295930d6cc64e38ab45962b1a27f25f861.png)

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

— @samliew

---

<div class="post-metadata">

**Author:** ![Una\_Aguja\_En\_Un\_Paja](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/una_aguja_en_un_paja/32/69680_2.png) [@Una\_Aguja\_En\_Un\_Paja](https://community.make.com/u/Una_Aguja_En_Un_Paja)\
**Post date:** [May 3, 2025, 8:43am UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576/12 "2025-05-03T08:43:00Z")

</div>

@samliew thanks a lot!! it works!!

---

<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:52am UTC](https://community.make.com/t/iterator-not-processing-array-from-tools-module-in-this-specific-sequence/79576/13 "2025-05-17T08:52:05Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


