cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Post a specific attachment from Outlook to Document Library

I have created a flow that checks incoming email, scans for a particular sender and then posts the attachments to a document library. The flow works perfect and posts the attachments

 

The original email will always have two attachments with the same name, one in pdf and one in Excel. The challenge is I do not want to post both attachments, just one.   I would prefer to post the pdf one, however I could live with posting the Excel version.

 

I have tried using a condition for content types, but it doesn't seem to work.

 

Any sugguestions would be greatly appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @Anonymous ,

 

You could check if Attachment Name ends with "pdf".

If yes, execute Create file action; if not, do nothing.

Image reference:57.PNG

 

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support
Community Support

Hi @Anonymous ,

 

You could check if Attachment Name ends with "pdf".

If yes, execute Create file action; if not, do nothing.

Image reference:57.PNG

 

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 (8,978)