Copy files to Picture Library and auto tag with folder names
Hello, my organization is looking into creating a Picture Library so images will be more easily searchable. One thing that would make this really work for us would be if we could have a flow automatically copy pictures over from other Folders in SharePoint and automatically tag them with their folders' names as keywords.
For example, if a picture where uploaded in the folder chain Mexico > Puebla > Installation
Then I'd want the picture to remain in that folder but also automatically copy to the Picture Library with the keywords, "Mexico", "Puebla" and "Installation".
Is this possible? If it needs to be 2 flows, that would be fine. Whatever works.
Thanks for your response. This is the right idea but it is missing 2 key things.
First, I don't want to copy all files, only image files so I need some type of condition to filter by. I've tried adding a condition by file type but it's not working yet (it may be due to other issues in the flow).
Secondly, I want to tag (or name) the file with the names of the source folders automatically instead of where you wrote "Mexico" in your example. We have over 300 projects that would each have their own folder now and each of those folders could act as the "source" folder for this flow, so I won't be able to manually determine what the title should be -- it needs to come from the path/properties of the original file.