Templates / 📩 Automated email management system with GPT-5, multi-agent AI & Pinecone DB

📩 Automated email management system with GPT-5, multi-agent AI & Pinecone DB

Ready for 3.0

by Zawanah · 683 views · created 2025-09-12 · 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 34 nodes and runs on Gmail events. Along the way it connects Gmail, Embeddings OpenAI, Pinecone Vector Store and OpenRouter Chat Model and 1 more.

How it runs

Trigger: On Gmail events.

  1. Inbox Router (Text Classifier): classifies text into categories with AI, with model: GPT 5 mini
  2. Customer Support Agent (AI Agent): runs an AI agent, with model: GPT 4o mini; 1 tool (Database of FAQs and Policies)
  3. Finance Agent (AI Agent): runs an AI agent, with model: GPT 4o mini; 1 tool (Label as Finance); output parser: OutputFormat
  4. Leads Agent (AI Agent): runs an AI agent, with model: GPT 4o mini; 2 tools (Label as Sales Opportunities, Database of Business Services); output parser: Output Format
  5. Internal Agent (AI Agent): runs an AI agent, with model: GPT 4o mini; 1 tool (Label as Internal); output parser: Output Format
  6. Reply Email (Gmail): reply
  7. Route by Email Type (Switch): routes items into 2 branches
  8. Needs Review? (If): checks a condition and branches into true / false
  9. Send a summary of email and from who (Telegram): uses Telegram
  10. Label as Customer Support (Gmail): add labels

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

Services it uses

GmailEmbeddings OpenAIPinecone Vector StoreOpenRouter Chat ModelTelegram

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 Trigger).

Nodes used (13)

From the author

Categorise and route emails with GPT 5 This workflow demonstrates how to use AI text classifier to classify incoming emails, and uses a multi-agent architecture to respond for each email category respectively. Use cases Business owners with a lot of incoming…

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