How to Connect n8n to Microsoft Outlook: Automate Email Workflows (2025)
Outlook is the inbox of the corporate world, and connecting it to n8n lets you automate the email grind — triage incoming mail, send templated replies, log messages to your CRM, and trigger workflows the moment something lands. Here's the full setup.
Step 1: Register an Azure app
n8n connects to Outlook through the Microsoft Graph API, which requires an OAuth2 app in Azure Active Directory. In the Azure portal:
- Register a new app and note the Client ID and Tenant ID
- Create a client secret
- Add the n8n OAuth redirect URL
- Grant
Mail.ReadWriteandMail.Sendpermissions
Step 2: Add the credential in n8n
Create a Microsoft Outlook OAuth2 credential, paste your Client ID, Secret, and Tenant ID, then click connect and sign in with the mailbox you want to automate. n8n stores the refresh token so it stays connected.
🚀 Skip the build — get the ready-made template
This article shows you how it works. The AI Email Triage template gives you the finished n8n workflow — import it, add your credentials, and go live today.
Get AI Email Triage on Gumroad →
Step 3: Trigger on new email
Use the Microsoft Outlook Trigger to fire whenever a new message arrives. You can filter by folder, sender, or subject so only relevant mail starts the workflow.
Step 4: Read, send, and draft
The Outlook node supports the operations you'd expect:
- Get / Get Many — pull messages to process or archive
- Send — fire off a templated reply or notification
- Create Draft — stage a reply for a human to review before it goes out
- Move / Update — file messages into folders automatically
The killer use case: AI email triage
Manually sorting a busy inbox is a time sink. Feed each incoming Outlook message to an AI model that classifies it — sales, support, spam, urgent — and drafts a smart reply. You review and hit send. This is the single highest-ROI automation you can build on top of an Outlook connection, and it works identically for Gmail.
Ready to automate?
Don't rebuild this from scratch. The AI Email Triage template is a complete, importable n8n workflow — configure your credentials and it runs in minutes.