# Comma list to Bundle

**URL:** <https://community.make.com/t/comma-list-to-bundle/16173>\
**Category:** Questions\
**Tags:** arrays\
**Created:** [September 19, 2023, 11:49am UTC](https://community.make.com/t/comma-list-to-bundle/16173 "2023-09-19T11:49:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deon](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@Deon](https://community.make.com/u/Deon)\
**Post date:** [September 19, 2023, 11:49am UTC](https://community.make.com/t/comma-list-to-bundle/16173/1 "2023-09-19T11:49:49Z")

</div>

Hi,  
How do I transform the first list where the index of each correspond to their respective bundle in the last screenshot?  
 ![Screenshot 2023-09-19 at 12.21.03](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/9/94cfb14d94b6164dece0572f279a22c031da3303.png)

 ![Screenshot 2023-09-19 at 12.19.37](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/9/93f6da1ae20b84c02afa12fdf58eb39c19e2e6fc.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:** [September 19, 2023, 12:48pm UTC](https://community.make.com/t/comma-list-to-bundle/16173/2 "2023-09-19T12:48:15Z")

</div>

Welcome to the Make community!

Could you please provide the **input** and **output** bundles of the modules by running the scenario, then clicking the bubble on the top-right of each module, taking screenshots of, and copying the contents into this discussion thread:

![Screenshot_2023-08-29_100800](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/e/e19e554d49359a79fe59f20d110dd917a4cbd22f.png)

This will allow others to better assist you. Thanks!

---

<div class="post-metadata">

**Author:** ![Deon](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@Deon](https://community.make.com/u/Deon)\
**Post date:** [September 19, 2023, 2:34pm UTC](https://community.make.com/t/comma-list-to-bundle/16173/3 "2023-09-19T14:34:24Z")

</div>

Here is the output of the first:

```auto
[
    {
        "datum": "11/09/2023, 05/09/2023, 15/09/2023",
        "bedrag": "100, 200, 300",
        "lid": "member one, member two, member three",
        "sell": "0780123456, 0810123456, ",
        "tiende": "1694612418730x554625354040666940, 1694612439507x615298304668021600, 1694612459070x992419989666541900"
    }
]

```

The second screenshot is not part of this scenario but there to show what my expected result would be.

My next step was to create multiple variables but stuck after this.

 ![Screenshot 2023-09-19 at 16.32.32](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/b/ba9b898005b629b0755ddcf469525dd1fd0520e1.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:** [September 19, 2023, 4:01pm UTC](https://community.make.com/t/comma-list-to-bundle/16173/4 "2023-09-19T16:01:55Z")

</div>

You’ll want to split each properties’ value by `, ` then iterate through the number of sub-items, then set the variables:

 ![Screenshot_2023-09-19_230945](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/7/787909e2fcb4935da4a82a7059e412b1ce57bc20.png)

 ![Screenshot_2023-09-19_230935](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/e/ede01270fe3067634d26b6a7ba19ab969bc535a9.png)

![Screenshot_2023-09-19_230902](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/f/fbde80123a9cbef8ba04ce85e5f08043d5a6b7de.png)

 ![Screenshot_2023-09-19_230924](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/c/c265eb1bd73a31dcf9e8b9c274accd82480e73f9.png)

This will generate three bundles:

 ![Screenshot_2023-09-19_230947](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/6/69bb66623e65e445ba68709e23e351464bb7a100.png)

---

<div class="post-metadata">

**Author:** ![Deon](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@Deon](https://community.make.com/u/Deon)\
**Post date:** [September 19, 2023, 5:03pm UTC](https://community.make.com/t/comma-list-to-bundle/16173/5 "2023-09-19T17:03:10Z")

</div>

Thanks so much @samliew. That does exactly as expected and needed. Appreciate your effort in your answer.

---

<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:** [October 3, 2023, 5:07pm UTC](https://community.make.com/t/comma-list-to-bundle/16173/6 "2023-10-03T17:07:17Z")

</div>


