Back to Integrations
integrationMicrosoft Outlook node
integrationSlack node

Microsoft Outlook and Slack integration

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

How to connect Microsoft Outlook and Slack

  • 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 Slack integration: Create a new workflow and add the first step

Step 2: Add and configure Microsoft Outlook and Slack nodes

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

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

Step 3: Connect Microsoft Outlook and Slack

A connection establishes a link between Microsoft Outlook and Slack (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 Slack integration: Connect Microsoft Outlook and Slack

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

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

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

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Microsoft Outlook to Slack 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 Slack integration: Test and activate your Microsoft Outlook and Slack workflow

Phishing Analysis - URLScan.io and VirusTotal

This n8n workflow automates the analysis of email messages received in a Microsoft Outlook inbox to identify indicators of compromise (IOCs), specifically suspicious URLs. It can be triggered manually or scheduled to run daily at midnight.

The workflow begins by retrieving up to 100 read email messages from the Outlook inbox. However, there seems to be a configuration issue as it should retrieve unread messages, not read ones. It then marks these messages as read to avoid processing them again in the future.

The messages are then split into individual items using the Split In Batches node for sequential processing. For each email, the workflow analyzes its content to find URLs, which are considered potential IOCs. If URLs are found, the workflow proceeds to check these URLs for potential threats using two services, URLScan.io and VirusTotal, in parallel.

In the first path, URLScan.io scans each URL, and if there are no errors, the results from URLScan.io and VirusTotal are merged. If there are errors, the workflow waits 1 minute before attempting to retrieve the URLScan results again. The loop then continues for the next email. In the second path, VirusTotal is used to scan the URLs, and the results are retrieved.

Finally, the workflow checks if the data field is not empty, filtering out items where no data was found. It then sends a summarized Slack message to report details about the analyzed email, including the subject, sender, date, URLScan report URL, and VirusTotal verdict for URLs that were reported as malicious.

Potential issues during setup include configuring the Outlook node to retrieve unread messages, resolving a configuration issue in the VirusTotal node, and handling authentication and API keys for both URLScan.io and VirusTotal nodes. Additionally, proper error handling and testing with various email content types and URLs are essential to ensure the workflow accurately identifies IOCs and reports them to the Slack channel.

Nodes used in this workflow

Popular Microsoft Outlook and Slack workflows

Code node
Merge node
Slack node
+4

Phishing Analysis - URLScan.io and VirusTotal

This n8n workflow automates the analysis of email messages received in a Microsoft Outlook inbox to identify indicators of compromise (IOCs), specifically suspicious URLs. It can be triggered manually or scheduled to run daily at midnight. The workflow begins by retrieving up to 100 read email messages from the Outlook inbox. However, there seems to be a configuration issue as it should retrieve unread messages, not read ones. It then marks these messages as read to avoid processing them again in the future. The messages are then split into individual items using the Split In Batches node for sequential processing. For each email, the workflow analyzes its content to find URLs, which are considered potential IOCs. If URLs are found, the workflow proceeds to check these URLs for potential threats using two services, URLScan.io and VirusTotal, in parallel. In the first path, URLScan.io scans each URL, and if there are no errors, the results from URLScan.io and VirusTotal are merged. If there are errors, the workflow waits 1 minute before attempting to retrieve the URLScan results again. The loop then continues for the next email. In the second path, VirusTotal is used to scan the URLs, and the results are retrieved. Finally, the workflow checks if the data field is not empty, filtering out items where no data was found. It then sends a summarized Slack message to report details about the analyzed email, including the subject, sender, date, URLScan report URL, and VirusTotal verdict for URLs that were reported as malicious. Potential issues during setup include configuring the Outlook node to retrieve unread messages, resolving a configuration issue in the VirusTotal node, and handling authentication and API keys for both URLScan.io and VirusTotal nodes. Additionally, proper error handling and testing with various email content types and URLs are essential to ensure the workflow accurately identifies IOCs and reports them to the Slack channel.

Build your own Microsoft Outlook and Slack integration

Create custom Microsoft Outlook and Slack 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
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

Slack supported actions

Archive
Archives a conversation
Close
Closes a direct message or multi-person direct message
Create
Initiates a public or private channel-based conversation
Get
Get information about a channel
Get Many
Get many channels in a Slack team
History
Get a conversation's history of messages and events
Invite
Invite a user to a channel
Join
Joins an existing conversation
Kick
Removes a user from a channel
Leave
Leaves a conversation
Member
List members of a conversation
Open
Opens or resumes a direct message or multi-person direct message
Rename
Renames a conversation
Replies
Get a thread of messages posted to a channel
Set Purpose
Sets the purpose for a conversation
Set Topic
Sets the topic for a conversation
Unarchive
Unarchives a conversation
Get
Get Many
Get & filters team files
Upload
Create or upload an existing file
Delete
Get Permalink
Search
Send
Send and Wait for Approval
Update
Add
Adds a reaction to a message
Get
Get the reactions of a message
Remove
Remove a reaction of a message
Add
Add a star to an item
Delete
Delete a star from an item
Get Many
Get many stars of autenticated user
Get
Get information about a user
Get Many
Get a list of many users
Get User's Profile
Get a user's profile
Get User's Status
Get online status of a user
Update User's Profile
Update a user's profile
Create
Disable
Enable
Get Many
Update

FAQs

  • Can Microsoft Outlook connect with Slack?

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

  • Can I use Slack’s API with n8n?

  • Is n8n secure for integrating Microsoft Outlook and Slack?

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

Looking to integrate Microsoft Outlook and Slack in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Microsoft Outlook with Slack

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