Save email attachments to SharePoint using Flow

One the most common request I get from my users is: How can I save an email attachment directly into SharePoint. Before Flow we had to rely on third parties to do this properly but now, we can automate that process. Pretty cool uh? Obviously there many scenarios where this won’t apply, but in this post I will show you how you can easily create a “Flow” to save email attachments to a SharePoint library for a specific incoming email address.

First, go to https://flow.microsoft.com, then click on the Browse Menu:

Browse

Then, chose the Save my email attachments to a SharePoint document library templalte

Save Template

Specify you want to Use this template

03-Chose this template

Specify proper credentials for your email account and SharePoint

04-Connect

Expend the On New email action and toggle to the advanced parameter

05- Expend and toggle

Specify the incoming email address you want this action to trigger for

06-From

Specify the SharePoint site and Document Library where you want save the attachments

07-CreateFile

Click on Create Flow

08-Create

Click on Done

09-Done

That’s it, you’re done ! Now send an email with an attachment using the address specified in the From field of the On new email action to the email address you used to connect your Flow to. Wait a minute and go check the document library where you specified you wanted the attachments to be saved, your file should be there. To validate that the flow executed as expected, click on the Information button from the My flows list.

10-Validate

You should see that the flow succeeded

11-succeeded

I hope this was helpful,

Merci

Leave a Reply