Auto-reply & create Linear tickets from Gmail with GPT-5, gotoHuman & human review
UnknownWhat this workflow does
This AI workflow has 26 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Gmail, Linear and Gotohuman (community). It also calls api.gotohuman.com over HTTP.
How it runs
Trigger: On Gmail events (plus 1 other trigger).
- Email to process (Loop Over Items (Split in Batches)): loops over the items in batches
- Test Emails 2nd batch (Code): runs custom JavaScript code
- Fetch approved classification examples (HTTP Request): calls api.gotohuman.com
- AI Classifier (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output
- Fetch approved email examples (HTTP Request): calls api.gotohuman.com
- Set Prompt (Edit Fields (Set)): sets 1 field: prompt
- AI Email Writer (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output
- Human review (Goto Human): uses Goto Human
- Human response (Switch): routes items into 3 branches
- Is test run? (Switch): routes items into 2 branches
…plus 6 more steps. See the full node list below.
Services it uses
HTTP calls to: api.gotohuman.com
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 Human review).
- Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
Nodes used (15)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail Trigger
n8n-nodes-base.gmailTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Edit Fields (Set)
n8n-nodes-base.set - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail - Manual Trigger
n8n-nodes-base.manualTrigger - No Operation, do nothing
n8n-nodes-base.noOp - Linear
n8n-nodes-base.linear - Filter
n8n-nodes-base.filter - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Goto Human
@gotohuman/n8n-nodes-gotohuman.gotoHuman
From the author
This workflow automatically classifies every new email from your linked mailbox, drafts a personalized reply, and creates Linear tickets for bugs or feature requests. It uses a human-in-the-loop with gotoHuman and continuously improves itself by learning from…