Automate Gmail Responses with GPT and Human-in-the-loop Verification

Go to Workflow
0 views
Built by Nick Canfield Nick Canfield
Created on June 15, 2026

Description

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 criteria
Draft Generation** creates contextually appropriate replies using your business information
Human Approval** sends you the draft for review before sending
Auto-Send** replies automatically once approved

Setup
Connect your Gmail account to the Gmail Trigger node
Update the "Your Information" node with:
Entity name and description
Approval email address
Resource guide (FAQs, policies, key info)
Response guidelines (tone, style, formatting preferences)
Configure your LLM provider (OpenAI, Claude, Gemini, etc.) with API credentials
Test with a sample email

Requirements
n8n instance (self-hosted or cloud)
Gmail account with API access
LLM provider API key

Need Help?
Email Nick @ [email protected]

Nodes Used (4)

Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi