Gmail inbox triage with Claude: label leads, support and invoices and draft replies
Every new email is classified as lead, support, invoice or other, gets a Gmail label, and leads and support questions get a reply draft in the same thread. Nothing is sent.
Who it's for
Small business owners and freelancers whose inbox mixes new leads, customer questions and invoices.
What it does
- Triggers on new Gmail messages (promotions and social tabs skipped).
- Claude classifies the email and drafts a reply in your tone for leads and support questions.
- Applies the matching Gmail label.
- Creates a reply draft in the same thread. Other email is left alone.
What you need
- Gmail account
- Anthropic API key (Claude)
Set it up
- Create three Gmail labels: AI/Lead, AI/Support, AI/Invoice.
- Connect Gmail (trigger and all Gmail nodes) and Anthropic credentials.
- Pick the right label in each Label node.
- Edit Config: your name, business, what you sell, tone, booking link or phone.
- Send yourself a test email from another address, fetch the test event and run the workflow.
- Activate. It checks every minute.
In n8n: Workflows → Import from file, pick the JSON, then follow the yellow setup note inside the workflow.
What you get
Gmail labels on every new email (AI/Lead, AI/Support, AI/Invoice) and, for leads and support questions, a reply draft in your tone in the same thread, with your booking link where it fits.
When not to use it
Shared inboxes with many people replying, or inboxes full of sensitive data such as health or legal cases. There, use your helpdesk software's own rules and keep AI out of the content.
Make it yours
Add categories in the Switch node, or change the Gmail search filter on the trigger to limit which emails are processed.
Data and privacy
Emails are untrusted input. Claude can only label and draft here; it can't send, forward or delete. Keep it that way, and mention Anthropic as a processor in your privacy notice.
No n8n? Do it by hand first
The same job works as a copy-paste skill in Claude or ChatGPT: FOA-10 · Customer Support Reply Drafter. Many people run the skill by hand for two weeks, then automate it with this workflow once they trust the output.
Questions
Could a malicious email make it do something bad?
The workflow gives Claude no way to send, forward or delete. The worst case is a wrong label or a bad draft, which you see before anything goes out.
Does it read every email?
Only new emails that match the trigger's search filter. Promotions and social tabs are skipped by default.
Put one task on autopilot this week.
Free templates, 20 Claude skills and a live build every Thursday at 19:00 Amsterdam. No tech background needed.