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

Community site session details

Session Id : TE/90/RETz7LXIo5LgR++F
Power Automate - Building Flows
Answered

Read an email PDF Attachment for specific text

Like (0) ShareShare
ReportReport
Posted on 14 Mar 2024 22:08:11 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

 

I have the same question (0)
  • Verified answer
    AppNewbie Profile Picture
    30 on 15 Mar 2024 at 14:19:04
    Re: Read an email PDF Attachment for specific text

    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

  • Andrew_J Profile Picture
    1,962 Moderator on 14 Mar 2024 at 22:40:51
    Re: Read an email PDF Attachment for specific text

    @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

  • AppNewbie Profile Picture
    30 on 14 Mar 2024 at 22:28:54
    Re: Read an email PDF Attachment for specific text

    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 14 Mar 2024 at 22:15:31
    Re: Read an email PDF Attachment for specific text

    @AppNewbie 

     

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

     

    Regards,

     

    Andrew

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 786 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 724 Super User 2025 Season 2

#3
stampcoin Profile Picture

stampcoin 290 Super User 2025 Season 2

Last 30 days Overall leaderboard