Back to Integrations
integrationMicrosoft Excel 365 node
integrationMicrosoft Teams node

Microsoft Excel 365 and Microsoft Teams integration

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

How to connect Microsoft Excel 365 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 Excel 365 and Microsoft Teams integration: Create a new workflow and add the first step

Step 2: Add and configure Microsoft Excel 365 and Microsoft Teams nodes

You can find Microsoft Excel 365 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 Excel 365 and Microsoft Teams nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Microsoft Excel 365 and Microsoft Teams integration: Add and configure Microsoft Excel 365 and Microsoft Teams nodes

Step 3: Connect Microsoft Excel 365 and Microsoft Teams

A connection establishes a link between Microsoft Excel 365 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 Excel 365 and Microsoft Teams integration: Connect Microsoft Excel 365 and Microsoft Teams

Step 4: Customize and extend your Microsoft Excel 365 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 Excel 365 and Microsoft Teams with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Microsoft Excel 365 and Microsoft Teams integration: Customize and extend your Microsoft Excel 365 and Microsoft Teams integration

Step 5: Test and activate your Microsoft Excel 365 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 Excel 365 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 Excel 365 and Microsoft Teams integration: Test and activate your Microsoft Excel 365 and Microsoft Teams workflow

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.

Nodes used in this workflow

Popular Microsoft Excel 365 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.

Build your own Microsoft Excel 365 and Microsoft Teams integration

Create custom Microsoft Excel 365 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 Excel 365 supported actions

Append
Add rows to the end of the table
Convert to Range
Convert a table to a range
Create
Add a table based on range
Delete
Delete a table
Get Columns
Retrieve a list of table columns
Get Rows
Retrieve a list of table rows
Lookup
Look for rows that match a given value in a column
Add Sheet
Add a new sheet to the workbook
Delete
Delete workbook
Get Many
Get workbooks
Append
Append data to sheet
Append or Update
Append a new row or update the current one if it already exists (upsert)
Clear
Clear sheet
Delete
Delete sheet
Get Many
Get a list of sheets
Get Rows
Retrieve a list of sheet rows
Update
Update rows of a sheet or sheet range

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 Excel 365 connect with Microsoft Teams?

  • Can I use Microsoft Excel 365’s API with n8n?

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

  • Is n8n secure for integrating Microsoft Excel 365 and Microsoft Teams?

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

Looking to integrate Microsoft Excel 365 and Microsoft Teams in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Microsoft Excel 365 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