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-10-19.

Worth a look

Nodes used (7)

GmailAI AgentOpenAI Chat ModelStructured Output Parser

What it does

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 for? If you're overwhelmed with emails and constantly repeating yourself in replies, this workflow is for you. Whether you're a freelancer, business owner, or team lead, it saves you time by handling email triage and drafting replies for you. --- What does it solve? This workflow reads your unread Gmail messages and uses AI to: - Decide whether the email needs a response - Automatically draft a short, polite reply when appropriate - Skip spam, newsletters, or irrelevant emails - Save the AI-generated reply as a Gmail draft (you can edit it before sending) It takes email fatigue off your plate and keeps your inbox moving. --- How it works 1. Trigger on New Email: Watches your Gmail inbox for unread messages. 2. AI Agent Review: Analyzes the content to decide if a reply is needed. 3. OpenAI ChatGPT: Drafts a short, polite reply (under 120 words). 4. Create Gmail Draft: Saves the response as a draft for you to review. 5. Label It: Applies a custom label like Action so you can easily find AI-handled emails. --- How to set up? 1. Connect credentials: - Gmail (OAuth2) - OpenAI (API key) 2. Create the Gmail label: - In your Gmail, create a label named Action (case-sensitive). --- How to customize this workflow to your needs - Change the AI prompt: Add company tone, extra context, or different reply rules. - Label more intelligently: Add conditions or labels for “Newsletter,” “Meeting,” etc. - Adjust frequency: Change how often the Gmail Trigger polls your inbox. - Add manual review: Route drafts to a team member before sending.

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.