Skip to content
Back to AI Lab

My n8n schema for email analysis

An inbox is often a hidden business process — just scattered and manual.

Flow

  1. Trigger: webhook / IMAP / Gmail node.
  2. Normalize: subject, sender, body, attachments.
  3. Classify: rules + optional LLM (lead / support / spam / invoice).
  4. Extract: CRM fields (company, amount, due date).
  5. Route: Slack, CRM, sheet, auto-reply.

Why it works

n8n owns orchestration. The LLM gets narrow context and a clear JSON output schema. Humans only handle exceptions.

Lesson

Do not automate “the whole email”. Automate the decision and route — the rest is node detail.