Showing results for 
Search instead for 
Did you mean: 

Merge Arrays Outside of a For Each

I am using a for each action and creating an array within it - I would like to merge those arrays into a single array (through a union or whatever means) outside of the for each so I am left with a single array.


Is there a way to do that?

Community Support
Community Support

Re: Merge Arrays Outside of a For Each

Hi WiggityZwiggity,


May you consider to use the Join action. We could join a list of strings using this action. Please check this blog at here:


Please try it on your side to see if it will work for you.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.


New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!


Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,308)