# Extract Informations out of Collection

**URL:** <https://community.make.com/t/extract-informations-out-of-collection/76079>\
**Category:** Questions\
**Tags:** arrays\
**Created:** [March 23, 2025, 11:02am UTC](https://community.make.com/t/extract-informations-out-of-collection/76079 "2025-03-23T11:02:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josip\_Vrbic](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@Josip\_Vrbic](https://community.make.com/u/Josip_Vrbic)\
**Post date:** [March 23, 2025, 11:02am UTC](https://community.make.com/t/extract-informations-out-of-collection/76079/1 "2025-03-23T11:02:40Z")

</div>

I get the following output, but in the next module, I can only use the result (value) from number 1. However, I need all values for my automation.

How can I implement it so that I can select any value in the next module?

 ![CleanShot 2025-03-23 at 12.01.08](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/1/410343cda922dc2bf4f4335d5a202ab5239745e6.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:** [March 23, 2025, 3:28pm UTC](https://community.make.com/t/extract-informations-out-of-collection/76079/3 "2025-03-23T15:28:51Z")

</div>

Welcome to the Make community!

To do this, you can use the built-in function `toCollection` in a Set Variable module —

> ### `{{ toCollection(array; key; value) }}`

e.g.: _(paste this into the Set Variable module)_

```plaintext
{{ toCollection(1.array.1.attachments.1.fields; "title"; "value") }}

```

For more information, the function’s documentation can be found in the [Help Centre](https://www.make.com/en/help/functions/array-functions.html#tocollection--array--key--value-). 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:** ![Josip\_Vrbic](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@Josip\_Vrbic](https://community.make.com/u/Josip_Vrbic)\
**Post date:** [March 24, 2025, 8:18am UTC](https://community.make.com/t/extract-informations-out-of-collection/76079/4 "2025-03-24T08:18:47Z")

</div>

> [@samliew](#):
>
> `{{ toCollection(1.array.1.attachments.1.fields; "title"; "value") }}`

Thank You very much, that worked!

---

<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:** [April 8, 2025, 6:01am UTC](https://community.make.com/t/extract-informations-out-of-collection/76079/5 "2025-04-08T06:01:43Z")

</div>


