Skip to main content

Notifications

Community site session details

Community site session details

Session Id : W8F1P1UftiCHuCQH1ZqMmF
Power Automate - Power Automate Desktop
Answered

New Extract Tables from PDF feature

Like (0) ShareShare
ReportReport
Posted on 25 Feb 2022 15:43:48 by 41

Good Day. Thank you for your interest. 

 

The scope of the requirement is that when a new invoice is issued to a customer, a copy of the relevant details is sent to an Email inbox with the PDF attachment containing the table details of the product items, their description, price, and total. The PDF tables may contain multiple rows of data depending on the number of product items in the Invoice. It may be (1,2,3 rows of data...etc). I figure a type of loop would be necessary here to process each row of data. The other 'how to' challenge I am anticipating is how to dynamically save the values from the PDF table to be then used as variables to enter a web form since the number of List records may vary per invoice. Some invoices may have more rows of data and some may have less.  

 

I recently updated our Power Automate Desktop and noticed a new feature for PDF extraction. It's labeled "Extract tables from PDF". You can view it below. I ran a demo flow to see what result it would show for a simple table. The sample extracted table results are posted below the picture.

 

Since I am new to power automate desktop, what would be the best way to use save these values and use them in to populate a web form in part of a Web UI automation?

 

Any lead way guidance on this request would be greatly appreciated. Best Regards,
Sunny

 

2022-02-25_LI.jpg

 

Extracted Tables Result: 

#DescriptionQuantityUnit PriceSubtotal
Full Time Live Academy1.0000$3,995.00$3,995.00
1Curriculum Support1.000$650.00$650.00
  • XSpence8 Profile Picture
    29 on 16 Aug 2024 at 20:43:37
    New Extract Tables from PDF feature
    Hi @VJR 
     
    The screenshots cited in your response are not all appearing. 
     
    I am trying this as you described and returning status errors on the ExtractedPDFTables output:
     
    Any insight would be appreciated. Thank you!
  • Verified answer
    VJR Profile Picture
    7,635 on 28 Feb 2022 at 04:29:09
    Re: New Extract Tables from PDF feature

    Hi @arslanarif 

     

    - As an example this is how the table in my PDF looks like

     

    VJR_1-1646021981653.png

     

     

    - After the "Extract tables from PDF" action is executed you will see the output in a datatable variable 

     

    Open the variable and click on More

    VJR_3-1646022127901.png

     

     

     

    Keep clicking the More buttons until you see the final table as below

    Refer red marked below. That is what you need to make use of in the "For each" action.

     

    VJR_4-1646022198096.png

    Below is how the overall flow looks like

     

    VJR_5-1646022342696.png

     

    I have marked all the important items in red.

     

    You can use the CurrentName and CurrentPosition variables to update them to the webpage.

     

    In the "Extract table from PDF" make sure to turn on this setting if not already On.

     

    VJR_6-1646022455898.png

     

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Power Automate Desktop

#1
eetuRobo Profile Picture

eetuRobo 4 Super User 2025 Season 1

#2
KO-05050229-0 Profile Picture

KO-05050229-0 2

#2
stampcoin Profile Picture

stampcoin 2

Overall leaderboard
Loading started