# How to create a list from a for each block in Postman flows?

**URL:** <https://community.postman.com/t/how-to-create-a-list-from-a-for-each-block-in-postman-flows/41226>\
**Category:** Help Hub\
**Tags:** postman-flows\
**Created:** [November 17, 2022, 4:13pm UTC](https://community.postman.com/t/how-to-create-a-list-from-a-for-each-block-in-postman-flows/41226 "2022-11-17T16:13:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jared.craig.smith](https://avatars.discourse-cdn.com/v4/letter/j/c68b51/32.png) [@jared.craig.smith](https://community.postman.com/u/jared.craig.smith)\
**Post date:** [November 17, 2022, 4:13pm UTC](https://community.postman.com/t/how-to-create-a-list-from-a-for-each-block-in-postman-flows/41226/1 "2022-11-17T16:13:32Z")

</div>

How to create a list from a for each block in Postman flows?

I’m using Postman flows and I want to get data from a for each block and put each element that comes out into a list and then remove the duplicates. Is this possible?

This is what I’ve tried so far:  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/3/5311e222b85e38e3eed725ed46ef7462f642a363.png)
