Skip to content
OQuark

Platform: n8n · Made by OQuark

AI email triage

Reads every new Gmail message, classifies it (urgent, customer, billing, newsletter, other), applies the right label and pings Slack only for urgent ones.

A ready-to-import n8n workflow. The AI returns JSON with category, priority, a one-line summary and whether the email needs a reply. Nothing is deleted or answered automatically: the workflow only sorts and notifies. Categories and the prompt live in one place, easy to adapt to your business.

What's in the package

  • n8n workflow (workflow.n8n.json) ready to import
  • Classification prompt in PT and EN, with the JSON response schema
  • Sample input and output to test without spending credits
  • README with step-by-step setup and tweaks

Files:

  • README.md
  • prompt.md
  • workflow.n8n.json
  • examples/input.json
  • examples/output.json

What you need

  • n8n (Cloud or self-hosted, version 1.80 or newer)
  • Gmail account with an OAuth credential in n8n
  • Anthropic or OpenAI API key (typically under US$0.001 per email with small models)
  • Optional: a Slack workspace for urgent alerts

Works with

See the Agents and automation ranking

Templates are OQuark products and are kept apart from the ranking: selling a template never changes a tool's position, and the tools named here did not pay to appear.