Power Automate: Save Email Attachments to OneDrive Automatically

Power Automate: Save Email Attachments to OneDrive Automatically
⏱ 2 min readUpdated 27 September 2026

Daily reports arriving as email attachments? A Power Automate cloud flow can file them the moment they arrive, even when your PC is off. You need a Microsoft 365 work or school account.

Build the flow

  1. Go to make.powerautomate.com → Create → Automated cloud flow. Name it “Save report attachments”.
  2. Trigger: When a new email arrives (V3) (Office 365 Outlook). Open advanced options: Include Attachments = Yes, Only with Attachments = Yes, and set From or Subject Filter (e.g. “Daily Sales”).
  3. Add Apply to each over Attachments.
  4. Inside it add Create file (OneDrive for Business or SharePoint):
    • Folder path: /Reports/ plus the expression formatDateTime(utcNow(),'yyyy-MM') for monthly folders.
    • File name: expression concat(formatDateTime(utcNow(),'yyyyMMdd-HHmm'),'_',items('Apply_to_each')?['name']) so repeated file names do not overwrite each other.
    • File content: Attachments Content.
  5. Save and send yourself a test email with an attachment.
💡 Add a Condition inside the loop on items('Apply_to_each')?['name'] ending with “.xlsx” to skip email signature images.

Troubleshooting

  • Flow does not start: check the folder in the trigger (Inbox by default) and your subject filter.
  • Images from signatures saved: use the file-extension condition above.
  • Run history shows each step’s inputs and outputs — the fastest way to find a mistake.

Desktop version for local folders: Power Automate Desktop first flow.