web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extracting specific wo...
Power Automate
Unanswered

Extracting specific word from a pdf.

(0) ShareShare
ReportReport
Posted on by 2

I have been working on a flow to extract metadata from a structured document through AI Builder using the "Recognize text in an image" feature on MS Power Automate cloud.

The document has multiple pages (30-35) and I wish to extract a specific word from that.

 

For Eg. The required word is "Resistance"

Now, the issue is, "Resistance" occurs randomly on multiple pages, multiple times i.e it can occur 3-4 time on one page and never on another. 

 

I am able to extract the index of the word successfully, but since that word has multiple occurrences on multiple pages, the output is the index of that word on each individual page, which varies from page to page i.e. ( 49 on page 5, 6 on page 17, no occurence on page 1 etc.) 

 

I want the output to be that particular word, returned to me as text, irrespective of its multiple indexes.

 

Currently, I am going like: Recognize text in an image-Compose (All pages) ---Parse JSON-Select all text (This creates and Apply to all loop) ---Insert index---Filter array for first occurrence "Resistance"(But this filters out occurrence on each page individually) and so on.

 

How can I approach this?

 

Categories:
I have the same question (0)
  • BJ94 Profile Picture
    264 on at

    Hi @rohansaxena 

    This video is useful for you. 

     

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

     

    -------------------------------------------------------------------------------------------

    Regards,

    Bharti

    Community Support Team _ Bharti
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • rohansaxena Profile Picture
    2 on at

    Hi @BJ94 !

    Thankyou for your response.

    But I am using the "Recognize text in an image" feature in a flow.

    I've tried to use the AI Builder template mentioned in the video, it doesn't suit my purpose.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard