cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Saving specific attachments to OneDrive

I have a succesful flow set up where any attachment that hits the inbox, saves the attachements to OneDrive. No problem. The issue I'm trying to work through now is if additional files are included in the email, picture files from a signature, or any other random files people add to their email are also saved to OneDrive. I want to ONLY get PDF's from the emails and nothing else. I've set up a condition that looks at attachment name and contains .pdf, but the test email with a PDF, JPG and xlsx files keep saving all three file types, it seems my condition is being ignored. Any suggestions? Capture.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Saving specific attachments to OneDrive

Hi @No1UCFfan,

 

I see your flow have two "Create file" actions, I afraid that cause all attachment would be created in the Onedrive.

 

Please delete the "Create file" action under the Condition, and the screenshot of the flow should as below:

Capture.PNG

 

Best regards,

Alice

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Saving specific attachments to OneDrive

Hi @No1UCFfan,

 

I see your flow have two "Create file" actions, I afraid that cause all attachment would be created in the Onedrive.

 

Please delete the "Create file" action under the Condition, and the screenshot of the flow should as below:

Capture.PNG

 

Best regards,

Alice

View solution in original post

Highlighted
New Member

Re: Saving specific attachments to OneDrive

Alice,

 

That did it...silly mistakes are fun. Thanks! 

Highlighted
Frequent Visitor

Re: Saving specific attachments to OneDrive

Even though I've made no mistakes (I think) files still get wrongly uploaded... see post in https://powerusers.microsoft.com/t5/Building-Flows/How-to-save-only-certain-attachments-from-outlook...

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (5,201)