Skip to main content
Community site session details

Community site session details

Session Id : wFB/Tg74Dl8WleX6FLcdFG
Power Automate - General Discussion
Answered

Trying to extract data from PDF Table(And pass as JSON string in API to update in cloud DB)

Like (0) ShareShare
ReportReport
Posted on 27 Jun 2022 05:58:24 by 2

My purpose is:

I need to extract data from PDF Table(Ex. Bank Statements) and pass this as JSON Data through API to update database Table in cloud.

 

As a first step:

I am trying to extract data from PDF documents which is giving me a JSON string with this flow. But I need to extract the individual items of the table or only the required JSON items, for which I gave expressions for each item, in the apply to each loop.

ReemaB_0-1656308751051.png

 

Followed this tutorial for the same in which at the end he gets Item, Quantity, Rate, Amount values from the table using expressions.

https://www.youtube.com/watch?v=GW5iUV2rRGQ

 

But in my excel Book I am just getting JSON strings. Am I missing on anything or doing anything wrong here?

ReemaB_1-1656308883440.png

 

But he gets the Individual values for each Item in Table as below:

https://youtu.be/GW5iUV2rRGQ?t=1742

ReemaB_2-1656308985969.png

 

How do I achieve the same. Or are there any other approaches to achieve the same.

 

 

 

 

  • takolota1 Profile Picture
    4,898 Moderator on 22 Jun 2023 at 16:34:49
    Re: Trying to extract data from PDF Table(And pass as JSON string in API to update in cloud DB)

    You could try this template using AI Builder to extract any PDF data to a JSON object:

    https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Extract-Data-From-PDFs-and-Images-With-GPT/td-p/2201345

  • ReemaB Profile Picture
    2 on 01 Jul 2022 at 06:04:27
    Re: Trying to extract data from PDF Table(And pass as JSON string in API to update in cloud DB)

    Hey yes, gotcha!

     

    Thanks Charlie for the headsup. đź‘Ť

  • Verified answer
    v-yujincui-msft Profile Picture
    on 01 Jul 2022 at 03:45:15
    Re: Trying to extract data from PDF Table(And pass as JSON string in API to update in cloud DB)

    Hi @ReemaB ,

     

    It seems that you only have one Apply_to_each Action in your Flow instead of two.

    vyujincuimsft_2-1656647065177.png

    vyujincuimsft_0-1656646767061.png

    vyujincuimsft_1-1656646820420.png

     

     

    Best Regards,

    Charlie Choi

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete