# How to add a module "Inside" iterator loop versus "After" iterator loop

**URL:** <https://community.make.com/t/how-to-add-a-module-inside-iterator-loop-versus-after-iterator-loop/85368>\
**Category:** Questions\
**Tags:** mapping, connections\
**Created:** [June 22, 2025, 3:45pm UTC](https://community.make.com/t/how-to-add-a-module-inside-iterator-loop-versus-after-iterator-loop/85368 "2025-06-22T15:45:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enablesphere](https://avatars.discourse-cdn.com/v4/letter/e/858c86/32.png) [@Enablesphere](https://community.make.com/u/Enablesphere)\
**Post date:** [June 22, 2025, 3:45pm UTC](https://community.make.com/t/how-to-add-a-module-inside-iterator-loop-versus-after-iterator-loop/85368/1 "2025-06-22T15:45:49Z")

</div>

Hello,  
This is my first query on this forum. I am confused about:  
“How to add a module “Inside” iterator loop versus “After” iterator loop”.

Chatgpt tells me to do the following steps and for the life of me, I cannot make out the difference. There is only ONE “+” to the right of “iterator” module. No “+” “INSIDE” “iterator” module. Below are the instructions:

" 1. **Add OpenAI INSIDE the Loop (The Critical Step):**

- Hover your mouse on the dotted line **immediately to the right** of your new Iterator module.

- A round + Add a module button will appear **ON THE DOTTED LINE**.

- **Click this + button.**

- Search for and add your **OpenAI - Create a Chat Completion** module.

- Configure it with your API key, model, and the full prompt, just as you did before. Click **OK**.

- You will now see the OpenAI module connected to the Iterator, and a faint “closing bracket” will appear after it. This confirms it is **inside** the loop.

1. **Add Tools INSIDE the Loop:**

- Now, hover your mouse on the dotted line **immediately to the right** of your OpenAI module.

- Click the + Add a module button that appears there.

- Search for and add the **Tools - Set multiple variables** module.

- Configure it with the four variables (name, profileUrl, score, reason) using the parseJson() formulas, just as you did before. Click **OK**.

Your loop is now correctly built. The visual flow should be:  
… → Iterator [OpenAI → Tools]

**Step 3: Add the Final Modules AFTER the Loop**

1. **Add the Array Aggregator:**

Now, click the + Add a module button that appears on the main scenario line, AFTER the entire Iterator loop.

Please, please help me here as I have been pulling my hairs for 2 days trying to comprehend and complete these steps for my workflow. Thanks in advance.

Regards,  
Az

---

<div class="post-metadata">

**Author:** ![Stoyan\_Vatov](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@Stoyan\_Vatov](https://community.make.com/u/Stoyan_Vatov)\
**Post date:** [June 23, 2025, 7:21am UTC](https://community.make.com/t/how-to-add-a-module-inside-iterator-loop-versus-after-iterator-loop/85368/2 "2025-06-23T07:21:50Z")

</div>

Hey there,

chatGPT barely has any clue how Make works. I strongly suggest ditching it and switching to the [Make academy](https://academy.make.com/) instead.

On a side note - there are no loops in Make. What are you trying to achieve here?

---

<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:** [June 23, 2025, 8:03am UTC](https://community.make.com/t/how-to-add-a-module-inside-iterator-loop-versus-after-iterator-loop/85368/3 "2025-06-23T08:03:39Z")

</div>

Welcome to the Make community!

I would suggest completing the [Make Academy](https://academy.make.com) before jumping into building your first scenario.

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://help.make.com/create-your-first-scenario) – Make “Manual” - search for help here first
- [Make Academy](https://academy.make.com) – Basics 101: Learn Make properly to get your money’s worth

### Help Centre Basics

- [Mapping](https://help.make.com/mapping) – What is mapping? What can I map?
- [Mapping with arrays](https://help.make.com/mapping-arrays) – How to map items in an array
- [Aggregate an array for mapping complex fields](https://help.make.com/flow-control#VhcUm)
- **Date Format** : [tokens for `parseDate`](https://help.make.com/tokens-for-datetime-parsing) | [tokens for `formatDate`](https://help.make.com/tokens-for-datetime-formatting)
- [HTTP modules](https://apps.make.com/http) – Make a request, Get (download) a file
- [Webhooks](https://help.make.com/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
- [Text Parser module](https://help.make.com/text-parser) - 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. P.S.: investing some effort into the tutorials in the [Make Academy](https://academy.make.com) will save you lots of time and frustration using Make!

— @samliew

---

<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:** [September 21, 2025, 8:12am UTC](https://community.make.com/t/how-to-add-a-module-inside-iterator-loop-versus-after-iterator-loop/85368/4 "2025-09-21T08:12:02Z")

</div>


