web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to Add Dynamic Lis...
Power Automate
Answered

How to Add Dynamic List Content to Merge Array Flow

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

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

 

 

Categories:
I have the same question (0)
  • Verified answer
    Manish Solanki Profile Picture
    15,169 Moderator on at

    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.

     

  • Phineas Profile Picture
    5,331 Moderator on at

    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 784

#2
Valantis Profile Picture

Valantis 581

#3
Haque Profile Picture

Haque 545

Last 30 days Overall leaderboard