Microsoft Flow: Save my email attachments to a SharePoint document library

microsoft flow office 365

This Microsoft Flow tutorial I am going to explain how to save outlook attachments to SharePoint online document library by using “save my email attachments to a SharePoint document library” Microsoft flow template.


Microsoft Flow is a new workflow tool that enables business users to create automation to receive notifications, synchronize files, and get data between your favorite apps and services, be it on-premise or in the cloud. This is a new workflow management tool for automating workflows across applications and services by connecting web services, files, and cloud-based data. We can connect with various services like SharePoint, Office 365, OneDrive, Twitter, Facebook, Dropbox, Outlook, Instagram, Outlook, Yammer, Excel, Google Calendar etc.

If you are new to Microsoft Flow, read How to Start with Microsoft Flow Step by Step Tutorial with Examples.

Microsoft provides variously predefined built-in Microsoft Flow templates which can be used. Just you need to sign in and use the built-in templates.

save my email attachments to a sharepoint document library
save my email attachments to a sharepoint document library

You can check pre-built templates from Microsoft Official site. Apart from these templates, you can also create your own flow in SharePoint Online. Few templates look like below:

microsoft flow templates
microsoft flow templates

Configure & Use Save me email attachments to a SharePoint document library Microsoft Flow Template

Here we will see how we can use “Save my email attachments to a SharePoint document library” Microsoft Flow template.

First, open Microsoft flow site and sign in with an email id and password. If you have not signed up for an Office 365, you can sign up for an Office 365 enterprise E3 license.

From the list of built-in Microsoft flow templates you can see the Save my email attachments to a SharePoint document library like below:


save my email attachments to a sharepoint document library microsoft flow
save my email attachments to a SharePoint document library

Click on the template to use the template.

As the name suggests, whenever I received an email to my email with an attachment, the attachment will be saved inside a SharePoint document library.

microsoft flow save email attachment to sharepoint
microsoft flow save email attachment to sharepoint

Then we need to sign in to use the template which will appear like below:

microsoft flow email attachment
microsoft flow email attachment

Office 365 Outlook, first click on Sign in. Once the sign in is successful then SharePoint Sign in will be enabled. Once the sign in will be successful it will appear like below:

microsoft flow save email attachment to sharepoint list
microsoft flow save email attachment to sharepoint list

Then click on Continue.

Then On new email, in the chosen Folder choose Inbox like below:

microsoft flow save email attachments to sharepoint document library
microsoft flow save email attachments to sharepoint document library

Then choose Site URL, here I have put my Office 365 site Id. And then in the folder path, I choose the MyEmailAttachements document library.

Microsoft flow save outlook attachments to sharepoint online
Microsoft flow save outlook attachments to sharepoint online

Then the full screen will be looking like below:

save email attachment to sharepoint microsoft flow
save email attachment to sharepoint

Then from the top you can give a name and click on Create flow button like below:

save my email attachments to a sharepoint document library
save my email attachments to a sharepoint document library

Once the workflow is created successfully, it will show like below.



microsoft flow office 365

microsoft flow office 365Once you will click on Done, it will show like below:

automatically save outlook attachments to sharepoint using microsoft flow
automatically save outlook attachments to sharepoint using microsoft flow

Now, whenever I received an email with an attachment.

flow save email attachment to sharepoint
flow save email attachment to sharepoint

After this If I will check the SharePoint document library then I can see the attached is copied into the document library like below:

flow save email attachment to sharepoint document library
flow save email attachment to SharePoint document library

You can click on My flows button to see all your workflows and then you can On/Off like below:

microsoft flow save email attachments to sharepoint document library
microsoft flow save email attachments to sharepoint document library

You may like following Microsoft Flow tutorials:



This Microsoft flow tutorial explains how to use save my email attachments to a SharePoint document library Microsoft flow template in SharePoint Online Office 365. How we can save email attachments to SharePoint document library using Microsoft Flow.

Check out Best Alternative to InfoPath -> Try Now

You May Also like the Following SharePoint Online Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →