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.
Regards,
Thanks for the tip!
1 Like
Can you try this-
- Use the “Get Files” activity to retrieve a list of PDF files from the folder.
- Iterate through each PDF file using a “For Each” loop activity.
- Inside the loop, use the “Read PDF Text” activity to extract the content of each PDF file.
- 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.
- Combine the extracted information into the desired file name format, such as “S No_Supplier Name_Date_Total Amount”.
- Use the “Move File” activity to rename each PDF file with the new file name.
Thanks!!
I will try it.
1 Like