cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chrisingh42188
Level: Powered On

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
Community Support Team
Community Support Team

Re: Extract email address from a PDF

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
Super User
Super User

Re: Extract email address from a PDF

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!



Highlighted
chrisingh42188
Level: Powered On

Re: Extract email address from a PDF

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?

Community Support Team
Community Support Team

Re: Extract email address from a PDF

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

chrisingh42188
Level: Powered On

Re: Extract email address from a PDF

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

Community Support Team
Community Support Team

Re: Extract email address from a PDF

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 180 members 4,956 guests
Please welcome our newest community members: