Route and plan robot missions with Anthropic multi-agents and Gmail approvals
Ready for 3.0What this workflow does
This AI workflow has 38 nodes and runs when a chat message arrives. Along the way it connects Anthropic Chat Model and Gmail.
How it runs
Trigger: When a chat message arrives.
- Normalize Request and Config (Edit Fields (Set)): sets 4 fields: request, sessionId, approvalThreshold…
- Policy and Risk Analyzer (AI Agent): runs an AI agent, with model: Analyzer Model; output parser: Analyzer Output Schema
- Policy Check Passed? (If): checks a condition and branches into true / false
- Route by Complexity (Switch): routes items into 3 branches
- Prepare Policy Refusal (Edit Fields (Set)): sets 1 field: output
- Fast Responder (AI Agent): runs an AI agent, with model: Fast Responder Model; memory: Shared Chat Memory
- Specialist Orchestrator (AI Agent): runs an AI agent, with model: Specialist Orchestrator Model; 3 tools (Research Specialist, Engineering Specialist, Data Analysis Specialist); memory: Shared Chat Memory
- Mission Planner (AI Agent): runs an AI agent, with model: Mission Planner Model; 3 tools (Protect Agent, Navigate Agent, Perceive Agent); memory: Shared Chat Memory; output parser: Mission Plan Schema
- Compose Final Response (Edit Fields (Set)): sets 5 fields: output, route, riskScore…
- High Risk or Approval Needed? (If): checks a condition and branches into true / false
…plus 5 more steps. See the full node list below.
Services it uses
Other Anthropic + Gmail templates (192)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (10)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow provides a chat-based gateway that screens requests with Anthropic, routes them to fast, specialist, or mission-planning agents, and optionally requests human approval via Gmail before returning a final response with risk and…