Templates / Automated multilingual Gmail draft reply with OpenAI GPT-4o

Automated multilingual Gmail draft reply with OpenAI GPT-4o

Ready for 3.0

by Henry ✓ · 2,523 views · created 2025-06-11 · 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 11 nodes and runs on Gmail events. Along the way it connects Gmail and OpenAI Chat Model.

How it runs

Trigger: On Gmail events.

  1. Assess if a message needs a reply and identify the language (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI GPT-4o; output parser: Parser Result
  2. If: checks a condition and branches into true / false
  3. Switch: routes items into 2 branches
  4. Generate email for a Japanese client (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI GPT-4o - for Japanese
  5. Generate email reply for an English client (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI GPT 4o - For English
  6. Gmail: work with draft

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

Automated Multilingual Gmail Draft Reply with OpenAI GPT-4o in n8n Who is this for? This workflow is ideal for anyone who receives a high volume of Gmail inquiries, especially those providing multilingual customer support or handling diverse client…

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