Ready-made recipe · docs
Microsoft Outlook → Microsoft OneDrive
Outlook email attachments are uploaded to OneDrive as they arrive.
Steps
- When when an email arrives in outlook — Microsoft Outlook node only reads
- Then upload the attachment to onedrive — Microsoft OneDrive node can be undone
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).
| Node | What to do |
|---|---|
| Microsoft OneDrive | note: takes the first attachment (attachment_0); for every attachment, add a Split Out step before this one |
| Microsoft OneDrive | fill 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.
- Microsoft Outlook:
microsoftOutlookOAuth2ApiormicrosoftOAuth2ApiormicrosoftEntraServicePrincipalApi - Microsoft OneDrive:
microsoftOneDriveOAuth2ApiormicrosoftOAuth2ApiormicrosoftEntraServicePrincipalApi
- Run it on Apify — type your own sentence, get the workflow back in seconds. Open Bridgecore on Apify (pay per use, $0.02–$0.05; nothing charged on errors).
- Ask your AI — add the MCP server
https://mcp.usebridgecore.com/to Claude, Cursor or any MCP client, then just say what should happen. Tools:do,find_recipe,plan_automation,make_n8n_workflow. Free to plan. - Ask me first — add “and ask me first” to any step (“… and post it on X and ask me first”) and the workflow sends you an Approve / Decline message (Slack, Telegram or Gmail) before that step runs. Nothing is sent, posted, deleted or paid until you tap Approve; no answer in a day = declined.
Get the n8n file
Download outlook-attachments-to-onedrive.json
- Open a new, empty workflow in n8n.
- Open the workflow menu (⋯) and choose Import from File — or copy the JSON below and paste it onto the canvas (Ctrl/Cmd+V).
- 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 · reversibility: read-only"
},
{
"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 · reversibility: reversible"
}
],
"connections": {
"Microsoft Outlook Trigger": {
"main": [
[
{
"node": "Microsoft OneDrive",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"active": false
}