Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Gmail AI Auto-Responder: Create Draft Replies to incoming emails

n8n template #2271
This workflow automatically generates draft replies in Gmail. It's designed for anyone who manages a high volume of emails or often face writer's block when crafting responses. Since it doesn't send the generated message directly, you're still in charge of editing and approving emails before they go out. How It Works: Email Trigger: activates when new emails reach the Gmail inbox Assessment: uses OpenAI gpt-4o and a JSON parser to determine if a response is necessary. Reply Generation: crafts a reply with OpenAI GPT-4 Turbo Draft Integration: after converting the text to html, it places the draft into the Gmail thread as a reply to the first message Set Up Overview (~10 minutes): OAuth Confi

How to set it up

  1. Open template #2271 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create 2 credentials under Credentials → Add credential: Gmail, OpenAI Chat Model. Then open each of those nodes and pick the credential.
  3. Check the model in the OpenAI Chat Model node. The template may point at a model your account can't use; swap it for one you have access to.
  4. Click Execute workflow and step through each node's output to confirm the data looks right.
  5. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Gmail AI Auto-Responder: Create Draft Replies to incoming emails" (https://n8n.io/workflows/2271). It uses: Gmail, Basic LLM Chain, OpenAI Chat Model, Structured Output Parser. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. Nicolas Chourrout published it free on n8n.io, and it has 55K views. It runs on n8n Cloud or a self-hosted n8n instance.

Gmail, OpenAI Chat Model. The other 2 nodes are built into n8n.

Similar workflows

NameViews
  1. Auto-label incoming Gmail messages with AI nodes27K
  2. Automate social media content with AI for Instagram, Facebook, LinkedIn & X16K
  3. 🎨 AI Design Team - Generate and Review AI Images with Ideogram and OpenAI9,990
  4. Automate SEO blog creation + social media with GPT-4, Perplexity and WordPress5,798
  5. Automated Voice Appointment Reminders with Google Calendar GPT ElevenLabs Gmail5,335
  6. Explore n8n Nodes in a Visual Reference Library5,197
  7. ✨🤖Automate Multi-Platform Social Media Content Creation with AI205K
  8. Chat with PDF docs using AI (quoting sources)95K