Templates / Answer repeat support emails from a knowledge base with Gmail, OpenAI and Slack

Answer repeat support emails from a knowledge base with Gmail, OpenAI and Slack

Ready for 3.0

by Jessy Mariau ✓ · 0 views · created 2026-11-22 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 27 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI Chat Model and Slack.

How it runs

Trigger: On Gmail events.

  1. Your Settings (Edit Fields (Set)): sets 6 fields: confidenceThreshold, teamChannel, sendRepliesAutomatically…
  2. Get The Full Thread (Gmail): get (thread)
  3. Check Who Has Replied (Code): runs custom JavaScript code
  4. Has A Human Already Replied? (If): checks a condition and branches into true / false
  5. Log The Silence (Data table): insert (row)
  6. Is It Urgent By Keyword? (If): checks a condition and branches into true / false
  7. Alert The Team Urgently (Slack): post (message)
  8. Is It Just Thanks? (If): checks a condition and branches into true / false
  9. Log The Urgent Alert (Data table): insert (row)
  10. Log No Reply Needed (Data table): insert (row)

…plus 14 more steps. See the full node list below.

Services it uses

GmailOpenAI Chat ModelSlack

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (11)

From the author

Quick overview This workflow polls a Gmail support inbox for unread emails, uses OpenAI to classify messages against an n8n Data Table knowledge base, drafts (and optionally sends) approved replies in Gmail, posts escalations and urgent alerts to Slack, and…

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