Rename Document Based on Document Type


I am looking for a way to rename the pdf/image based on the document type. Example Scenario as below

The file list may contain the application forms, invoices, Driver’s license, passport, Payslip, etc.

I want to rename the file name based on the document type and then pass those files with new names to the extractor.

it’s similar to this topic but no solution yet

Thank You

For Each File in Folder

Use the properties in a Switch based on file type.

Not the one I m looking for, as i m looking for a way to know the file content passed from the digitization part.

ID and passport can be from various content.