Attachment Issues

How to Automatically Rename and Move Outlook Attachments to OneDrive

Algirdas JasaitisAlgirdas Jasaitis Nov 3, 2026 873 views

Question details

The user wants to automatically identify PDF attachments in incoming Outlook emails, rename them based on specific rules, and save them directly to a designated OneDrive folder.

How to Automatically Rename and Move Outlook Attachments to OneDrive
Product
Microsoft Outlook and OneDrive
Device & OS
not provided
Scenario
Setting up an automated workflow to manage email attachments efficiently without manual downloading and renaming.
Observed behavior
Currently, the user has to manually download, rename, and move PDF attachments from Outlook to OneDrive, and is seeking a Power Automate solution to automate this routine task.
Before you start

Ensure you have an active Microsoft 365 subscription with access to Power Automate, and that your Outlook and OneDrive accounts are linked under the same Microsoft tenant.

Solution 1Recommended

Use Power Automate to Auto-Save and Rename Attachments

Create a custom Power Automate flow to detect incoming emails with PDF attachments, apply a naming convention, and save them automatically to OneDrive.

Power Automate (formerly Microsoft Flow) is the most effective built-in tool for connecting Outlook and OneDrive. By setting up a targeted flow, you can bypass the manual process of saving and renaming attachments.

1
Log into Power Automate

Go to make.powerautomate.com and sign in with your Microsoft 365 account credentials.

2
Create a New Automated Flow

Select 'Create' from the left navigation pane and choose 'Automated cloud flow'. Name your flow and select the trigger 'When a new email arrives (V3)' for Office 365 Outlook.

3
Configure Email Filters

Expand the advanced options in the trigger step. Set 'Include Attachments' to 'Yes' and specify any folder, sender, or subject filters to ensure the flow only runs for the correct emails.

4
Add a Condition for PDF Files

Click 'New step' and add a 'Condition'. Configure it to check if the 'Attachment Name' ends with '.pdf' to ensure you are only moving PDF files.

5
Add the OneDrive Action and Rename

Under the 'If yes' branch, add the 'Create file' action for OneDrive for Business. Choose your destination folder. In the 'File Name' field, use dynamic content and expressions (like formatting the current date) concatenated with '.pdf' to automatically rename the file. For 'File Content', select 'Attachments Content'.

Use Power Automate to Auto-Save and Rename Attachments
Licensing and Cost Considerations: Standard Office 365 Outlook and OneDrive connectors are typically included in Microsoft 365 Business Basic plans. However, if your workflow requires premium connectors or exceeds monthly run limits, additional licensing costs may apply.
Free Microsoft Office alternative

View and Edit Your Downloaded Attachments with WPS Office

Once Power Automate successfully saves your Outlook attachments to OneDrive, you need a reliable suite to manage them. WPS Office is a free, lightweight, and highly compatible alternative to Microsoft Office, offering powerful PDF and document editing tools without the high subscription costs.

  1. 1. Download and Install WPS Office: Visit the official WPS website to download the free suite and follow the straightforward installation prompts.
  2. 2. Access Synced OneDrive Files: Open WPS Office and navigate to your local OneDrive sync folder to instantly access your newly renamed attachments.
  3. 3. Edit and Save Seamlessly: Open any PDF, Word, or Excel file directly in WPS Office, make your edits, and save changes straight back to OneDrive.
Fully compatible with Microsoft Office formats (Word, Excel, PowerPoint) and PDFs.Lightweight design ensures fast opening of attachments synced from your OneDrive folder.Built-in robust PDF editor allows you to annotate, merge, or sign your automatically saved PDF attachments.Familiar user interface guarantees a seamless migration with zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Can I automatically rename Outlook attachments without using Power Automate?

No, Microsoft Outlook does not have a native inbox rule to automatically rename incoming attachments. You must use an automation tool like Power Automate, VBA scripts, or a third-party Outlook add-in to achieve this.

How do I filter out image signatures and only save PDF attachments?

In your Power Automate flow, use a 'Condition' step after the email trigger to specify that the 'Attachment Name' must end with '.pdf'. This ensures small images like company logos in signatures are ignored.

Can I save attachments to a shared SharePoint folder instead of personal OneDrive?

Yes. Instead of selecting the OneDrive 'Create file' action in Power Automate, search for the SharePoint 'Create file' action. You can then specify your SharePoint Site Address and the specific Document Library folder path.