Skip to main content

Notifications

Community site session details

Community site session details

Session Id : gIOU8xJ5JsTrJBHnRUtePo
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,861 Super User 2025 Season 1 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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

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 - General Discussion

#1
rpersad Profile Picture

rpersad 16

#2
David_MA Profile Picture

David_MA 10 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

Overall leaderboard
Loading started