Skip to main content

Automatically save & organize Outlook email attachments in OneDrive folders

Workflow preview

Workflow preview
100%
Automatically save & organize Outlook email attachments in OneDrive folders preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Outlook to OneDrive This workflow automates the process of saving binary attachments from Outlook emails into newly created folders in OneDrive. It's ideal for users who regularly receive files and...

Best for

  • File Management automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.microsoftoutlooktrigger, n8n-nodes-base.filter, n8n-nodes-base.splitout, n8n-nodes-base.microsoftonedrive, n8n-nodes-base.merge, n8n-nodes-base.stickynote, n8n-nodes-base.microsoftoutlook

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Michael Gullo.

Original n8n.io source

1.1 Workflow description

Title
Automatically save & organize Outlook email attachments in OneDrive folders
Workflow name
Automatically save & organize Outlook email attachments in OneDrive folders

Outlook to OneDrive

This workflow automates the process of saving binary attachments from Outlook emails into newly created folders in OneDrive. It's ideal for users who regularly receive files and need them organized into separate folders without manual intervention. Each folder is automatically named based on the email subject and the current timestamp, allowing all attachments from that email to be stored inside the corresponding folder. This is particularly useful for streamlining document workflows, improving file traceability, and reducing the time spent on repetitive tasks like organizing client submissions, invoices, or internal reports.

The configuration and setup of the workflow can be customized to meet the business or personal needs of the user. Its purpose is to automatically process binary attachments from Outlook emails and upload them to dynamically created folders in OneDrive.

Overview

  1. Microsoft Outlook Trigger – Monitors your inbox for new emails.
  2. Filter – Ensures only emails with binary attachments proceed.
  3. Get Outlook Message – Retrieves the full email and downloads attachments.
  4. Create Folder – Makes a new folder in OneDrive based on the email subject and time.
  5. Split Out – Extracts each binary attachment.
  6. Merge– Combines folder and file data before upload.
  7. Upload File OneDrive – Uploads each binary file into the new folder.

Need Help? Have Questions?

For consulting and support, or if you have questions, please feel free to connect with me on LinkedIn or via email.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Microsoft Outlook Trigger

Type / Role
n8n-nodes-base.microsoftOutlookTrigger - microsoftOutlookTrigger
Config choices
Version 1

Block 2 - Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 3 - Split Out

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 4 - Create Folder

Type / Role
n8n-nodes-base.microsoftOneDrive - microsoftOneDrive
Config choices
Version 1

Block 5 - Outlook Folder Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.1

Block 6 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Get Outlook Message

Type / Role
n8n-nodes-base.microsoftOutlook - microsoftOutlook
Config choices
Version 2

Block 9 - Upload File OneDrive

Type / Role
n8n-nodes-base.microsoftOneDrive - microsoftOneDrive
Config choices
Version 1

3. Summary Table

Workflow Automatically save & organize Outlook email attachments in OneDrive folders
Complexity intermediate
Nodes 9
Categories File Management
Author Michael Gullo
Published 03 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6938/6938.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automatically save & organize Outlook email attachments in OneDrive folders do?

Outlook to OneDrive This workflow automates the process of saving binary attachments from Outlook emails into newly created folders in OneDrive. It's ideal for users who regularly receive files and...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your File Management use case.