I get a lot of PDF files that I am needing to save into sharepoint. The file name in share point needs to follow a set system, but the incoming files do not.
The incoming files have a drawing number, drawing name and revision in the PDF file name but not in a set order.
E.g Drawing Number - (Revision) - Drawing Name
Drawing Number - Drawing name - Revision
Drawing Name - Revision.
The revision is not consistent either as it could be nearly anything e.g. A, B, C or Rev 01, Rev 02, Rev 03 or Rev A, Rev B, Rev C or P1, P2, C1, C2
I would like power Automate to identify each aspect of the incoming naming convention and return the files in the format. Drawing Number - Drawing Name and have the revision as Metadata to save into sharepoint.
Not sure if its best to have a system that tries this itself or asks for an example of one file to then set the rules for the rest of the upload. Also not sure how best to build this power automate so any help would be aprecaited.