Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 5dDm714V/Fr8nsWcynPK4P
Power Automate - Building Flows
Unanswered

How could I build this flow

Like (1) ShareShare
ReportReport
Posted on 14 Nov 2024 07:58:57 by 2
I have a daily task I want to automate using Power Automate (which is the tool we have access to in our company). Automating it would be beneficial to minimize human errors and because it's not a task anyone wants to perform manually. However, I'm a bit uncertain about setting it up due to the various components it involves. I'm still new to automation, and I find that planning the correct process is the hardest part.
 
This is how the process currently works:
I receive a PDF file, which is a purchase order containing many items. Each of these items has information that needs to be transferred into another system. This involves creating a new line in the system and then inputting the information. Based on information in the PDF (such as a unique ID number), the price is determined and entered in the relevant field. Then, an Excel file is created with all the information organized in a specific format, as it needs to be printed out.
The challenge is that the PDF isn’t structured in a way that easily allows data extraction. The data is in a consistent place, but not in fields that can be read automatically without some JSON processing. For example, the word "Quantity" appears in one spot, but the actual number (the quantity itself) is located midway down the second line along with other information.
 
Additionally, the program that needs this data is only available on the PC.
Ideally, I’d like to partially or fully automate this process.
 
How would you go about achieving this?
My initial thoughts:
1. Upload the file to a specific location.
2. Automatically fill in the information (I’m unsure how to do this).
3. Generate the Excel file and save it as a separate document.
  • Suggested answer
    microsoftee Profile Picture
    36 on 04 Dec 2024 at 23:47:26
    How could I build this flow
    You can use Power Automate Desktop flow to extract data from PDF file and putting in the desktop program (directly updating in program data source or entering in program UI).
     
    If PDF is text based best approach (100% accuracy) is to extract PDF text using "Extract text from PDF" action and use regular expression to extract the required values.
     
    If PDF is image or contain required data as image(s), only OCR AI model can be used to extract, you can train AI model several set (collection of documents) of different variants of PDF documents to make it work correctly for different place values extraction.
  • abc 123 Profile Picture
    784 Super User 2025 Season 1 on 14 Nov 2024 at 21:36:22
    How could I build this flow
    I guess if AI was worth it's salt, you could somehow instruct it how to find the value and extract it. I haven't toyed with any of the AI junk yet, so can't give anything specific.
     
    Once you do this magical black box, then step 3 should be straightforward to writing data to an Excel file.
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,606 Most Valuable Professional

Leaderboard
Loading started