# Array aggregator separating the custom fields in another array

**URL:** <https://community.make.com/t/array-aggregator-separating-the-custom-fields-in-another-array/35352>\
**Category:** Questions\
**Tags:** arrays, aggregators\
**Created:** [April 28, 2024, 7:55am UTC](https://community.make.com/t/array-aggregator-separating-the-custom-fields-in-another-array/35352 "2024-04-28T07:55:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shawn](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/shawn/32/1298_2.png) [@Shawn](https://community.make.com/u/Shawn)\
**Post date:** [April 28, 2024, 7:55am UTC](https://community.make.com/t/array-aggregator-separating-the-custom-fields-in-another-array/35352/1 "2024-04-28T07:55:06Z")

</div>

I am trying to add a pricing table in Pandadoc where I have the predefined columns and a custom column. In the Pandadoc documentation my data should look like this:

“custom\_fields”: {  
“jobbertotal”: “100”  
}

But I am getting this:

“custom\_fields”: [  
{  
“key”: “jobbertotal”,  
“value”: “M1 - Flat Monthly Rate Option:”  
}  
]

How can I modify my scenario to render this?

 ![chrome_Hykotjgg3E](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/c/dc3f665929af12dc3ff53e47bdd3c07707bddf76.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:** [April 29, 2024, 5:34am UTC](https://community.make.com/t/array-aggregator-separating-the-custom-fields-in-another-array/35352/2 "2024-04-29T05:34:23Z")

</div>

Hi @Shawn  
We have created a json using the data you provided:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/5/455ed8b4b331e45ea7dbd45e8834f6e96847c5dd.png)

After switching to collection using the collection function, it is functioning properly.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/e/ee21c2d5ff4e577752e5436f2da4be741d24e7c0.png)  
Output will look like this.  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/f/f/ff25acbf60087a0e16c540109fe338d6c9bda43c.png)

By enabling the map you can easily map this to next module.

If you require additional assistance, please don’t hesitate to reach out to us.  
[MSquare Support](https://calendly.com/msquarepro/meeting)  
Visit us [here](https://www.msquare.pro/)  
[Youtube Channel](https://www.youtube.com/channel/UCqidlIIwbejxZmRUWBICcjQ)

---

<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 13, 2024, 6:19am UTC](https://community.make.com/t/array-aggregator-separating-the-custom-fields-in-another-array/35352/3 "2024-05-13T06:19:04Z")

</div>


