cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Copy files to another location and a folder based on document library custom colum

Hello,

 

Im looking for a way to copy a file from a document library to a new folder based on a custom column.

Example: Document Library has a custom column named Attributes. Document/file has has the value Yes on the Attributes column. The file wil be copied to a new location and into a folder called Attributes.

 

Is this possible?, if it is, can you guide me the right way to do this?

 

3 REPLIES 3
Highlighted
Super User III
Super User III

Re: Copy files to another location and a folder based on document library custom colum

Hi @DPH 

 

There is a SharePoint flow action called Copy File. 

 

Have a look at this and see whether it meets your requirements or not?

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Highlighted
Community Support
Community Support

Re: Copy files to another location and a folder based on document library custom colum

Hi @DPH ,

 

Yes, your requirement could be achieved, you could create a flow for a selected file, and add a Condition check the column value of the Attributes , if the column value of the Attributes is equal to Yes, add a copy file action to copy the file to the new folder.

Please take a try and let me know if you have any questions.

 

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.

Highlighted
Frequent Visitor

Re: Copy files to another location and a folder based on document library custom colum

@v-alzhan-msft  Could this also be archived without need of selected a specific file? It would be a a Document Library with a lot of files in different folders. And it would be amazing if the flow could find every file in different folders, and copy to the correct place of the flow.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (8,140)