Email support agent w/ Gemini & GPT fallback using Gmail + Google Sheets
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-10-19.
What this workflow does
This AI workflow has 7 nodes and runs on Gmail events. Along the way it connects Gmail, Google Sheets, OpenAI Chat Model and Google Gemini Chat Model.
How it runs
Trigger: On Gmail events.
- AI Agent: runs an AI agent, with model: OpenAI Model, Gemini Chat Model; 1 tool (Append or update row in sheet in Google Sheets); memory: Simple Memory
- Reply to a message(Thread) (Gmail): reply (thread)
Services it uses
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 (7)
- AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail Trigger
n8n-nodes-base.gmailTrigger - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Gmail
n8n-nodes-base.gmail
From the author
📧 Master Your First AI Email Agent with Smart Fallback! Welcome to your hands-on guide for building a resilient, intelligent email support system in n8n! This workflow is specifically designed as an educational tool to help you understand advanced AI…