Skip to main content

Notifications

Community site session details

Community site session details

Session Id : k1vODPOhaHS9y6dI+kibNa
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,859 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 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard
Loading started
Loading complete