n8n workflow · Inbox management

Email Triage.

An n8n workflow that sorts incoming email into support, finance, scheduling, and reading. Gmail triggers, a classification chain, decision nodes, and reply drafts make up the flow. See how it connects, then try it on a sample inbox.

Behind the workflow
Email Triage/ Workflow structure11 nodes · 10 connections
01 / Read the thread

Keep the context, not just the latest subject line.

02 / Classify & summarize

Category, priority, and the next action.

03 / Organize & prepare

Labels for every message. Drafts only when a reply is needed.

New emailGmail Trigger
Read threadGmail
Triage messageBasic LLM ChainModelOutput Parser
Apply categoryGmail · Add Label
Reply needed?If
Create draftGmail
Chat modelLanguage Model
Output parserStructured Output Parser
Urgent?If
Alert supportSlack
No reply neededNo Operation
Gmail trigger → thread context → classification → labels & drafts
  1. New emailGmail Trigger
    Read threadGmail
  2. Triage messageBasic LLM Chain
    Model & parser
    Chat modelLanguage Model
    Output parserStructured Output Parser
  3. Apply categoryGmail · Add Label
    urgent alert route
    Urgent?If
    Alert supportSlack
  4. Reply needed?If
    true · reply needed
    false · no reply
    No reply neededNo Operation
  5. Create draftGmail
THE STARTING POINT

The work before the work.

An urgent client problem, an invoice, a meeting request, and a newsletter can arrive minutes apart. Each needs a different response, but the inbox gives them the same place in line. Reading and sorting the queue can consume the time meant for the work inside it.

THE APPROACH

How the workflow handles it.

The workflow design checks each message and its thread, then assigns a category, priority, summary, and next action. A checkout failure goes to support, an invoice is labeled for finance, and a meeting request gets an availability draft. The n8n design uses Gmail labels and drafts, with Slack for urgent alerts. The preview runs on four fictional emails and shows the sorted queue alongside the original message and suggested response.

  • A mixed sample inbox sorted into urgent support, finance, scheduling, and reading.
  • A short summary and a specific next action for every message.
  • Suggested reply drafts for messages that need an answer, kept for human review.
  • A priority queue that brings urgent client work to the top and leaves newsletters for later.
THE WORKFLOW

What the system enables.

Before
A single unread queue mixes time-sensitive client work with invoices, meeting requests, and newsletters.
With Email Triage
The prototype turns four sample emails into an ordered queue with clear categories and next actions. Urgent work is surfaced first, and suggested replies are ready to review.
A LITTLE REFLECTION

What this project taught me.

Not every email needs a reply. An invoice needs its deadline preserved; a newsletter needs somewhere to go. Keeping those actions separate from reply drafting makes the queue quieter, and leaving drafts for review avoids committing to a meeting time or promising a fix on someone’s behalf.

BUILT WITH

Workflow design
n8n, Gmail API
Processing steps
Email classification, Summarization, Reply drafting
Handoff
Gmail labels, Gmail drafts, Slack, Human approval
UP NEXT

Peakle

Pickleball scoring, player ratings, and open play in one app.