cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jodihargreaves
Level: Power Up

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 Team
Community Support Team

Re: Post a specific attachment from Outlook to Document Library

Hi @jodihargreaves ,

 

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 Team
Community Support Team

Re: Post a specific attachment from Outlook to Document Library

Hi @jodihargreaves ,

 

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,276)