I love builds like this because they solve a real bottleneck fast.
For most ecommerce brands, support inboxes are full of repeat questions. Shipping. Returns. Login issues. Order updates. Same patterns, different customers. So instead of throwing more people at the inbox, I’d rather build a system that handles the boring 80–90% and lets the team focus on exceptions.
The flow here is clean:
An email comes in through Gmail, gets classified, checked against a knowledge base, turned into a draft reply, and then the team gets pinged on Telegram to review before sending.
That last part matters.
I’m a big fan of human-in-the-loop automations, especially for support. Full auto is tempting, but drafts + review is usually the smarter move for brands that care about tone, accuracy, and edge cases.
What I liked most is how simple the architecture is.
You don’t need some giant enterprise stack. Just a few well-connected pieces:
- Gmail* for intake
n8n for orchestration
OpenAI for classification and response generation
Supabase vector store for the knowledge base
Telegram for internal notification
That’s it. Elegant beats overbuilt every time.
The classification step is doing a lot of heavy lifting too. Before the agent does any expensive work, it separates actual support emails from promo or irrelevant stuff. That’s a small design choice, but it saves tokens, reduces noise, and keeps the workflow tight.
Then comes the good part: the RAG layer.
Instead of letting the model freestyle answers, the agent pulls from the company’s own docs first. That means the reply is grounded in actual business info like return policy, shipping rules, and account help docs.
That’s the difference between a toy demo and something I’d actually deploy.
I also liked the prompt structure: clear role, clear tools, clear rules.
Especially the instruction to always use the vector store before drafting the email. That one line prevents a lot of dumb outputs. If you’ve built agents before, you know this is where things usually break. Not because the model is bad, but because the workflow lets it skip context retrieval and jump straight into writing.
The Gmail draft tool setup is also a nice touch.
Instead of auto-sending, the system creates the reply draft, fills in the recipient, generates the subject/body, and leaves the final click to a human. Super practical. Low risk. Easy to adopt.
And the Telegram notification closes the loop nicely.
Now the ops/support team knows:
- who emailed
- what it’s about
- that a draft is ready
No dashboards to babysit. No extra portal to log into. Just a message saying, basically, go review and send.
If I were building this for a client, I’d keep the same backbone and then layer in a few upgrades:
Maybe confidence scoring before drafting. Maybe routing by category. Maybe pulling order status from Shopify or the 3PL. Maybe tagging VIP customers differently. But the core system already does the job.
That’s what I look for in good automation:
Start with one painful workflow.
Make it reliable.
Keep a human checkpoint.
Then expand.
This is the kind of n8n build I’d happily send as a Loom instead of a strategy deck. It’s easy to understand, easy to sell, and easy for a client to see the ROI on day one.
If you’re building AI systems for businesses, support agents like this are such a strong offer because they’re not abstract. Everyone understands inbox pain. Everyone understands faster replies. Everyone understands saving team time without sacrificing quality.
That’s a real use case. Not just “AI for AI’s sake.”