Hi
I am creating an approval flow that creates a PDF file on approval.
The library that I have the flow running in has multiple folders. All files to be approved are in one of many preaprroved folders. libraryX/.../.../.../preapproved
Convert word to PDF is used, then create file but I do not want to specify the folder here as there are multiple options.
eg
libraryX/UK/London/east/preapproved must go to libraryX/UK/London/east/approved
libraryX/UK/London/west/preapproved must go to libraryX/UK/London/west/approved

I guess I am looking for an expression that will check the previous files folder but am new to Power Automate so would be grateful if someone could give me some guidance please.
I also want to copy all the SharePoint properties of the original file to the new file and it's folder.
thanks in advance.