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 / Read an email PDF Atta...
Power Automate
Answered

Read an email PDF Attachment for specific text

(0) ShareShare
ReportReport
Posted on by 30

I have a very simple flow that triggers when an email arrives with a PDF, to read the PDF and if a certain string of text (i.e. 44251) is in the PDF, move it to one folder, otherwise move it to another.   I don't know how to use any api connectors, and we don't want to have to buy any 3rd party solution.  I have watched videos, tried to use Copilot, and yet my flow is failing on every version I create (hundreds of tries). Can someone please either write the flow or fix this one?

AppNewbie_0-1710453920099.png

 

Categories:
I have the same question (0)
  • Andrew_J Profile Picture
    1,962 Moderator on at

    @AppNewbie 

     

    One question before I possibly start, is the number 44251, in the same place in every PDF?

     

    Regards,

     

    Andrew

  • AppNewbie Profile Picture
    30 on at

    Hi Andrew, thank you.  It generally will always be at the bottom, and will always have a space before the "4".  Hope that helps.

  • Andrew_J Profile Picture
    1,962 Moderator on at

    @AppNewbie 

     

    Okay that helps and I assume you have say 20 or more PDF files already that are different.  If that is the case we could use AI to process the documents.  But this needs 20 or more for the training to work.  Take a look at the following:

     

    https://www.youtube.com/watch?v=CSvugOZIruo&t=23s

     

    Could you cope with the above or is that too much as I note your comments in your original post.

     

    If the above is of interst then all we need to do is to look at the flow part.

     

    If others have any better ideas then please chime in.

     

    Regards,

     

    Andrew

  • Verified answer
    AppNewbie Profile Picture
    30 on at

    This needs to be a flow that runs on every email that lands in dedicated mailbox for these attachments to be processed... there will be countless numbers of emails/attachments that arrive in the mailbox daily.  I just need a flow that reads the PDF attachment and finds that number.  The video gives great direction, I'll try it.  THANK YOU

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard