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 / Extract email address ...
Power Automate
Answered

Extract email address from a PDF

(0) ShareShare
ReportReport
Posted on by 39

I have a PDF file and inside the PDF file there is an email address i want to take the email address from inside the file and use it to send the same file as an attachment to that email address. Its going to be used to have emails automatically sent out when the file is saved in a folder. all the PDFs are basically the same just the emails will be different from each one

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @chrisingh42188 

     

    There is nothing out of the box for flow to read the contents of PDF.

     

    Please have a look at Docparser

     

    https://docparser.com/blog/microsoft-flow-powerapps/

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

     

    Thanks

     

     

  • chrisingh42188 Profile Picture
    39 on at

    Well rather than doing that i tried to save the files name as the email that its supposed to go to but i ran in to the issue of ".pdf" showing up in the email address. is there any way to stop that from happening?

  • Verified answer
    v-alzhan-msft Profile Picture
    on at

    Hi @chrisingh42188 ,

     

    If you save the name the .pdf file with email address, please refer to screenshot below to create the flow:

    1.png

    The expression in the Compose 2 as below:

    first(split(outputs('Compose'),'.pdf'))

    Please let me know if your problem could be solved.

     

    Best regards,

    Alice       

     

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

  • chrisingh42188 Profile Picture
    39 on at

    i got it to work but i didnt do it that way i got them to save the pdf as the email its going to but i used the sharepoint trigger "when a file is created (properties only)" which allowed me to get the correct dynamic content

  • v-alzhan-msft Profile Picture
    on at

    Hi @chrisingh42188 ,

     

    You could also take a try with my solution and it is works.

    If your problem has been solved, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

     

    Best regards,

    Alice       

     

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

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard