Templates / Route and log incoming emails with GPT-4, Excel 365 and Telegram

Route and log incoming emails with GPT-4, Excel 365 and Telegram

Ready for 3.0

by Ramdoni ✓ · 65 views · created 2026-03-11 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 10 nodes and runs when a new email arrives over IMAP. Along the way it connects Microsoft Excel 365, Telegram and OpenAI.

How it runs

Trigger: When a new email arrives over IMAP.

  1. Extract Email Fields (Edit Fields (Set)): sets or maps fields
  2. Message a model (OpenAI): uses OpenAI
  3. Parse Summary (Code): runs custom JavaScript code
  4. Prepare Excel Row (Edit Fields (Set)): sets or maps fields
  5. Append rows to table (Microsoft Excel 365): uses Microsoft Excel 365
  6. Lookup Department (Microsoft Excel 365): uses Microsoft Excel 365
  7. Validate Department (If): checks a condition and branches into true / false
  8. Send Notification (Telegram): uses Telegram
  9. Send Email: sends an email over SMTP

Services it uses

Microsoft Excel 365TelegramOpenAI

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

AI Email Analyzer with Department Routing and Excel Logging (n8n Workflow) Overview This workflow automatically analyzes incoming emails using AI, categorizes them, routes them to the appropriate department, logs the results in Excel 365, and sends…

Excerpt from Ramdoni'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.