JayleenSFS
Member
I am trying to accomplish the following: Create a production log for a law firm in OneDrive.
Top folder is: State Clients, under this each client has a folder with their name, ClientLast, FirstName, the next level has 2 folders: Disclosures and Discovery, and each 3 further subfolders: Section A, Section B, Section C.
I have an Excel log file that lives in the Disclosures subfolder. When a new file is added to either Section A, Section B, or Section C folders, I want the name added to the appropriate tab on the log file. Excel sheet names correspond to Section A, Section B, Section C.
I have not found how to parse out the immediate folder to match to the tab. Ideally, I would also like to pass the client folder name to a router so this automation will work for all clients, rather than needing to set up a separate automation for each client.
Any help is appreciated, how can I parse out these folder names from the file path of the new file?
Top folder is: State Clients, under this each client has a folder with their name, ClientLast, FirstName, the next level has 2 folders: Disclosures and Discovery, and each 3 further subfolders: Section A, Section B, Section C.
I have an Excel log file that lives in the Disclosures subfolder. When a new file is added to either Section A, Section B, or Section C folders, I want the name added to the appropriate tab on the log file. Excel sheet names correspond to Section A, Section B, Section C.
I have not found how to parse out the immediate folder to match to the tab. Ideally, I would also like to pass the client folder name to a router so this automation will work for all clients, rather than needing to set up a separate automation for each client.
Any help is appreciated, how can I parse out these folder names from the file path of the new file?