Templates / Classify and auto-reply to Gmail with OpenAI, Google Sheets RAG and Telegram

Classify and auto-reply to Gmail with OpenAI, Google Sheets RAG and Telegram

Ready for 3.0

by Sandeep Patharkar | www.FastTrackAiMastery.com ✓ · 29 views · created 2025-11-26 · Ticket Management, AI Summarization

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 (plus 1 other trigger). Along the way it connects Gmail, OpenAI, Telegram and Google Sheets.

How it runs

Trigger: On Gmail events (plus 1 other trigger).

  1. Email Classifier Agent (OpenAI): uses OpenAI
  2. Get row(s) in sheet (Google Sheets): uses Google Sheets
  3. Switch: routes items into 4 branches
  4. Send Demo Emails (Gmail): uses Gmail
  5. High Priority (Gmail): add labels
  6. Customer Support (Gmail): add labels
  7. Promotion (Gmail): add labels
  8. Finance/Billing (Gmail): add labels
  9. Creating Draft (OpenAI): uses OpenAI
  10. Creating Email (OpenAI): uses OpenAI, with 1 tool (FTAI Info)

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

Services it uses

GmailOpenAITelegramGoogle Sheets

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

Nodes used (9)

From the author

📨 Gmail Classifier —Classify emails using AI and automate responses This workflow delivers a complete, enterprise-grade Gmail automation system designed for high-volume teams. It classifies incoming emails, applies labels, generates AI-powered responses, and…

Excerpt from Sandeep Patharkar | www.FastTrackAiMastery.com'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.