n8n VPS Hosting | Secure and scalable automation
n8n Course in French: Automation & AI Agents
<aside> ๐ฏ
What you will build: an n8n workflow that reads every new Gmail email and asks Jev (TypeSafe AI's decision model) which team it belongs to, whether it is urgent, whether it needs a reply and whether the customer is upset. The workflow files the email under the right label, prepares a reply draft (never sent automatically) and keeps a record of every decision.
</aside>
Gmail (new email)
โโ> Configuration (your settings)
โโ> Extract email fields (sender, subject, body)
โโ> Jev ยท Evaluate : urgency (score) + needs a reply? (yes/no) + upset? (yes/no)
โโ> Jev ยท Route : Sales | Support | Billing | Partnerships | Newsletters | Spam
โ + Fallback output if confidence < 80 % -> "To review" label
โโ> Gmail label (Jev/...)
โโ> Collect routing decision
โโ> If "Needs a reply?"
โโ YES -> Write reply draft (LLM) -> Save reply as Gmail draft -> Log
โโ NO -> Log Jev decision (Data Table)
<aside> ๐ก
The golden rule of this workflow: Jev decides, the LLM writes. Jev writes nothing: it picks from your options and returns a confidence level. The LLM (OpenAI) only steps in to write the draft, and only when Jev said a reply was needed.
</aside>