Templates / Automated inbox organization for Outlook using GPT-4.1 agent

Automated inbox organization for Outlook using GPT-4.1 agent

Needs changes

by AlexAutomates · 2,026 views · created 2025-07-25 · Ticket Management, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 8 nodes and runs on Microsoft Outlook events. Along the way it connects Microsoft Outlook and OpenRouter Chat Model.

How it runs

Trigger: On Microsoft Outlook events.

  1. Markdown: converts between Markdown and HTML
  2. Sanitize Email Body (Code): runs custom JavaScript code
  3. AI Agent: runs an AI agent, with model: OpenRouter Chat Model; 3 tools (Get Folders, Get Contacts, Move Message)

Services it uses

Microsoft OutlookOpenRouter Chat Model

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent - Determine Category (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent - Determine Category (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (6)

From the author

Auto-Categorize Outlook Emails with AI in n8n How It Works 1. Trigger: The workflow starts with the Microsoft Outlook Trigger node, polling your inbox every minute for new emails. 2. Extract & Clean Email Content: The email’s key fields (from, subject,…

Excerpt from AlexAutomates's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.