
Let AI Sort Your Inbox + Draft Replies Automatically
This n8n workflow watches your Gmail inbox and instantly categorizes each incoming email, applies the right label, and triggers a smart action—so you stop wasting time on repetitive email triage.
In thebox.
- workflow.jsonReady-to-import n8n workflow file
- Setup guideStep-by-step deployment instructions
- Node documentationWhat each node does + how to tune it
- Sample dataTest inputs to verify it works end-to-end
- 30 days supportEmail & WhatsApp deployment help
- Lifetime updatesNew versions delivered free, forever
Live inthree steps.
What thisworkflow does.
Built with LangChain + OpenAI + Gmail + Google Sheets, it turns Gmail into an AI-powered assistant that can draft, summarize, reply, and forward based on email intent.
✅ What This Workflow Does
Every minute, it checks for new emails and classifies them into 4 categories:
🟥 High Priority
Applies your “High Priority” label Uses GPT to generate a professional reply draft (saved as a Gmail Draft)
🟨 Advertisement
Applies your “Advertisement” label Summarizes the email in 1–2 lines and logs it into Google Sheets (Sender, Subject, Summary, Recommendation)
🟩 Inquiry
Applies your “Inquiry” label Auto-replies with a customer-service style response Includes a fallback instruction if the question can’t be answered
🟦 Finance/Billing
Applies your “Finance/Billing” label Generates a short summary and forwards/replies to a designated address (easy finance routing)
⚙️ Built-In Structure (Already Included)
Gmail Trigger polling every minute AI text classification (LangChain Text Classifier) Category-based Gmail labeling GPT-based drafting + summarization + replies Google Sheets logging for ad/promotional emails Easy placeholders to swap (email address, labels, spreadsheet)
📦 What You Receive
✅ Full n8n JSON workflow ✅ Ready-to-import structure ✅ Category prompts + routing logic ✅ Google Sheets logging setup
🔑 Requirements (Not Included)
n8n (cloud or self-hosted) Gmail OAuth connected in n8n OpenAI API key Google Sheets OAuth + a spreadsheet (for ad summaries) 4 Gmail labels created (or map to your existing labels)
The fullintegration map.
Often pairedwith this.
More inEmail & CRM.
Deploy Let AI Sort Your
$45.00 · workflow.json in your inbox in under 5 minutes.






