Templates / Triage Gmail inbox, route emails with Jev, and draft replies with OpenAI

Triage Gmail inbox, route emails with Jev, and draft replies with OpenAI

Unknown

by Dr. Firas ✓ · 53 views · created 2026-10-09 · Ticket Management, AI Summarization

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 18 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI Chat Model and Typesafe Ai (community).

How it runs

Trigger: On Gmail events.

  1. Configuration (Edit Fields (Set)): sets 9 fields: company_name, company_context, reply_language…
  2. Extract email fields (Edit Fields (Set)): sets 7 fields: message_id, thread_id, from_email…
  3. Score email with Jev (Type Safe Ai): uses Type Safe Ai
  4. Route email to department (Type Safe Ai): route
  5. Label as Sales (Gmail): add labels
  6. Label as Support (Gmail): add labels
  7. Label as Billing (Gmail): add labels
  8. Label as Partnerships (Gmail): add labels
  9. Label as Newsletters (Gmail): add labels
  10. Label as Spam (Gmail): add labels

…plus 6 more steps. See the full node list below.

Services it uses

GmailOpenAI Chat ModelTypesafe Ai (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that @typesafe-ai/n8n-nodes-typesafe-ai is verified or supports 3.0 (used in Score email with Jev, Route email to department).

Nodes used (8)

From the author

Quick overview This workflow monitors unread Gmail inbox messages, uses TypeSafe AI Jev to score urgency and route each email to a department label, and, when a reply is needed, uses OpenAI to generate a Gmail draft reply and logs all decisions to an n8n Data…

Excerpt from Dr. Firas's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.