Templates / Draft Gmail reply drafts automatically with Google Gemini

Draft Gmail reply drafts automatically with Google Gemini

Ready for 3.0

by Kanishka Shrivastava ✓ · 70 views · created 2026-06-21 · 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.

Nodes used (8)

Google Gemini Chat ModelAI AgentGmailBasic LLM ChainStructured Output Parser

What it does

Quick overview This workflow watches for new Gmail messages, uses Google Gemini to draft a concise reply based on the email content, and saves the response as a Gmail draft in the original thread for you to review before sending. How it works 1. Triggers every minute when a new email is received in Gmail. 2. Sends the email subject, sender, and snippet to Google Gemini with instructions to write a professional reply under 100 words matching the sender’s tone. 3. Creates a Gmail draft containing the generated reply and sets the subject to “Re:” while attaching it to the original email thread. Setup 1. Connect a Gmail OAuth2 credential and ensure the trigger has access to the inbox you want to monitor. 2. Add a Google Gemini (PaLM) API credential for the Gemini chat model. 3. Review the reply prompt and the Gmail trigger polling interval, then activate the workflow. No additional setup is required the workflow is ready to run as soon as both credentials are connected.

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.