← All N8N workflows
AI & researchAgentAirtableIfOpenAI Chat ModelManual Trigger

Microsoft Outlook AI Email Assistant

Configured with Agent, Airtable, OpenAI Chat Model, Markdown, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TriggerWhen clicking ‘Testworkflow’Manual TriggerMessagingMicrosoft Outlook23Microsoft OutlookAI & modelsOpenAI Chat ModelOpenAI Chat ModelMessagingSet CategoryMicrosoft OutlookTransformStructured OutputParserOutput Parser StructuredRoutingIfIfMessagingSet ImportanceMicrosoft OutlookAI & modelsAI: Analyse EmailAgentTriggerCheck Mail ScheduleTriggerSchedule TriggerTriggerUpdate ContactsSchedule TriggerSchedule TriggerIntegrationMonday.com - GetContactsMonday ComData storeAirtable - ContactsAirtableTransformConvert to MarkdownMarkdownTransformEmail MessagesEdit FieldsData storeRulesAirtableData storeCategoriesAirtableData storeDelete RulesAirtableData storeContactAirtableRoutingLoop Over ItemsLoop Over ItemsTransformMergeMerge

Node categories in this workflow

  • Trigger
  • Messaging
  • AI & models
  • Transform
  • Routing
  • Integration
  • Data store

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
When clicking ‘Test workflow’TriggerManual TriggerSee node parameters
Microsoft Outlook23MessagingMicrosoft OutlookgetAll
OpenAI Chat ModelAI & modelsOpenAI Chat ModelSee node parameters
Set CategoryMessagingMicrosoft Outlookupdate
Structured Output ParserTransformOutput Parser StructuredSee node parameters
IfRoutingIfSee node parameters
Set ImportanceMessagingMicrosoft Outlookupdate
AI: Analyse EmailAI & modelsAgentSee node parameters
Check Mail Schedule TriggerTriggerSchedule TriggerSee node parameters
Update Contacts Schedule TriggerTriggerSchedule TriggerSee node parameters
Monday.com - Get ContactsIntegrationMonday ComboardItem / getAll
Airtable - ContactsData storeAirtableupsert
Convert to MarkdownTransformMarkdownSee node parameters
Email MessagesTransformEdit FieldsSee node parameters
RulesData storeAirtablesearch
CategoriesData storeAirtablesearch
Delete RulesData storeAirtablesearch
ContactData storeAirtablesearch
Loop Over ItemsRoutingLoop Over ItemsSee node parameters
MergeTransformMergeSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • airtableTokenApi
  • microsoftOutlookOAuth2Api
  • mondayComApi
  • openAiApi

Workflow notes

Outlook Business with filters

Outlook Business with filters

Filters:

flag/flagStatus eq 'notFlagged' and not categories/any()

These filters ensure we do not process flagged emails or email that already have a category set.

Sanitise Email

Sanitise Email

Removes HTML and useless information in preparation for the AI Agent

Get Rules & Categories

Get Rules & Categories

Edit the airtables to set your own categories, rules, contacts and/or delete rules.

CRM Contact List Integration

CRM Contact List Integration

For this workflow I am retrieving supplier & client contacts from Monday.com the email assistant has better context to categorise, prioritise and reply to emails. The list is updated daily or you can change the scheduler trigger to update more or less frequently. You could replace this with your own CRM.

Convert to Markdown

Converts the body of the email to markdown

Email Messages

Set email fields

Match Contact

Match Contact

Check if the sender is an existing contact. Note in this workflow the contacts are dynamically loaded from Monday.com

Microsoft Outlook AI Email Assistant

Microsoft Outlook AI Email Assistant

Purpose and structure

This folder contains the Microsoft Outlook AI Email Assistant workflow. Its executable nodes use agent, airtable, if, lmChatOpenAi, manualTrigger, markdown, merge, microsoftOutlook, mondayCom, outputParserStructured, scheduleTrigger, set, splitInBatches. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

When clicking ‘Test workflow’, Check Mail Schedule Trigger, Update Contacts Schedule Trigger

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Mondaycom/1974_Mondaycom_Schedule_Send_Scheduled.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • Microsoft Outlook AI Email Assistant
  • Categorise & Prioritise Emails Agent
  • Set the category & importance using the output from the agent

More in AI & research