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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

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!

Users online (27,150)