Back to Integrations
integrationMicrosoft Outlook node
integrationMicrosoft Teams node

Microsoft Outlook and Microsoft Teams integration

Save yourself the work of writing custom integrations for Microsoft Outlook and Microsoft Teams and use n8n instead. Build adaptable and scalable Communication, and HITL workflows that work with your technology stack. All within a building experience you will love.

How to connect Microsoft Outlook and Microsoft Teams

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Microsoft Outlook and Microsoft Teams integration: Create a new workflow and add the first step

Step 2: Add and configure Microsoft Outlook and Microsoft Teams nodes

You can find Microsoft Outlook and Microsoft Teams in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Microsoft Outlook and Microsoft Teams nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Microsoft Outlook and Microsoft Teams integration: Add and configure Microsoft Outlook and Microsoft Teams nodes

Step 3: Connect Microsoft Outlook and Microsoft Teams

A connection establishes a link between Microsoft Outlook and Microsoft Teams (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Microsoft Outlook and Microsoft Teams integration: Connect Microsoft Outlook and Microsoft Teams

Step 4: Customize and extend your Microsoft Outlook and Microsoft Teams integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Microsoft Outlook and Microsoft Teams with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Microsoft Outlook and Microsoft Teams integration: Customize and extend your Microsoft Outlook and Microsoft Teams integration

Step 5: Test and activate your Microsoft Outlook and Microsoft Teams workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Microsoft Outlook to Microsoft Teams or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Microsoft Outlook and Microsoft Teams integration: Test and activate your Microsoft Outlook and Microsoft Teams workflow

Automate daily Outlook calendar digests to Microsoft Teams

This workflow sends an automatic daily summary of your Microsoft Outlook calendar events into a Microsoft Teams channel. Perfect for team visibility or personal reminders.

This automation is ideal for team leads, project managers, and remote workers who need to keep stakeholders informed of scheduled events without manual effort. It saves time, ensures consistent communication, and reduces the chance of missing important meetings.

How it works
Scheduled Trigger
The workflow runs automatically every midnight (00:00 UTC).

Create filter for "TODAY" value (Code Node)
The code node generates the date value for "today"
Calculates UTC start and end of the current day
Builds a Microsoft Graph-compatible filter string

Microsoft Outlook Node: Get Today’s Events
Resource : Event
Operation : Get Many
Uses {{ $json.filter }}, which is generated from today's date, to retrieve only relevant entries

Format Events as HTML (Code Node)
Code node transforms each event into a formatted HTML message

Meeting Time: 2025-07-08T10:00:00Z
Subject: Weekly Sync
Summary:
Discuss project milestones and blockers.

Microsoft Teams Node: Send Summary Message
Chat Message | Create | Selected Channel | HTML content
Uses the htmlMessage field from the previous node as the message body

How to Use

Import the Workflow
Load the .json file into your n8n instance via “Import from File” or directly via the workflow UI.

Set Up Credentials
Go to Credentials in n8n.
Add or configure your Microsoft Outlook OAuth2 API credential.
Add or configure your Microsoft Teams OAuth2 API credential.
Assign these credentials to the corresponding nodes in the workflow.

Adjust Timezone and Schedule
Edit the Schedule Trigger node to reflect your local timezone or preferred time.

Configure the Microsoft Outlook Node
Ensure the correct Outlook calendar is targeted.
Confirm the Get Many node includes this expression in the filter field:
{{ $json.filter }}

Customize the HTML Output (Optional)
Open the “Format Events” Code node to:
Add new fields like Location, Organizer, or Attendees.
Adjust date formatting to local time if needed.

Target the Correct Teams Channel
Open the Microsoft Teams node, select the team and channel where messages should be posted.
Message type must be set to HTML if sending formatted content.

Test the Workflow
Run it manually to verify:
Events are fetched correctly.
The message is well-formatted and appears in the correct Teams channel.
If you see no events, double-check the date filter logic or ensure events exist for today.

Example Use Cases

Team Syncs**: Automatically notify your project channel every morning with today's meetings.
Remote Work**: Help remote teams stay aligned on shared calendars.
Personal Assistant**: Keep track of your own day’s agenda with an automatic Teams message.

Requirements

Microsoft Outlook**
Account must have permission to access calendar events via Graph API.
OAuth2 credential must be configured in n8n Credential Manager.

Microsoft Teams**
Requires permission to post messages to specific channels.
OAuth2 credential must be configured and authorized.

Nodes used in this workflow

Popular Microsoft Outlook and Microsoft Teams workflows

Automatic Microsoft Outlook Attachment Storage to OneDrive with Excel Logging

📥 Save Email Attachments to OneDrive & Log Them in Excel This workflow watches your Outlook inbox, automatically downloads file attachments (for example invoices), saves them into a specific OneDrive folder, and logs each file name into an Excel table. Optionally, it also posts a Microsoft Teams message to let you know that a new attachment has been processed. ✨ What this workflow does Monitors a Microsoft Outlook mailbox for new emails. Fetches all attachments from each incoming message. Processes attachments one by one so every file is handled cleanly. Downloads each attachment as binary data. Uploads the file into a OneDrive folder (looked up by name). Appends a new row with the filename to an Excel table for tracking. Sends a Teams chat notification once an attachment has been uploaded (optional). 🧑‍💼 Who this is for This workflow is ideal for: Finance / accounting teams who receive invoices by email and want them stored centrally. Anyone who wants an “email → OneDrive → Excel log” pipeline without manual downloading and renaming. n8n users who work in a Microsoft 365 environment (Outlook, OneDrive, Excel, Teams). ✅ Requirements Before you run the workflow, you’ll need: A Microsoft Outlook account with permissions to read emails and attachments. A OneDrive / SharePoint drive with a target folder (the example uses a folder whose name matches the search in the Get Folder ID node, e.g. Testn8n). An Excel workbook stored in OneDrive with: A worksheet and table already created. A column named Filename (or adjust the Set Filename + Excel node to match your column name). n8n credentials set up for: Microsoft Outlook Microsoft OneDrive Microsoft Excel Microsoft Teams (optional but used in this template) 🛠️ Setup steps Import the workflow JSON into your n8n instance. Configure credentials: Set your Outlook, OneDrive, Excel, and Teams credentials on the respective nodes. Adjust the mail trigger (On Mail Received): Optionally add filters (subject, sender, folder) if you only want to process invoices or a specific mailbox/folder. Set the OneDrive folder search (Get Folder ID): Update the query parameter to the exact name of the folder where attachments should be stored. Point the Excel node to your workbook (Append to Excel Log): Use the dropdowns to select your workbook, worksheet and table. Ensure there’s a Filename column (or rename the field in Set Filename to match your actual column). Activate the workflow: Once active, every new email that hits the trigger will have its attachments stored in OneDrive and logged in Excel. 🔗 Integrations used Microsoft Outlook** – trigger on incoming emails and download attachments. Microsoft OneDrive** – search for folders and upload files. Microsoft Excel** – append rows to a table in a workbook. Microsoft Teams** – send notifications when attachments are processed.

Automate daily Outlook calendar digests to Microsoft Teams

This workflow sends an automatic daily summary of your Microsoft Outlook calendar events into a Microsoft Teams channel. Perfect for team visibility or personal reminders. This automation is ideal for team leads, project managers, and remote workers who need to keep stakeholders informed of scheduled events without manual effort. It saves time, ensures consistent communication, and reduces the chance of missing important meetings. How it works Scheduled Trigger The workflow runs automatically every midnight (00:00 UTC). Create filter for "TODAY" value (Code Node) The code node generates the date value for "today" Calculates UTC start and end of the current day Builds a Microsoft Graph-compatible filter string Microsoft Outlook Node: Get Today’s Events Resource : Event Operation : Get Many Uses {{ $json.filter }}, which is generated from today's date, to retrieve only relevant entries Format Events as HTML (Code Node) Code node transforms each event into a formatted HTML message Meeting Time: 2025-07-08T10:00:00Z Subject: Weekly Sync Summary: Discuss project milestones and blockers. Microsoft Teams Node: Send Summary Message Chat Message | Create | Selected Channel | HTML content Uses the htmlMessage field from the previous node as the message body How to Use Import the Workflow Load the .json file into your n8n instance via “Import from File” or directly via the workflow UI. Set Up Credentials Go to Credentials in n8n. Add or configure your Microsoft Outlook OAuth2 API credential. Add or configure your Microsoft Teams OAuth2 API credential. Assign these credentials to the corresponding nodes in the workflow. Adjust Timezone and Schedule Edit the Schedule Trigger node to reflect your local timezone or preferred time. Configure the Microsoft Outlook Node Ensure the correct Outlook calendar is targeted. Confirm the Get Many node includes this expression in the filter field: {{ $json.filter }} Customize the HTML Output (Optional) Open the “Format Events” Code node to: Add new fields like Location, Organizer, or Attendees. Adjust date formatting to local time if needed. Target the Correct Teams Channel Open the Microsoft Teams node, select the team and channel where messages should be posted. Message type must be set to HTML if sending formatted content. Test the Workflow Run it manually to verify: Events are fetched correctly. The message is well-formatted and appears in the correct Teams channel. If you see no events, double-check the date filter logic or ensure events exist for today. Example Use Cases Team Syncs**: Automatically notify your project channel every morning with today's meetings. Remote Work**: Help remote teams stay aligned on shared calendars. Personal Assistant**: Keep track of your own day’s agenda with an automatic Teams message. Requirements Microsoft Outlook** Account must have permission to access calendar events via Graph API. OAuth2 credential must be configured in n8n Credential Manager. Microsoft Teams** Requires permission to post messages to specific channels. OAuth2 credential must be configured and authorized.

Build your own Microsoft Outlook and Microsoft Teams integration

Create custom Microsoft Outlook and Microsoft Teams workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Microsoft Outlook supported actions

Create
Create a new calendar
Delete
Delete a calendar
Get
Retrieve a calendar
Get Many
List and search calendars
Update
Update a calendar
Create
Create a new contact
Delete
Delete a contact
Get
Retrieve a contact
Get Many
List and search contacts
Update
Update a contact
Create
Create a new email draft
Delete
Delete an email draft
Get
Retrieve an email draft
Send
Send an existing email draft
Update
Update an email draft
Create
Create a new event
Delete
Delete an event
Get
Retrieve an event
Get Many
List and search events
Update
Update an event
Create
Create a mail folder in the root folder of the user's mailbox
Delete
Delete a folder
Get
Retrieve a folder
Get Many
Get many folders
Update
Update a folder
Get Many
Retrieves the messages in a folder
Delete
Delete a message
Get
Retrieve a single message
Get Many
List and search messages
Move
Move a message to a folder
Reply
Create a reply to a message
Send
Send a message
Send and Wait for Response
Send a message and wait for response
Update
Update a message
Add
Add an attachment to a message
Download
Download an attachment from a message
Get
Retrieve information about an attachment of a message
Get Many
Retrieve information about the attachments of a message

Microsoft Teams supported actions

Create
Create a channel
Delete
Delete a channel
Get
Get a channel
Get Many
Get many channels
Update
Update a channel
Create
Create a message in a channel
Get Many
Get many messages from a channel
Create
Create a message in a chat
Get
Get a message from a chat
Get Many
Get many messages from a chat
Send and Wait for Response
Send a message and wait for response
Create
Create a task
Delete
Delete a task
Get
Get a task
Get Many
Get many tasks
Update
Update a task

FAQs

  • Can Microsoft Outlook connect with Microsoft Teams?

  • Can I use Microsoft Outlook’s API with n8n?

  • Can I use Microsoft Teams’s API with n8n?

  • Is n8n secure for integrating Microsoft Outlook and Microsoft Teams?

  • How to get started with Microsoft Outlook and Microsoft Teams integration in n8n.io?

Looking to integrate Microsoft Outlook and Microsoft Teams in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Microsoft Outlook with Microsoft Teams

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon