Templates / Classify emails and send replies with GPT-4o and gotoHuman for supervision

Classify emails and send replies with GPT-4o and gotoHuman for supervision

Unknown

by gotoHuman ✓ · 1,240 views · created 2025-08-12 · Ticket Management, Multimodal AI

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-10-19.

What this workflow does

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

How it runs

Trigger: On Gmail events.

  1. AI Classifier (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output
  2. Needs Human Attention? (Switch): routes items into 3 branches
  3. Set Prompt (Edit Fields (Set)): sets 1 field: prompt
  4. Goto Human: uses Goto Human
  5. AI Email Writer (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output
  6. Human response (Switch): routes items into 3 branches
  7. Reply to thread (Gmail): reply
  8. Set (edited) prompt (Edit Fields (Set)): sets 2 fields: prompt, reviewToUpdate

Services it uses

OpenAI Chat ModelGmailGotohuman (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 @gotohuman/n8n-nodes-gotohuman is verified or supports 3.0 (used in gotoHuman: Human review).
  • Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).

Nodes used (9)

From the author

Let AI classify your incoming emails and draft replies. Use gotoHuman to approve emails before they are sent out. It also lets you manually edit the draft or even ask for a retry. How it works 1. The workflow is triggered for each new email which gets passed…

Excerpt from gotoHuman'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.