Read all PDF files from folder

pdf
activities

#1

I have a process in which reading PDF document and writing it in the xlsx file. How I can substitute the PDF file to list PDF?


#2

Hello @Tesla,

Hope this could help you,there is an example of looping files in Library pane. Library pane shows a list of folders containing workflows. Any workflow from Library can be added to a workflow by dragging and dropping it into the designer workspace, just like any activity.

Take a look at this:

Regards,
Susana


#3

@Tesla I’ve just created a sample code for you and it’s almost same as @Susana has shared the info above.
Test_ReadPdfFiles.xaml (8.5 KB)

Cheers!


#4

Thank you for much!!!:grinning:


#5

thank you for the template, but i want to open each pdf file, inorder to extract(read) the invoice number, invoice receiver and the sum. It is only possible if i can open the each pdf files. I can open just one pdf with double click activity. Is there any other solution to open each pdf file ?


#6

Hi @sjawadaf. For you case i have used OCR activity and were get data table. The next step is get need invoices from data table.
image


#7

Wow! My mind is blown. I have been using UIPath for a while now (4-5 months) and I did not even know about the Snippet code examples. Thank you


#8

Hi all,
can you help me, while i am doing extraction text from multiple PDF file, which are in same folder. but i am unable to do that. plz can any one share link for that.

Regards,
Tiruraj


#9

@tiruraj89, Select the library which is beside activities panel and then snippets,In the Loops You find for each file in a folder, give your folder path.Use open application (or) start process and give your pdf reader.exe path and pass the pdf file argument which you extracted from for loop and change the selector to dynamic to execute multiple pdf’s.

Thanks,
Sreekanth.k


#10

Thanks Sreekanth.