Templates / Ai-powered email triage & auto-response system with OpenAI agents & Gmail

Ai-powered email triage & auto-response system with OpenAI agents & Gmail

Ready for 3.0

by Abdullahi Osman ✓ · 1,914 views · created 2025-10-01 · Ticket Management, AI Chatbot

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-10-19.

What this workflow does

This AI workflow has 63 nodes and runs manually, when you click “Execute workflow” (plus 5 other triggers). Along the way it connects OpenAI, Gmail, OpenAI Chat Model and Telegram and 6 more. It also calls databases-9a9bu5g.svc.aped-4627-b74a.pinecone.io over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 5 other triggers).

  1. Message a model (OpenAI): uses OpenAI
  2. Edit Fields (Edit Fields (Set)): sets 4 fields: file_id, file_type, file_name…
  3. Notification clasifier (AI Agent): runs an AI agent, with model: Google Gemini Chat Model
  4. Text Classifier: classifies text into categories with AI, with model: OpenAI Chat Model
  5. Workflow Error Message (Telegram): uses Telegram
  6. Send a message (Gmail): uses Gmail
  7. Delete Duplicated (HTTP Request): calls databases-9a9bu5g.svc.aped-4627-b74a.pinecone.io (POST)
  8. Add Label: Internal (Gmail): add labels
  9. Add Label: Customer Support (Gmail): add labels
  10. Add Label: Promotions (Gmail): add labels

…plus 32 more steps. See the full node list below.

Services it uses

OpenAIGmailOpenAI Chat ModelTelegramGoogle Gemini Chat ModelOpenRouter Chat ModelGoogle DrivePinecone Vector StoreEmbeddings OpenAIGoogle Sheets

HTTP calls to: databases-9a9bu5g.svc.aped-4627-b74a.pinecone.io

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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger1, Gmail Trigger2).

Nodes used (22)

From the author

AI Email Dispatcher: Classify, Process, and Route Emails with Multiple Agents This n8n template automatically classifies incoming emails (Sales, Support, Internal, Finance, Promotions) and routes them to a dedicated OpenAI LLM Agent for processing. Depending…

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