Templates / Gmail auto-reply generator with ChatGPT

Gmail auto-reply generator with ChatGPT

Ready for 3.0

by Matt Chong | n8n Creator ✓ · 2,453 views · created 2025-08-17 · Multimodal AI

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 9 nodes and runs on Gmail events. Along the way it connects Gmail and OpenAI Chat Model.

How it runs

Trigger: On Gmail events.

  1. Get Unread Email (Gmail): get
  2. Get Required Fields (Edit Fields (Set)): sets 5 fields: threadId, id, From…
  3. AI Agent: runs an AI agent, with model: OpenAI; output parser: Structured Output
  4. Can AI Agent Respond? (If): checks a condition and branches into true / false
  5. Create a draft (Gmail): work with draft
  6. Label Email As "Action" (Gmail): add labels (thread)

Services it uses

GmailOpenAI 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) (Trigger on New Email).

Nodes used (7)

From the author

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Gmail Auto-Reply with AI Automatically draft smart email replies using ChatGPT. Reclaim your time typing the same responses again and again. --- Who is this…

Excerpt from Matt Chong | n8n Creator'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.