Templates / Gmail email classifier with GPT-4 auto-generated draft replies

Gmail email classifier with GPT-4 auto-generated draft replies

Ready for 3.0

by Supira Inc. ✓ · 1,315 views · created 2025-09-09 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 12 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI and OpenAI Chat Model.

How it runs

Trigger: On Gmail events.

  1. Gmail Category Classifier (Text Classifier): classifies text into categories with AI, with model: LLM Support Model
  2. Label: High Priority (Gmail): add labels
  3. Label: Inquiry (Gmail): add labels
  4. Label: Finance/Billing (Gmail): add labels
  5. Generate Draft: High Priority (OpenAI): uses OpenAI
  6. Generate Draft: Inquiry (OpenAI): uses OpenAI
  7. Generate Draft: Finance/Billing (OpenAI): uses OpenAI
  8. Save Draft: High Priority (Gmail): work with draft
  9. Save Draft: Inquiry (Gmail): work with draft
  10. Save Draft: Finance/Billing (Gmail): work with draft

Services it uses

GmailOpenAIOpenAI 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 (5)

From the author

How It Works This workflow automatically classifies incoming Gmail messages into categories such as High Priority, Inquiry, and Finance/Billing, and then generates professional draft replies using GPT-4. By combining Gmail integration with AI-powered text…

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