Agente CLO con equipos legales
Este es unDocument Extraction, AI Chatbotflujo de automatización del dominio deautomatización que contiene 18 nodos.Utiliza principalmente nodos como Agent, AgentTool, ToolThink, ChatTrigger, LmChatOpenAi. 基于 OpenAI O3 CLO y专家agentede全面法律部门automatización
- •Clave de API de OpenAI
Nodos utilizados (18)
{
"meta": {
"instanceId": "12e6f290a974a1eee154f8d915aade185e90e826260e6aeab8a087ba7386a1bc",
"templateCredsSetupCompleted": true
},
"name": "CLO Agent with Legal Team",
"nodes": [
{
"id": "legal-chat-trigger",
"name": "Cuando se recibe un mensaje en el chat",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-2864,
-576
],
"webhookId": "legal-webhook-id",
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "clo-agent",
"name": "Agente CLO",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-2640,
-816
],
"parameters": {
"options": {}
},
"typeVersion": 2.1
},
{
"id": "legal-think",
"name": "Think",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
-2512,
-496
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "contract-agent",
"name": "Especialista en Contratos",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-2240,
-96
],
"parameters": {
"text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {},
"toolDescription": "call this AI Agent that specializes in contract drafting, review, negotiation terms, and agreement analysis"
},
"typeVersion": 2.2
},
{
"id": "compliance-agent",
"name": "Oficial de Cumplimiento",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-1280,
-704
],
"parameters": {
"text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {},
"toolDescription": "call this AI Agent that specializes in regulatory compliance, legal requirements, audits, and risk assessment"
},
"typeVersion": 2.2
},
{
"id": "ip-agent",
"name": "Especialista en Propiedad Intelectual",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-1840,
-304
],
"parameters": {
"text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {},
"toolDescription": "call this AI Agent that specializes in patents, trademarks, copyrights, trade secrets, and IP protection"
},
"typeVersion": 2.2
},
{
"id": "privacy-agent",
"name": "Abogado de Privacidad y Protección de Datos",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-1328,
-80
],
"parameters": {
"text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {},
"toolDescription": "call this AI Agent that specializes in GDPR, CCPA, data privacy policies, and data protection compliance"
},
"typeVersion": 2.2
},
{
"id": "corporate-agent",
"name": "Especialista en Derecho Corporativo",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-1744,
-1024
],
"parameters": {
"text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {},
"toolDescription": "call this AI Agent that specializes in corporate governance, M&A, securities law, and business formation"
},
"typeVersion": 2.2
},
{
"id": "employment-agent",
"name": "Especialista en Derecho Laboral",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
-1344,
-1264
],
"parameters": {
"text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
"options": {},
"toolDescription": "call this AI Agent that specializes in employment contracts, workplace policies, labor law, and HR legal issues"
},
"typeVersion": 2.2
},
{
"id": "clo-model",
"name": "OpenAI Chat Model CLO",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-2672,
-496
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "o3",
"cachedResultName": "o3"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "YOUR_OPENAI_CREDENTIAL_ID",
"name": "OpenAI account"
}
},
"typeVersion": 1.2
},
{
"id": "contract-model",
"name": "OpenAI Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-2208,
368
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "YOUR_OPENAI_CREDENTIAL_ID",
"name": "OpenAI account"
}
},
"typeVersion": 1.2
},
{
"id": "compliance-model",
"name": "OpenAI Chat Model2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1312,
-496
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "YOUR_OPENAI_CREDENTIAL_ID",
"name": "OpenAI account"
}
},
"typeVersion": 1.2
},
{
"id": "ip-model",
"name": "OpenAI Chat Model3",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1824,
-144
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "YOUR_OPENAI_CREDENTIAL_ID",
"name": "OpenAI account"
}
},
"typeVersion": 1.2
},
{
"id": "privacy-model",
"name": "OpenAI Chat Model4",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1328,
96
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "YOUR_OPENAI_CREDENTIAL_ID",
"name": "OpenAI account"
}
},
"typeVersion": 1.2
},
{
"id": "corporate-model",
"name": "OpenAI Chat Model5",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1776,
-768
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "YOUR_OPENAI_CREDENTIAL_ID",
"name": "OpenAI account"
}
},
"typeVersion": 1.2
},
{
"id": "employment-model",
"name": "OpenAI Chat Model6",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1312,
-944
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "YOUR_OPENAI_CREDENTIAL_ID",
"name": "OpenAI account"
}
},
"typeVersion": 1.2
},
{
"id": "legal-header-sticky",
"name": "Encabezado de Nota Adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3808,
-880
],
"parameters": {
"color": 1,
"width": 580,
"height": 320,
"content": "=======================================\n CLO AGENT WITH LEGAL TEAM\n=======================================\nFor any questions or support, please contact:\n Yaron@nofluff.online\n\nExplore more tips and tutorials here:\n - YouTube: https://www.youtube.com/@YaronBeen/videos\n - LinkedIn: https://www.linkedin.com/in/yaronbeen/\n======================================="
},
"typeVersion": 1
},
{
"id": "legal-main-sticky",
"name": "Contenido de Nota Adhesiva",
"type": "n8n-nodes-base.stickyNote",
"position": [
-3808,
-544
],
"parameters": {
"color": 1,
"width": 740,
"height": 2800,
"content": "## ⚖️ **CLO AGENT WITH LEGAL TEAM - AI WORKFLOW**\n\n**🔥 Powered by OpenAI O3 & GPT-4.1-mini Multi-Agent System**\n\n#LegalTech #LegalAutomation #n8nWorkflows #OpenAI #LegalAI\n\n---\n\n### 📝 **Overview**\n\nThis multi-agent n8n automation creates a comprehensive legal department. A strategic CLO agent receives your legal requests, analyzes legal requirements, and coordinates specialized legal agents for contracts, compliance, IP protection, privacy law, corporate governance, and employment law—delivering professional legal support with AI efficiency.\n\n**⚠️ DISCLAIMER: This AI provides legal information, not legal advice. Always consult licensed attorneys for legal matters.**\n\n---\n\n### ⚙️ **How It Works**\n\n1. **Chat trigger** receives legal requests (e.g., \"Draft a software licensing agreement\")\n2. **CLO Agent** (O3) analyzes legal requirements and determines approach\n3. Delegates to specialist agents:\n - Contract Specialist\n - Compliance Officer\n - Intellectual Property Specialist\n - Privacy & Data Protection Lawyer\n - Corporate Law Specialist\n - Employment Law Specialist\n4. Each agent uses **GPT-4.1-mini** for specialized legal analysis\n5. Results compiled into comprehensive legal deliverables\n\n---\n\n### 👥 **Meet Your AI Legal Team**\n\n| Agent | Purpose | Model | Output |\n|-------|---------|-------|--------|\n| ⚖️ **CLO Agent** | Legal strategy & risk management | O3 | Strategic legal oversight |\n| 📄 **Contract Specialist** | Drafting, review, negotiation | GPT-4.1-mini | Contract documents |\n| 🛡️ **Compliance Officer** | Regulatory compliance, audits | GPT-4.1-mini | Compliance frameworks |\n| 🔒 **IP Specialist** | Patents, trademarks, copyrights | GPT-4.1-mini | IP protection strategies |\n| 🔐 **Privacy Lawyer** | GDPR, CCPA, data protection | GPT-4.1-mini | Privacy policies |\n| 🏢 **Corporate Lawyer** | M&A, governance, securities | GPT-4.1-mini | Corporate documents |\n| 👨💼 **Employment Lawyer** | HR policies, labor law | GPT-4.1-mini | Employment agreements |\n\n---\n\n### 💡 **Use Cases**\n\n- **Contract Lifecycle**: Draft → Review → Negotiate → Execute → Monitor\n- **Compliance Programs**: Policy creation → Risk assessment → Audit preparation\n- **IP Protection**: Patent applications → Trademark registration → Copyright notices\n- **Privacy Compliance**: GDPR assessments → Privacy policies → Data mapping\n- **Corporate Governance**: Board resolutions → Shareholder agreements → Bylaws\n- **Employment Law**: Policy manuals → Contract templates → Dispute resolution\n\n---\n\n### 💸 **Cost Optimization**\n\n- **O3 for CLO**: Complex legal strategy only\n- **GPT-4.1-mini for specialists**: 90% cost reduction\n- **Parallel processing**: Multiple legal workstreams\n- **Template library**: Reuse proven legal documents\n\n---\n\n### ⚠️ **Important Legal Notice**\n\nThis AI workflow provides:\n- ✅ Legal document templates\n- ✅ Compliance checklists\n- ✅ Risk assessments\n- ✅ Legal research summaries\n\nThis AI workflow does NOT provide:\n- ❌ Legal advice\n- ❌ Attorney-client privilege\n- ❌ Court representation\n- ❌ Professional legal liability\n\n**Always consult qualified legal professionals for binding legal matters.**\n\n---\n\n### 🏷️ **Tags**\n\n#LegalTech #ContractAutomation #ComplianceTech #LegalAI #LegalOps\n#IntellectualProperty #PrivacyLaw #CorporateLaw #EmploymentLaw #LegalInnovation\n#n8n #OpenAI #MultiAgentSystem #LegalDocument #RiskManagement #LegalStrategy"
},
"typeVersion": 1
}
],
"connections": {
"legal-think": {
"ai_tool": [
[
{
"node": "clo-agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"compliance-agent": {
"ai_tool": [
[
{
"node": "clo-agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"contract-model": {
"ai_languageModel": [
[
{
"node": "contract-agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"compliance-model": {
"ai_languageModel": [
[
{
"node": "compliance-agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"ip-model": {
"ai_languageModel": [
[
{
"node": "ip-agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"privacy-model": {
"ai_languageModel": [
[
{
"node": "privacy-agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"corporate-model": {
"ai_languageModel": [
[
{
"node": "corporate-agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"employment-model": {
"ai_languageModel": [
[
{
"node": "employment-agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"contract-agent": {
"ai_tool": [
[
{
"node": "clo-agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"clo-model": {
"ai_languageModel": [
[
{
"node": "clo-agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"corporate-agent": {
"ai_tool": [
[
{
"node": "clo-agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"employment-agent": {
"ai_tool": [
[
{
"node": "clo-agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"legal-chat-trigger": {
"main": [
[
{
"node": "clo-agent",
"type": "main",
"index": 0
}
]
]
},
"ip-agent": {
"ai_tool": [
[
{
"node": "clo-agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"privacy-agent": {
"ai_tool": [
[
{
"node": "clo-agent",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Avanzado - Extracción de documentos, Chatbot de IA
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
Yaron Been
@yaron-nofluffBuilding AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host If you need any help with Automations, feel free to reach out via linkedin: https://www.linkedin.com/in/yaronbeen/ And check out my Youtube channel: https://www.youtube.com/@YaronBeen/videos
Compartir este flujo de trabajo