Hi there,
New to UiPath and the community, so please bear with me in case I come back with questions
I am using 23.10 and most of the questions and answers I found are related to older versions, so the projects shared have old activities which are not available anymore/have been updated/changed.
I have monthly >100 invoices and need to get 2 lines of info from them - invoice # and amount. I am unsure of how to:
create the flow of reading all pdf files (structured, however some with more than 1 page) - # of invoices varies each month
creating individual txt files for each pdf
getting the data (invoice # and amount) from each txt file and adding them in an excel file
Please help as I am stuck for 2 days now on this step
Thank you!
For your use case, you can follow the below steps.
Get the Folder path where all of your files are located.
Use For each activity to iterate files one by one.
In For Each activity use Read PDF with OCR activity. (Use UiPath.PDF.Activities)package for PDF activities.
Store the output of Read PDF with the activity in the Text file.
Apply REGEX to get desired values from text files and store them in the variable.
create a data table with Build data table activity with Column name âInvoice #â and âamountâ then get ADD Data row activity to add data row to the data table
Using Append range activity you can append your invoice and âAmountâ in Excel
Hope this helps you.
Happy Automation, @Vinit_Kawle
Hi, @Vinit_Kawle,
Thank you so much for the steps.
I am struggling with setting the variable for which folder/files to read (as I said, I am new to all this but eager to understand and learn )
I am getting this error
Thank you, @Vinit_Kawle.
I donât get an error, but nor do I get a result file
This is what the output says, no new file in any of the folders was created
Feel like I am missing something, although they look the same