How They Use AI  |  Newest

<< Home  |  Work

Cut email sorting time by ~60%

AreaWork
AI usedn8n
Sourcer/PromptDesign
Posted2026-02-18

The move

Create an automated workflow that filters emails through basic rules before using an LLM to classify them for routing.

Steps

  1. Set up a Gmail trigger in n8n to pull incoming emails.
  2. Create a rule-based filter to archive newsletters and automated system emails.
  3. Pass the remaining email bodies to an LLM with a classification prompt.
  4. Configure deterministic routing in n8n to label or star emails based on the LLM output.
  5. Set a fallback path for manual review if the LLM confidence score is low.

Prompt for your AI

You are an email triage classifier. Classify the following email into one of these categories: URGENT, ACTION_REQUIRED, FYI, IGNORE. Rules: 1. Deadline within 72h is URGENT. 2. External sender requesting action is ACTION_REQUIRED. 3. Invoice/payment/contract is ACTION_REQUIRED. 4. Informational only is FYI. 5. Promotional/automated is IGNORE. Extract the deadline (ISO format), sender_type (internal/external), and confidence score (0-100). Respond ONLY in JSON: { "category": "", "deadline": "", "sender_type": "", "confidence": 0 } Email: [Insert email body here]

What happened

The user spent 25–30 minutes every morning manually sorting emails to determine urgency. They built an n8n workflow that uses basic rules to filter out newsletters, then sends the remaining emails to an LLM for structured classification. This process reduced sorting time to 10–12 minutes and eliminated 20 micro-decisions daily.

Watch out

The LLM may misclassify emails if the prompt rules are not specific enough. Always include a fallback path for low-confidence classifications to avoid missing important messages.

Give it to your agent

Read https://howtheyuse.ai/p/cut-email-sorting-time-by-60.md and help me do this.

Sources



Last updated November 26, 2026.