Templates / Triage email complaints and track SLA breaches with Gmail, OpenAI and Slack

Triage email complaints and track SLA breaches with Gmail, OpenAI and Slack

Ready for 3.0

by Intuz ✓ · 1 views · created 2026-11-20 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 32 nodes and runs on Gmail events (plus 3 other triggers). Along the way it connects Gmail, OpenAI Chat Model and Slack.

How it runs

Trigger: On Gmail events (plus 3 other triggers).

  1. Set Email Metadata (Edit Fields (Set)): sets 6 fields: complaint_id, email_message_id, customer_name…
  2. Fetch Open Complaints (Data table): get
  3. Set Resolve Metadata (Edit Fields (Set)): sets 1 field: complaint_id
  4. Fetch All Complaints (Data table): get
  5. Triage Complaint Agent (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Triage Model; output parser: Parse Triage Output
  6. Filter: keeps only the items that match a condition
  7. Fetch Complaint Details (Data table): get
  8. Create Statistics Report (Code): runs custom JavaScript code
  9. Build Triage Result (Edit Fields (Set)): sets 12 fields: complaint_id, email_message_id, customer_name…
  10. Notify SLA Breach (Slack): uses Slack

…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.

Nodes used (14)

From the author

Quick overview This workflow monitors unread Gmail inbox emails, uses OpenAI to detect and classify customer complaints, stores them in n8n Data Tables with SLA deadlines, and notifies Slack, then escalates breached SLAs, supports resolution via webhook, and…

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