Hello Microsoft community!!
I'm seeking assistance with a task that requires moving specific files from one SharePoint folder to another based on our study naming scheme. I believe this is a task that can be automated, but I'm unsure how to go about it. Any guidance would be deeply appreciated, I havent been able to find any post that is completely relevant for what I need and I have spent 2 weeks on this. I have created a flow with really complicated variables & conditions, and I am unsure if I am going about this problem the right way (If you'd like to see what I have thus far I can post screenshots) Ideally I want this to be a manual trigger flow
General file Structure:
- We have two main folders: "Active Studies" and "Closed Studies".
- Within each main folder, studies are grouped by ranges e.g., "S000-S099", "S100-S199", etc.
- Each range folder contains study-specific folders named as "S001", "S002", "S003", etc.
- Each study-specific folder should have a "statements and reports" sub-folder to store monthly statements and reports.
Task: Every month, we receive billing statements & reports for all active studies, and they're stored in a general "Billing" folder. These documents are named in the format "SXXX MONTH YEAR Statement.pdf" and "SXXX MONTH YEAR Report.xlsx".
I need to automate moving these files from the general "Billing" folder into their respective study folders under "statements and reports".
Example: A file named "S101 January 2023 Statement.pdf" in the general "Billing" folder should be moved to: "Active studies>S100-S199>S101>statements and reports".
Can someone guide me on how to create a flow in Power Automate that would help accomplish this task? I am at such a stall with this flow and any suggestions would be appreciated.
Thanks in advance for your help and guidance!