Saving email attachments to OneDrive automatically

Finding attachments in a full mailbox takes time. With Power Automate, every attachment you receive is saved automatically to a folder in OneDrive. Invoices, quotes and documents end up in one place where you can search and share them, and your mailbox stays smaller. This article shows how to build the flow in a few minutes.

Quick start with a template

  1. Go to make.powerautomate.com and sign in with your work account.
  2. Under Templates, search for Save Office 365 email attachments to OneDrive for Business.
  3. Check the connections to Office 365 Outlook and OneDrive for Business and select Continue.
  4. Pick the folder for the attachments, for example /Email attachments, and save the flow.
The template to save email attachments to OneDrive

Build the flow yourself

For more control, create an automated cloud flow:

  1. Trigger: When a new email arrives (V3). Set Only with Attachments and Include Attachments to Yes. Optionally filter on folder, sender or subject.
  2. Action: Apply to each on the Attachments list.
  3. Inside it: Create file (OneDrive for Business). Folder path: /Email attachments, file name: Attachments Name, content: Attachments Content.
The flow steps in Power Automate

Tips to keep it tidy

Saved email attachments in a OneDrive folder

Is the flow working?

Send yourself an email with an attachment and open the flow. Under Run history you see whether each step succeeded. If something failed, select the run to see which step went wrong.

Want to build an app on top of your data next? Read how to create a Power App from a SharePoint list.

Read also

Create a Power App from a SharePoint list
How to change the OneDrive storage of a single user
Share an Outlook email to a Teams chat or channel

Nederlandstalige versie: Zo sla je e-mailbijlagen automatisch op in OneDrive


More in English