Templates / Triage support emails and draft AI replies with Gmail, Google Sheets and OpenAI

Triage support emails and draft AI replies with Gmail, Google Sheets and OpenAI

Ready for 3.0

by Ziad Karim ✓ · 46 views · created 2026-08-11 · 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.

What this workflow does

This AI workflow has 12 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI Chat Model and Google Sheets. It also calls hooks.slack.com over HTTP.

How it runs

Trigger: On Gmail events.

  1. Set FAQ and Policies (Edit Fields (Set)): sets 1 field: faq
  2. Classify Request with AI (Text Classifier): classifies text into categories with AI, with model: OpenAI Support Model
  3. Tag as Question (Edit Fields (Set)): sets 1 field: category
  4. Tag as Billing Issue (Edit Fields (Set)): sets 1 field: category
  5. Tag as Urgent (Edit Fields (Set)): sets 1 field: category
  6. Post Alert to Slack (HTTP Request): calls hooks.slack.com (POST)
  7. Log Ticket in Sheets (Google Sheets): append
  8. Generate AI Reply Draft (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Support Model
  9. Send Draft Via Gmail (Gmail): work with draft

Services it uses

GmailOpenAI Chat ModelGoogle Sheets

HTTP calls to: hooks.slack.com

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) (When Support Email Arrives).

Nodes used (9)

From the author

Quick overview This workflow polls a Gmail support inbox, uses OpenAI to classify each email, logs non-spam requests to Google Sheets, drafts FAQ-grounded replies back into the original Gmail thread, and sends urgent-complaint alerts to Slack via an incoming…

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