Create a powerful n8n workflow using specialized AI agents for automatic task delegation. Route user instructions seamlessly between Email Writing and Data Analysis sub-agents powered by OpenAI models.
Download this n8n workflow template and start using it instantly.
This sophisticated n8n workflow solves the problem of creating generalist AI assistants that often fail at specific, specialized tasks. By implementing a hierarchical multi-agent structure, this n8n solution ensures that complex requests are delegated to the appropriate expert 'tool' (sub-agent). This architecture significantly enhances accuracy and efficiency, whether the task is drafting a professional follow-up email or summarizing key business metrics. This n8n template demonstrates best practices for building scalable AI automation flows, using separate language models and memory pools for each agent to maintain focus and context. Every n8n node is configured for optimal performance.
This n8n workflow operates as a highly specialized routing system:
To deploy this powerful n8n workflow, follow these steps:
ManagerAgent (Routing + Instruction Generator) (Type: Agent n8n node):
Function: Acts as the central nervous system. It analyzes the user request and decides whether to route the detailed instruction to the EmailAgent or the DataAgent.
Key Configuration: System Message explicitly defines the two subordinate agents and their respective roles (email writing vs. data analysis).
EmailAgent (Communication Specialist) (Type: Agent Tool n8n node):
Function: Specialized sub-agent dedicated solely to professional email writing.
Key Configuration: Uses a system message ensuring a 'warm, business-appropriate tone' and outputs only the email content.
DataAgent (Insight Generator) (Type: Agent Tool n8n node):
Function: Specialized sub-agent responsible for handling instructions requiring metrics, summaries, or data analysis.
Key Configuration: Tool Description clearly states its role in data insight generation.
OpenAI Chat Model Nodes (x3) (Type: Langchain Chat Model n8n node):
Function: Provide the underlying Generative AI capability (using gpt-4o-mini) to the Manager Agent and both Sub-Agents.
Simple Memory Nodes (x3) (Type: Langchain Memory Buffer n8n node):
* Function: Each memory n8n node provides independent conversational context (chat history) for its corresponding Agent, ensuring they stay focused on their current tasks without cross-talk or confusion.
Use this comprehensive n8n workflow to merge Google Sheets data, apply complex filters, calculate performance by leader, and generate an insightful AI summary using the OpenAI n8n node.

Create a custom, beautiful web UI for your specialized AI agents directly within n8n. This advanced n8n workflow includes dynamic routing, dark/light mode, and 4 agent types.

Use this powerful n8n workflow to automatically pull email lists from Google Sheets and perform batch verification using the Icypeas API. Optimize your email hygiene with this n8n template.

Learn essential automation concepts with this comprehensive n8n workflow. Covers data manipulation, conditional logic, API integration, and AI assistants using the n8n node system.

Benchmark your AI content safety mechanisms using this comprehensive n8n workflow. Automatically calculates precision, recall, F1 score, and category accuracy for PII, NSFW, and Jailbreak detection using the n8n Guardrails node.

Use this robust n8n workflow to automate the evaluation and benchmarking of various Large Language Models (LLMs) on complex legal information extraction tasks, tracking results in Google Sheets via OpenRouter.

Professional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.







































