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 / Automated copying of o...
Power Automate
Unanswered

Automated copying of one library to another

(0) ShareShare
ReportReport
Posted on by 2

Hello everyone, 

 

What I am trying to do I have found several part solutions and suspect the answer is staring me in the face. Below is the closest I have got and there are some very complex alternatives I have tried to no avail. 

 

I have two libraries; one an input stage for which Members can upload folders and edit columns and and one an output stage for which members can only view and download. In both there is a folder to be uploaded and some data columns to complete. 

 

Whatever goes into the input stage I will lock at some point so Members can no longer edit or upload (i.e the view will be removed for them) and they can see the additional information that can be added by Owners in the output stage. 

 

So far I have been able to copy files with from one libary to another but I also want the column contents to be copied when they are updated.  Also, if a file is deleted from the input stage I want that to be deleted in the output stage as well. Bascially, whatever happens in the input stage library I want relfected in the output stage library. 

 

hothindustries_0-1699444457024.png

The input stage looks like this: 

 

hothindustries_1-1699445553858.png

and the output stage currently looks like this 

 

hothindustries_2-1699445577493.png

Note that the Capture.jpg was deleted from the input stage but remains in the output stage. I have noticed that while it copies individual files it does not copy folders, which would also be required. 

 

I hope that explains things reasonably clearly. First time user so apologies in advance. I'm wondering if I need mutiple triggers and mutiple actions. 

Categories:
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @hothindustries  to copy the values of columns you can use Update File Properties action. In order to delete the file from output stage when it is deleted in input stage, you can use "When a file is deleted" trigger to create another flow. 

  • hothindustries Profile Picture
    2 on at

    Hi Anna. Thanks for your assistance. Unfortunately the flow seems to get stuck on 'when an item is created or modified'. Is that because there are two triggers (is it not possible to have two triggers or do I need to do some branching)? ie. if a file is created / if a file or item is created or modified / if a file or item is deleted then  subsequent actions for each. As for the 'when a file is deleted' trigger what is the subsequent action on the other list? Is it also Update File Propoerties?  

    hothindustries_0-1699887152549.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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard