n8n recipe · docs

Microsoft Outlook → Microsoft OneDrive

Outlook email attachments are uploaded to OneDrive as they arrive.

아웃룩에 메일이 오면 첨부 파일을 원드라이브에 올려요.

Steps

  1. When when an email arrives in outlook — Microsoft Outlook node
  2. Then upload the attachment to onedrive — Microsoft OneDrive node

Fields to fill (2)

The file has every node wired up. These are the blanks only you can fill (your form, your sheet, your words).

NodeWhat to do
Microsoft OneDrivenote: takes the first attachment (attachment_0); for every attachment, add a Split Out step before this one
Microsoft OneDrivefill parentId (ID of the parent folder that will contain the file)

Accounts to connect (2)

In n8n, pick or add a credential on each node — one of the types below.

Get the n8n file

Download outlook-attachments-to-onedrive.json

  1. Open a new, empty workflow in n8n.
  2. Open the workflow menu (⋯) and choose Import from File — or copy the JSON below and paste it onto the canvas (Ctrl/Cmd+V).
  3. Connect the accounts, fill the fields above, run one test, then turn the workflow on.
Or copy the JSON
{
  "name": "Outlook email attachments are uploaded to OneDrive as they arrive",
  "nodes": [
    {
      "id": "n1",
      "name": "Microsoft Outlook Trigger",
      "type": "n8n-nodes-base.microsoftOutlookTrigger",
      "typeVersion": 1,
      "parameters": {
        "event": "messageReceived",
        "options": {
          "downloadAttachments": true
        },
        "filters": {
          "hasAttachments": true
        }
      },
      "position": [
        240,
        300
      ],
      "notes": "step: when an email arrives in outlook"
    },
    {
      "id": "n2",
      "name": "Microsoft OneDrive",
      "type": "n8n-nodes-base.microsoftOneDrive",
      "typeVersion": 1.1,
      "parameters": {
        "resource": "file",
        "operation": "upload",
        "binaryData": true,
        "binaryPropertyName": "attachment_0",
        "parentId": ""
      },
      "position": [
        460,
        300
      ],
      "notes": "step: upload the attachment to onedrive"
    }
  ],
  "connections": {
    "Microsoft Outlook Trigger": {
      "main": [
        [
          {
            "node": "Microsoft OneDrive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "active": false
}