This workflow automatically tags files as they are uploaded and moved around in sharepoint based on their file path. This makes it easier for users to take advantage of custom views and metadata without the painful process of filling out forms one file at a time.
- Attach this workflow to any document library
- Add the following columns:
- Folder: Single line of text
- Sub Folder 1: Single line of text
- Sub Folder 2: Single line of text
- Sub Folder 3: Single line of text
- Sub Folder 4: Single line of text
- CurrentPath: Single line of text
- Use Your Saved time on making custom views
- The workflow splits the file path to extract folder names
- Iterates over each and assigns values 5 levels down
- Waits for changes to update the columns when necessary
Check out the entire write-up, pictures, and walkthrough video on devpost
Feel Free to Fork & Push Your Recommended Changes! I definitely need help optimizing and adapting this for more use cases. Contact Me If You Want to Join Forces:
MetaMagic is released under the MIT License.