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
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.

Top Solution Authors
Top Kudoed Authors
Users online (4,861)