cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ALFRED05
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
abm
Super User III
Super User III

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 blogPower Automate Video Tutorials

View solution in original post

5 REPLIES 5
abm
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 blogPower Automate Video Tutorials
ALFRED05
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.

abm
Super User III
Super User III

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 blogPower Automate Video Tutorials

yes, is set to YES

abm
Super User III
Super User III

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 blogPower Automate Video Tutorials

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (41,220)