Templates / Automate customer support with Gmail, Google Sheets, ERP data & GPT-4o AI

Automate customer support with Gmail, Google Sheets, ERP data & GPT-4o AI

Ready for 3.0

by AOE Agent Lab ✓ · 5,626 views · created 2025-06-23 · Ticket Management, AI RAG

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 15 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, OpenAI Chat Model, Google Sheets and Google Drive. It also calls run.mocky.io over HTTP.

How it runs

Trigger: On Gmail events (plus 1 other trigger).

  1. AI Information Extractor (Information Extractor): extracts structured fields from text with AI, with model: 🤖 OpenAI Model (Extractor)
  2. 📊 Historical Support Cases (Google Sheets): uses Google Sheets
  3. Aggregate: combines items into one
  4. 📚 Download Product Manual (Google Drive): download
  5. 📄 Extract PDF Content (Extract from File): extracts data from a file (pdf)
  6. 🏢 Check ERP System (HTTP Request): calls run.mocky.io
  7. 🤖 Generate Customer Response (Basic LLM Chain): sends a prompt to an LLM, with model: 🤖 OpenAI Model (Generator)
  8. 📧 Email or Chat? (If): checks a condition and branches into true / false
  9. 📧 Request Approval (Email) (Gmail): send and wait for a reply
  10. 📝 Format Chat Response (Edit Fields (Set)): sets 1 field: text

…plus 1 more step. See the full node list below.

Services it uses

GmailOpenAI Chat ModelGoogle SheetsGoogle Drive

HTTP calls to: run.mocky.io

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) (📧 Support Email Received).

Nodes used (13)

From the author

🌐 AI Customer Support Assistant - Cloud Version What this workflow does: This AI-powered customer support automation processes incoming support requests via email or chat, analyzes them using AI, retrieves relevant context, and generates draft responses for…

Excerpt from AOE Agent Lab'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.