cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Upload/create mail attachment to SharePoint document library

Hello all,
I am newice here but maybe you will can help to resolve problem with flow. I want to upload mail attachment to SharePoint Online document library but when document has uploaded he become is damaged. My Flow is:
 
Capture1.JPG
Capture2.JPG
Capture3.JPG
 
My Test documents is with content
 
Capture4.JPG
After Upload file content is
 
Capture5.JPG
 
Maybe anybody can help resolve this issue?
 
 
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Upload/create mail attachment to SharePoint document library

Hi @SDainius,

 

If you want to save the email attachments in a list, please see the following flow configuration.

By the way, if you want the flow just to be triggered by emails with attachments, you could set Has attachment and Include attachment to Yes.

2.PNG

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
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

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Upload/create mail attachment to SharePoint document library

Hi @SDainius,

 

Are you trying to save email attachments to SharePoint library?

Please use action Get attachments instead of action Get email.

I have made the following test which is working fine, please take a try with it.

1.PNG 

 

Best regards,

Mabel

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

Re: Upload/create mail attachment to SharePoint document library

Yesss it works,

 

Now I can open document from document library but now I want to attach this to List Item. After that I cant open from List Item.

Capture0.JPG

 

Capture1.JPG

Capture2.JPG

Capture3.JPG 

 

After add I see attachment in List Item but I can't open it

Highlighted
Community Support
Community Support

Re: Upload/create mail attachment to SharePoint document library

Hi @SDainius,

 

If you want to save the email attachments in a list, please see the following flow configuration.

By the way, if you want the flow just to be triggered by emails with attachments, you could set Has attachment and Include attachment to Yes.

2.PNG

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
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
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
Users online (6,712)