cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chrisingh42188
Advocate IV
Advocate IV

Extract email address from a PDF

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

5 REPLIES 5
abm
Super User
Super User

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

 

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

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?

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.

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

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.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,624)