Templates / Send AI-generated Gmail auto replies with GPT-4o-mini and Google Sheets

Send AI-generated Gmail auto replies with GPT-4o-mini and Google Sheets

Ready for 3.0

by kota ✓ · 312 views · created 2026-01-12 · 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-10-19.

Worth a look

Nodes used (7)

GmailGoogle SheetsOpenAI

What it does

Overview This workflow automatically replies to important incoming Gmail messages using AI, while preventing duplicate or unnecessary replies. It applies multiple safety checks (filters, Google Sheets history, and Gmail sent history) to ensure replies are sent only when appropriate. This template is designed for creators, freelancers, and teams who want a reliable and maintainable AI-powered email auto-reply system. --- How it works 1. New Gmail messages are received and normalized into a consistent structure. 2. Unwanted emails (newsletters, promotions, no-reply senders) are filtered out. 3. The sender’s email is checked against a Google Sheets reply history. 4. Gmail is searched to confirm no recent reply was already sent. 5. If no duplicate is found, an AI-generated English reply is created and sent. --- Setup steps 1. Connect your Gmail account. 2. Connect a Google Sheet for reply history tracking. 3. Review the ignore rules and thresholds in the config node. 4. Customize the AI prompt if needed. 5. Activate the workflow. Estimated setup time: 5–10 minutes. --- Notes - Sticky notes inside the workflow explain each processing step in detail. - No hardcoded API keys are used. - The workflow is intentionally linear for clarity and easy maintenance.

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.