Skip to main content

Microsoft Outlook AI email assistant with contact support from Monday and Airtable

Workflow preview

Workflow preview
100%
Microsoft Outlook AI email assistant with contact support from Monday and Airtable preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Microsoft Outlook AI Email Assistant Prerequisites 1. Microsoft 365 Login Credentials Provide your Office 365 credentials to connect Outlook. 2. Monday.com Generate an API token and have a board wi...

Best for

  • Ticket Management automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.stickynote, n8n-nodes-base.microsoftoutlook, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.scheduletrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Cognitive Creators.

Original n8n.io source

1.1 Workflow description

Title
Microsoft Outlook AI email assistant with contact support from Monday and Airtable
Workflow name
Microsoft Outlook AI email assistant with contact support from Monday and Airtable

Microsoft Outlook AI Email Assistant

Prerequisites

1. Microsoft 365 Login Credentials

  • Provide your Office 365 credentials to connect Outlook.

2. Monday.com

  • Generate an API token and have a board with your contact details.

3. Airtable

  • Obtain an API key (or personal access token) and set up a base to store:
    • Contacts (populated by the Monday.com sync).
    • Rules & Categories (used by the AI Email Assistant).
  • Use this Airtable base as the template: Airtable AI Email Assistant Template. Define your own rules, categories, and delete rules.

4. OpenAI API Key

  • Sign up for OpenAI if you don’t already have an account.
  • Generate a new API key at OpenAI API Keys.

What the System Does

1. Daily Contact Sync (Monday.com → Airtable)

  • Runs once a day to pull the latest contacts from Monday.com and store or update them in Airtable.

2. AI Email Categorisation & Prioritisation

  • Fetches Outlook emails with filters.
  • Cleans and processes email content.
  • Matches emails with known contacts from Airtable.
  • Uses an AI agent to classify, categorise, and prioritise emails.
  • Updates Outlook categories and importance based on AI results.
  • Runs in parallel with Airtable rules & categories retrieval for real-time decision-making.

Workflow 1: Daily Contact Sync (Monday.com → Airtable)

Purpose

Keep Airtable’s Contacts table up to date by pulling new or updated contact data from Monday.com daily.

Steps

  1. Schedule Trigger

    • Runs at a set interval (daily) to initiate contact syncing.
  2. Monday.com: Get Contacts

    • Reads the specified board/columns from Monday.com where you store contact details.
  3. Airtable - Contacts

    • Upserts (adds or updates) the fetched Monday.com data into Airtable’s Contacts table.
    • Ensures daily updates reflect changes from Monday.com.

Result

A consolidated contact list in Airtable, ready for AI email categorisation.


Workflow 2: Categorise & Prioritise Outlook Emails

Purpose

Fetches Outlook emails, cleans and processes their content, matches senders with known contacts, and uses AI to categorise and prioritise them.

Steps

1. Get Outlook Emails with Filters
  • Trigger: Either scheduled (Check Mail Schedule Trigger) or manual (Test Workflow).
  • Outlook Filters:
    • Not flagged (flag/flagStatus == 'notFlagged').
    • Not categorised (not categories/any()).

🔹 Result: A batch of fresh, unprocessed emails ready for processing.


2. Sanitise Email
  • Convert to Markdown: Strips HTML tags and normalises formatting.
  • Email Messages Processing: Allows manual removal of signatures, disclaimers, or extra content.

🔹 Result: A clean, AI-friendly email for categorisation.


3. Match Contact
  • Loop Over Emails: Iterates over each email.
  • Contact Lookup: Checks Airtable’s Contacts table (updated daily).
  • Merge Data: Enriches emails with known client, supplier, or internal team info.

🔹 Result: Enhanced email context for AI processing.


4. AI Agent to Categorise & Prioritise
  • Retrieve Rules & Categories
    • Reads Rules, Categories, and Delete Rules from Airtable in parallel.
  • AI: Analyse Email (Tools Agent)
    • Uses email text, sender info, and rules to build a structured AI prompt.
  • OpenAI Chat Model
    • Processes the AI prompt and outputs:
      • Category
      • Subcategory (optional)
      • Priority level
      • Short rationale
  • Structured Output Parser
    • Ensures AI response is valid JSON format.

🔹 Result:
Each email is labelled, categorised, and prioritised with AI-driven logic.


5. Set Outlook Category & Importance
  • Set Category: Updates Outlook with the assigned category.
  • Check Priority Conditions (If Node):
    • If Action Required or from a VIP, mark as High Priority.
  • Set Importance: Updates the email's importance flag in Outlook.

🔹 Result:
Outlook is updated with categories & importance based on AI recommendations.


Parallel Processing: Retrieve Rules & Categories

  • Runs alongside the email categorisation workflow.
  • Ensures Airtable-based rules are available before AI processing.

Steps

  1. Airtable: Get Rules & Categories
    • Fetches Rules, Categories, and Delete Rules from Airtable.
  2. Delete Rules (Optional)
    • If a delete rule matches, the email is removed.

🔹 Result:
A dynamic, updatable rule system ensuring emails are handled properly.


Final Outcome

  • Daily Contact Sync keeps contacts up to date.
  • AI-driven email workflow ensures smart categorisation.
  • Outlook automatically updated with AI-generated categories and importance.

This automated system saves time, ensures efficient inbox management, and allows for customisable rules via Airtable.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Microsoft Outlook23

Type / Role
n8n-nodes-base.microsoftOutlook - microsoftOutlook
Config choices
Version 2

Block 5 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note12

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1

Block 8 - Set Category

Type / Role
n8n-nodes-base.microsoftOutlook - microsoftOutlook
Config choices
Version 2

Block 9 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 10 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 11 - Set Importance

Type / Role
n8n-nodes-base.microsoftOutlook - microsoftOutlook
Config choices
Version 2

Block 12 - AI: Analyse Email

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.6

Block 13 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Check Mail Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 17 - Update Contacts Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 18 - Monday.com - Get Contacts

Type / Role
n8n-nodes-base.mondayCom - mondayCom
Config choices
Version 1

Block 19 - Airtable - Contacts

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 20 - Convert to Markdown

Type / Role
n8n-nodes-base.markdown - markdown
Config choices
Version 1

Block 21 - Email Messages

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 22 - Rules

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 23 - Categories

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 24 - Delete Rules

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Showing the first 24 of 28 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Microsoft Outlook AI email assistant with contact support from Monday and Airtable
Complexity advanced
Nodes 28
Categories Ticket Management, AI Summarization
Author Cognitive Creators
Published 28 Jan 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2809/2809.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Microsoft Outlook AI email assistant with contact support from Monday and Airtable do?

Microsoft Outlook AI Email Assistant Prerequisites 1. Microsoft 365 Login Credentials Provide your Office 365 credentials to connect Outlook. 2. Monday.com Generate an API token and have a board wi...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Ticket Management, AI Summarization use case.