Triage and draft support email replies with Gmail and OpenAI GPT-4.1
Ready for 3.0Ready 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.
What this workflow does
This AI workflow has 12 nodes and runs on Gmail events. Along the way it connects Gmail and OpenAI Chat Model.
How it runs
Trigger: On Gmail events.
- Normalize Email (Edit Fields (Set)): sets 4 fields: customerEmail, subject, body…
- Support Orchestrator (AI Agent): runs an AI agent, with model: Orchestrator Model; 3 tools (Account_Specialist, Billing_Specialist, Technical_Specialist); output parser: Reply Schema
- Create Draft Reply (Gmail): work with draft
Services it uses
Other OpenAI + Gmail templates (1,623)
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 (7)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool
From the author
Quick Overview This workflow monitors a Gmail inbox for unread support emails, uses OpenAI-powered multi-agent triage to route each message to a billing, technical, or account specialist, and then creates a drafted reply back in the same Gmail thread for…