Forum Discussion
mdcastorena
Jan 04, 2024Brass Contributor
How to create flow to copy files from one SP site to another when certain metadata tag is used
Hi, this seems like it should be pretty straight forward to me, but I can't seem to figure it out with the newest GUI of PowerAutomate Flow. How can I copy a file from one site to another SP sit...
mdcastorena
Brass Contributor
Hi Jon_Lake -
Thank you for the response! I want to keep the original file in Doc Lib 1 Site 1 and just copy the file to Doc lib 2 Site 2. Is that possible? Does your test keep the original file in it's source lib?
Jon_Lake
Jan 09, 2024Brass Contributor
Hi mdcastorena , yes you can copy the file rather than move it.
- mdcastorenaJan 10, 2024Brass Contributor
Hi Jon_Lake - Can you please explain what Dynamic Content you're using in the first two steps (before the "For Each" step)? That is where I am getting stuck now (also, can you confirm I am using the correct trigger and Get File action? Sorry for so many questions; it has been a very long time since I've worked with Flow):
Thank you for your assistance!
- Jon_LakeJan 12, 2024Brass Contributor
Hi mdcastorena , I simplified the Flow. If I update the document attribute accordingly it works well.