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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard