Templates / Email support agent w/ Gemini & GPT fallback using Gmail + Google Sheets

Email support agent w/ Gemini & GPT fallback using Gmail + Google Sheets

Ready for 3.0

by David Olusola ✓ · 36,909 views · created 2025-07-22 · 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 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.

  1. 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
  2. Reply to a message(Thread) (Gmail): reply (thread)

Services it uses

GmailGoogle SheetsOpenAI Chat ModelGoogle Gemini Chat Model

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)

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…

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