cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SDainius
Level: Powered On

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

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

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.
SDainius
Level: Powered On

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

Community Support Team
Community Support Team

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

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (1,562)