AgentRecipes
Recipes › Customer support

How to triage support emails and draft replies with n8n

Customer supportn8n

The problem

A shared support inbox mixes urgent problems with routine questions. Reading, sorting and drafting an answer for every message eats hours, but letting a bot reply on its own is risky.

Tools needed

Step-by-step recipe

  1. Add a Gmail trigger in n8n that polls the support inbox for new messages.
  2. Pass each email's sender, subject and body to an LLM node and ask for structured JSON: category, urgency, a one-sentence summary and a short draft reply.
  3. Parse the JSON and append one row per email to a Google Sheet so you have a log.
  4. Post the summary, urgency and draft to a Slack channel for the support team.
  5. Keep sending manual: a person checks the draft, edits it and replies from Gmail.

Copyable prompt

Prompt template
You are a support triage assistant for [COMPANY]. Read the email below and reply with JSON only, using these keys:
- category: one of [billing, bug, how-to, account, other]
- urgency: low | medium | high
- summary: one sentence
- draft_reply: 3-5 friendly sentences in [LANGUAGE]; do not promise refunds, discounts or deadlines
If the message is spam or not a support request, use category "other" and an empty draft_reply.

From: {{from}}
Subject: {{subject}}
Body: {{body}}

Original template written by AgentRecipes, not copied from the source. Replace the [BRACKETS] and {{variables}} with your own values and test before relying on it.

What the builder reported

The builder says the five-node workflow took about 20 minutes to wire up and that the drafts were good. No volume or time-saved figures were shared, and community reviewers found bugs in the posted version.

These are the source author's own claims. AgentRecipes has not tested or verified them.

Watch out for

Source

Original write-up: n8n Community forum ↗

Found via Agent Use Cases: “Triage support emails and draft replies for human review”. This recipe summarises the source in our own words; read the original for the full details. Link last checked 2026-10-15.

More customer support recipes

Auto-resolve support tickets and escalate the rest with n8nMany tickets can be answered from your docs or the customer's order data, while billing and security issues need a person quickly. Doing…n8nAnswer WhatsApp customer questions with an AI agent and hand off to humans (n8n)Customers message on WhatsApp at all hours with the same questions, but a bot that guesses wrong can do more harm than no reply at all.n8nTriage service requests into Airtable and auto-reply with n8nA local service business (the source example is a car repair shop) gets web-form requests of every kind. Sorting them by job type and…n8n

New agent recipes in your inbox

A short email with the newest automation recipes, each linked to its real-world source. No spam, unsubscribe anytime.