Templates / Automate Gmail responses with GPT and human-in-the-loop verification

Automate Gmail responses with GPT and human-in-the-loop verification

Ready for 3.0

by Nick Canfield · 290 views · created 2025-10-30 · Ticket Management, 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.

What this workflow does

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

How it runs

Trigger: On Gmail events.

  1. Your Information (Edit Fields (Set)): sets 5 fields: entity_name, entity_description, email_to_receive_approval…
  2. Determines if Email Needs Response (Information Extractor): extracts structured fields from text with AI, with model: OpenAI Chat Model
  3. If: checks a condition and branches into true / false
  4. Drafts Email Response (HTML) (Information Extractor): extracts structured fields from text with AI, with model: OpenAI Chat Model
  5. Clean Up Email Code (Code): runs custom JavaScript code
  6. Ask User for Approval (Gmail): send and wait for a reply
  7. Approved? (If): checks a condition and branches into true / false
  8. Send Reply (Gmail): reply

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) (Gmail Trigger).

Nodes used (7)

From the author

Try It Out! This n8n template uses AI to automatically respond to your Gmail inbox by drafting response for your approval via email. How it works Gmail Trigger monitors your inbox for new emails AI Analysis determines if a response is needed based on your…

Excerpt from Nick Canfield'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.