Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Copy unique item from one list to other

(0) ShareShare
ReportReport
Posted on by 2

Hi All,

Im part of IT SEC team in my organization. Every day I recive tons of mails, from contact center about phishing that our customers recive via phone text message.

I try to establish new system that could automate and filter my fight against phishing.

So here is quick idea about it

 Contact Center give me URL/Domain using MS Forms -> I already made one Power Automate Flow to save answers as SharePoint List with uniqe IDs.

Acyfka_0-1596639272519.png

 

Next step is more complex and I need Your help. I need to copy uniqe URL/Domain from first list to other list.

  • v-alzhan-msft Profile Picture
    on at
    Re: Copy unique item from one list to other

    Hi @Acyfka ,

     

    I suggest that you should explain more details about the requirement, or share an example of the requirement so we could better understand you and provide the proper workaround.

     

    Best Regards,

    Alice

     

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

  • Verified answer
    Jcook Profile Picture
    7,779 Most Valuable Professional on at
    Re: Copy unique item from one list to other

    Hello @Acyfka 

     

    Is this something you're looking for?

     

    SharePoint list with URL column

    Jcook_0-1596641740751.png

     

     

    Initialize 2 array variables:

    Jcook_1-1596641776301.png

     

    Next, I use Get items to get all items from that List, and use an Apply to each loop to loop through all items and append the URL value to the first array:

    Jcook_2-1596641851169.png

     

    Now outside the loop, I use a Set variable with the second array. And use the expression union() to remove duplicates.

    The expression syntax is:

    union('<collection1>', '<collection1>')

    Basically pass the same array twice into the union expression to return only unique values.

    My expression looks like:

    union(variables('URL'),variables('URL'))

    Jcook_3-1596642099274.png

     

     

    Now a second apply to each can be used to iterate over the unique values, which can be stored / created into a new list:

    Jcook_4-1596642166966.png

     

     

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1