# Create an array within an array

**URL:** <https://community.make.com/t/create-an-array-within-an-array/53520>\
**Category:** Questions\
**Tags:** error, functions\
**Created:** [August 29, 2024, 9:01pm UTC](https://community.make.com/t/create-an-array-within-an-array/53520 "2024-08-29T21:01:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Discover\_AI](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@Discover\_AI](https://community.make.com/u/Discover_AI)\
**Post date:** [August 29, 2024, 9:01pm UTC](https://community.make.com/t/create-an-array-within-an-array/53520/1 "2024-08-29T21:01:56Z")

</div>

Hi everyone, I am trying to send data to Documentero however I am facing the following problem:

As you can see in the image below I have the property “duties” as an array with the array “experience”. The problem is I need “duties” to be an array of collections in order for it to be successfully populated in Documentero. Below the first image you can see the "create json module structure of “duties” which seems right to me.

Does anyone know what the issue is?

![Screenshot 2024-08-29 at 19.50.48](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/7/9/79033305b7c6b5a57bbf4854fa6b31bb7a233c4e.png)

 ![Screenshot 2024-08-29 at 22.50.44](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/1/0/1017a974a241c65b9b9769bc717f0ed187bccb31.png)

---

<div class="post-metadata">

**Author:** ![LinkYourTech](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@LinkYourTech](https://community.make.com/u/LinkYourTech)\
**Post date:** [August 30, 2024, 2:14am UTC](https://community.make.com/t/create-an-array-within-an-array/53520/2 "2024-08-30T02:14:34Z")

</div>

Simplest way to approach this is to get a sample data of an input from Documentero and have the Generate JSON module generate you the structure you need.

---

<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:** [August 30, 2024, 2:41am UTC](https://community.make.com/t/create-an-array-within-an-array/53520/3 "2024-08-30T02:41:50Z")

</div>

> [@Discover\_AI](#):
>
> Does anyone know what the issue is?

What is the issue? It looks fine. You haven’t explained what’s wrong with the data structure.

 ![Screenshot_2024-08-30_100851](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/b/d/bd3e18083a3bb085457ef933e5a6eeb95ebf0e79.png)

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

— @samliew

* * *

P.S.: Did you know, [the concepts](https://community.make.com/t/make-academy-course-overview/29699) of about 70% of questions asked on this forum are already covered in the [Make Academy](https://academy.make.com). Investing some effort into it will save you lots of time and frustration using Make later!

---

<div class="post-metadata">

**Author:** ![Discover\_AI](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@Discover\_AI](https://community.make.com/u/Discover_AI)\
**Post date:** [August 30, 2024, 11:36am UTC](https://community.make.com/t/create-an-array-within-an-array/53520/4 "2024-08-30T11:36:45Z")

</div>

The data output for “duties” was not the way I wanted it but I fixed it. I just created an assistant to output the exact json object structure and then parsed that json.

![Screenshot 2024-08-30 at 13.35.03](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/7/b/7b73c11095b8652c66efb6164e356f747b6ff69a.png)  
 ![Screenshot 2024-08-30 at 13.36.32](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/f/b/fb6fa301c9d5e247cb346c8ab687488ab671091c.png)

---

<div class="post-metadata">

**Author:** ![Msquare\_Automation](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/msquare_automation/32/6634_2.png) [@Msquare\_Automation](https://community.make.com/u/Msquare_Automation)\
**Post date:** [August 30, 2024, 12:37pm UTC](https://community.make.com/t/create-an-array-within-an-array/53520/5 "2024-08-30T12:37:42Z")

</div>

@Discover_AI

Glad to see you found a way!

**Regards,**  
_Msquare Automation - Gold Partner of Make_  
@Msquare_Automation

---

<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 14, 2024, 8:51am UTC](https://community.make.com/t/create-an-array-within-an-array/53520/6 "2024-09-14T08:51:19Z")

</div>


