Using UiPath, Rename PDF using content

Using UiPath, Could we rename multiple PDF in a folder using Content of the PDF
Example - Naming Convention will be S No_Supplier Name_Date_Total Amount

Hi,

Can you share input sample files?

Regards,

It seems like i cant upload the files

Hi,

It seems we don’t have access right to the above google drive…

Regards,

Try again, i have changed the access

Hi,

I think it’s better to use Machine Learning feature because there are various type invoice format. The following might help you.

https://docs.uipath.com/document-understanding/automation-cloud/latest/user-guide/invoices-ml-package

Regards,

Thanks for the tip!

1 Like

Hi @Paddy_Beeraka

Can you try this-

  1. Use the “Get Files” activity to retrieve a list of PDF files from the folder.
  2. Iterate through each PDF file using a “For Each” loop activity.
  3. Inside the loop, use the “Read PDF Text” activity to extract the content of each PDF file.
  4. Use string manipulation and regular expressions to extract the required information from the PDF content, such as the supplier name, date, and total amount. You may need to analyze the PDF structure and use appropriate techniques to extract the desired information accurately.
  5. Combine the extracted information into the desired file name format, such as “S No_Supplier Name_Date_Total Amount”.
  6. Use the “Move File” activity to rename each PDF file with the new file name.

Thanks!!

I will try it.

1 Like