cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

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

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

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.

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

yes, is set to YES

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (6,156)