Forum Discussion
WBaker1026
Jan 03, 2019Copper Contributor
Copy folder
Using Microsoft flow, there is an action command for sharepoint which is "Copy Folder". The feature works, but I cannot figure out how to change the folder name if a folder with the same name already exist in the destination folder. I select "copy with a new name" in the flow function. I am assuming I may need to add a trigger afterwards to set a new folder name? Direction?
- Copy to features does not provided a way to indicate the name of the folder / file to be copied
- WBaker1026Copper Contributor
Is there any way to change a folder name using flow?
- Yep, you could create a Flow linked to the destination document library that is triguered when a new folder / document is added so you can update the name of the folder in your case. Flow provide specific activities to work with items stored in lists and document libraries and also a SharePoint HTTP action that you could use for this folder name change