Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How to Add Dynamic List Content to Merge Array Flow

(0) ShareShare
ReportReport
Posted on by 4,941 Super User 2025 Season 1

I am trying to build a 'Merge' flow that combines specific content from two SharePoint lists.

I have built the flow based on a video from  https://www.youtube.com/c/PaulieM/videos
     How to merge two arrays in Power Automate by a common property using the xpath expression. - YouTube

I have gotten this far, and all is working.

Now, I need to figure out how to add the actual data SharePointList1 (Array1) and SharePointList2 (Array2) to the two arrays, rather than the hardcoded parameters.

Phineas_1-1709086660619.png


Array1 and Array2 -

Phineas_2-1709087119855.png

Phineas_3-1709087506022.png

 

 

  • Phineas Profile Picture
    4,941 Super User 2025 Season 1 on at
    Re: How to Add Dynamic List Content to Merge Array Flow

    Yes; it's not shown, but I've done all that.

     

    I added a 'Get items' for List1 and List2.

     

    I created Filter Array Actions for both.

     

    Now, I'm getting an error at the 'Merge' output. I've created a new post on the issue.

  • Verified answer
    ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: How to Add Dynamic List Content to Merge Array Flow

    Hi @Phineas 

     

    You need to first use "Get items" to get all items from SharePoint. You could apply filter query if required. Next, you need to add "Select" action, taking the output of value object from get items as input. Use key/value pair in Map parameter to select the properties or columns of the final array. 

     

    The output of Select action is the required array from SharePoint list.

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >