cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Condition to extract ONLY PDF not working

Hi everyone, I am getting the attachement from an email and creating a file in sharepoint. I have put a condition to extract ONLY pdf.

 

BUT it keeps extracting images from the BODY of the email for example, company logo. 

 

Any idea how can I avoid this?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Condition to extract ONLY PDF not working

Hi @ALFRED05 

 

Thanks for you reply. I just tested this and working as expected. Add a compose just above the IF condition and map the attachment name under it. Run the flow and see what are the filenames it is retrieving.

 

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

View solution in original post

5 REPLIES 5
Highlighted
Super User III
Super User III

Re: Condition to extract ONLY PDF not working

Hi @ALFRED05 

 

Could you please post a screenshot of your flow?

 

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
Highlighted
Helper III
Helper III

Re: Condition to extract ONLY PDF not working

Sure, also there is an email example below, thanks!

 

using "attahement name" also tested with "content type" did not worked.using "attahement name" also tested with "content type" did not worked.

This is an example of the email, it should only fetch de PDF but it does it also with the images below that comes embeded in the body.This is an example of the email, it should only fetch de PDF but it does it also with the images below that comes embeded in the body.

Highlighted
Super User III
Super User III

Re: Condition to extract ONLY PDF not working

Hi @ALFRED05 

 

Thanks for your screen shot.

 

Did you Set 'Include Attachments' to 'Yes'

 

image.png



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
Highlighted
Helper III
Helper III

Re: Condition to extract ONLY PDF not working

yes, is set to YES

Highlighted
Super User III
Super User III

Re: Condition to extract ONLY PDF not working

Hi @ALFRED05 

 

Thanks for you reply. I just tested this and working as expected. Add a compose just above the IF condition and map the attachment name under it. Run the flow and see what are the filenames it is retrieving.

 

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

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,408)