Automated File renaming (at scale) - Programmatic creation of workflows
When a file is moved to any folder called “#Archive”, the file should be renamed with a prefix of “OLD_”
For example: I have a file called “mywordfile.docx” I now want to archive this file, so I drag it into a folder call “#Archive”. Box Automation should then rename my file to “OLD_mywordfille.docx”
Problem statement
The box automation trigger “when file moved to folder” requires an explicit folder path. Meaning I would need to configure a rule per “#Archive” folder within our folder structure. We have many. So, manually setting up relay for every single #Archive folder is not a scalable solution.
Possible Solution 1.
Feature request for Relay triggers to support wild cards. Eg: When file moved to */#Archive, a trigger action = true
Possible Solution 2.
Programmatic deployment of the current workflow. Eg: Parse through are folder structure, when finding a folder called #Archive, then apply workflow to rename file. This would require the ability to programmatically deploy workflows via the API.