Hello everyone,
I would like to build a flow that helps with aggregating client documents. For context, we receive a lot of different types of documents for our clients. these documents come from different companies that both us and our clients deal with.
Currently when we receive a document we tag it with the client's name who it is associated with, the type of document it is, and the Company it came from.
Here is what I would like to do with flow but currently stuck on how to do so.
for context, Let's say I received a file for my client, Chris, and the file came from the company, Microsoft.
I would upload that file to my general document library, tag it with "Chris" "Microsoft" and doc type "Financial"
I would like the flow to Create a "Chris" folder under a parent folder labeled "Clients" --> if "Chris" folder is already there skip this step --> then create a "Microsoft" Folder under the "Chris" Folder ---> if the "Microsoft" folder is already there skip this step ---> then finally copy the file with all the tags to CLIENTS/Chris/Microsoft.
so then if I received a document for Mike from Skype, ultimately the document would end up in CLIENTS/Mike/Skype whether or not the Mike or Skype folder existed.
how would I go about checking if these subfolders exist, creating them if they do not, and then finally copying the file over to that subfolder?
Thank you so much for reading!