{
  "workflow": {
    "id": 6904,
    "name": "Comprehensive legal department automation with OpenAI O3 CLO & specialist agents",
    "views": 1405,
    "recentViews": 1,
    "totalViews": 1405,
    "createdAt": "2025-08-02T17:59:46.783Z",
    "description": "# CLO Agent with Legal Team\n\n## Description\nNavigate legal complexities with an AI-powered Chief Legal Officer (CLO) agent orchestrating specialized legal team members for comprehensive legal operations and risk management.\n\n## Overview\nThis n8n workflow creates a comprehensive legal department using AI agents. The CLO agent analyzes legal requirements and delegates tasks to specialized agents for contract management, compliance, intellectual property, privacy law, corporate governance, and employment law.\n\n**⚠️ IMPORTANT DISCLAIMER: These AI agents provide legal information and templates, NOT legal advice. Always consult qualified legal professionals for binding legal matters. This workflow does not create attorney-client privilege or provide professional legal liability coverage.**\n\n## Building Blocks Approach\nThis workflow provides foundational AI agents as building blocks for your legal operations. Feel free to:\n- Customize agent prompts to match your industry and legal requirements\n- Add relevant legal tools and integrations (contract management, compliance platforms)\n- Modify specialist focus areas based on your specific legal needs\n- Integrate with legal research databases and document management systems\n- Adjust the CLO's strategic oversight to align with your risk tolerance\n\n## Features\n- Strategic CLO agent using OpenAI O3 for complex legal strategy and risk assessment\n- Six specialized legal agents powered by GPT-4.1-mini for efficient execution\n- Complete legal lifecycle coverage from contracts to compliance\n- Automated document generation and review processes\n- Risk assessment and mitigation strategies\n- Intellectual property protection workflows\n- Privacy and data protection compliance\n\n## Team Structure\n- **CLO Agent**: Legal strategy and risk management coordination (O3 model)\n- **Contract Specialist**: Contract drafting, review, negotiation terms, agreement analysis\n- **Compliance Officer**: Regulatory compliance, legal requirements, audits, risk assessment\n- **IP Specialist**: Patents, trademarks, copyrights, trade secrets, IP protection\n- **Privacy Lawyer**: GDPR, CCPA, data privacy policies, data protection compliance\n- **Corporate Lawyer**: Corporate governance, M&A, securities law, business formation\n- **Employment Lawyer**: Employment contracts, workplace policies, labor law, HR legal issues\n\n## How to Use\n1. Import the workflow into your n8n instance\n2. Configure OpenAI API credentials for all chat models\n3. Deploy the webhook for chat interactions\n4. Send legal requests via chat (e.g., \"Draft a software licensing agreement\")\n5. The CLO will analyze and delegate to appropriate specialists\n6. Receive comprehensive legal deliverables and risk assessments\n\n## Use Cases\n- **Contract Lifecycle Management**: Draft → Review → Negotiate → Execute → Monitor\n- **Compliance Programs**: Policy creation → Risk assessment → Audit preparation\n- **IP Protection Strategy**: Patent applications → Trademark registration → Copyright notices\n- **Privacy Compliance**: GDPR assessments → Privacy policies → Data mapping exercises\n- **Corporate Governance**: Board resolutions → Shareholder agreements → Corporate bylaws\n- **Employment Law**: Policy manuals → Contract templates → Dispute resolution procedures\n- **Legal Document Automation**: Template creation → Review workflows → Version control\n- **Risk Assessment**: Legal risk evaluation → Mitigation strategies → Compliance monitoring\n\n## Requirements\n- n8n instance with LangChain nodes\n- OpenAI API access (O3 for CLO, GPT-4.1-mini for specialists)\n- Webhook capability for chat interactions\n- Optional: Integration with legal management tools (contract management systems, legal research databases)\n\n## Legal Scope & Limitations\n**This AI workflow provides:**\n- ✅ Legal document templates and frameworks\n- ✅ Compliance checklists and procedures\n- ✅ Risk assessment methodologies\n- ✅ Legal research summaries and insights\n\n**This AI workflow does NOT provide:**\n- ❌ Legal advice or professional legal counsel\n- ❌ Attorney-client privilege protection\n- ❌ Court representation or litigation support\n- ❌ Professional legal liability coverage\n- ❌ Jurisdiction-specific legal opinions\n\n## Cost Optimization\n- O3 model used only for strategic CLO decisions and complex legal analysis\n- GPT-4.1-mini provides 90% cost reduction for specialist document tasks\n- Parallel processing enables simultaneous legal workstream execution\n- Template library reduces redundant legal document generation\n\n## Integration Options\n- Connect to contract management systems (DocuSign, PandaDoc, ContractWorks)\n- Integrate with legal research databases (Westlaw, LexisNexis)\n- Link to compliance management platforms (GRC tools, audit systems)\n- Export to document management systems (SharePoint, Box, Google Drive)\n\n## Performance Metrics\n- Contract cycle time reduction and accuracy\n- Compliance audit success rates\n- Legal risk identification and mitigation effectiveness\n- Document review efficiency and consistency\n- Cost per legal matter and resource utilization\n\n## Contact & Resources\n- **Website**: [nofluff.online](https://www.nofluff.online)\n- **YouTube**: [@YaronBeen](https://www.youtube.com/@YaronBeen/videos)\n- **LinkedIn**: [Yaron Been](https://www.linkedin.com/in/yaronbeen/)\n\n## Tags\n#LegalTech #ContractAutomation #ComplianceTech #LegalAI #LegalOps #IntellectualProperty #PrivacyLaw #CorporateLaw #EmploymentLaw #LegalInnovation #n8n #OpenAI #MultiAgentSystem #LegalDocument #RiskManagement #LegalStrategy",
    "workflow": {
      "meta": {
        "instanceId": "12e6f290a974a1eee154f8d915aade185e90e826260e6aeab8a087ba7386a1bc",
        "templateCredsSetupCompleted": true
      },
      "name": "CLO Agent with Legal Team",
      "nodes": [
        {
          "id": "legal-chat-trigger",
          "name": "When chat message received",
          "type": "@n8n/n8n-nodes-langchain.chatTrigger",
          "position": [
            -2864,
            -576
          ],
          "webhookId": "legal-webhook-id",
          "parameters": {
            "options": {}
          },
          "typeVersion": 1.1
        },
        {
          "id": "clo-agent",
          "name": "CLO Agent",
          "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": "Contract Specialist",
          "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": "Compliance Officer",
          "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": "Intellectual Property Specialist",
          "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": "Privacy & Data Protection Lawyer",
          "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": "Corporate Law Specialist",
          "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": "Employment Law Specialist",
          "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": "credential-id",
              "name": "openAiApi Credential"
            }
          },
          "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": "credential-id",
              "name": "openAiApi Credential"
            }
          },
          "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": "credential-id",
              "name": "openAiApi Credential"
            }
          },
          "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": "credential-id",
              "name": "openAiApi Credential"
            }
          },
          "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": "credential-id",
              "name": "openAiApi Credential"
            }
          },
          "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": "credential-id",
              "name": "openAiApi Credential"
            }
          },
          "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": "credential-id",
              "name": "openAiApi Credential"
            }
          },
          "typeVersion": 1.2
        },
        {
          "id": "legal-header-sticky",
          "name": "Sticky Note Header",
          "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": "Sticky Note Main",
          "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": {
        "Think": {
          "ai_tool": [
            [
              {
                "node": "CLO Agent",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Compliance Officer": {
          "ai_tool": [
            [
              {
                "node": "CLO Agent",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "OpenAI Chat Model1": {
          "ai_languageModel": [
            [
              {
                "node": "Contract Specialist",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "OpenAI Chat Model2": {
          "ai_languageModel": [
            [
              {
                "node": "Compliance Officer",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "OpenAI Chat Model3": {
          "ai_languageModel": [
            [
              {
                "node": "Intellectual Property Specialist",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "OpenAI Chat Model4": {
          "ai_languageModel": [
            [
              {
                "node": "Privacy & Data Protection Lawyer",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "OpenAI Chat Model5": {
          "ai_languageModel": [
            [
              {
                "node": "Corporate Law Specialist",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "OpenAI Chat Model6": {
          "ai_languageModel": [
            [
              {
                "node": "Employment Law Specialist",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "Contract Specialist": {
          "ai_tool": [
            [
              {
                "node": "CLO Agent",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "OpenAI Chat Model CLO": {
          "ai_languageModel": [
            [
              {
                "node": "CLO Agent",
                "type": "ai_languageModel",
                "index": 0
              }
            ]
          ]
        },
        "Corporate Law Specialist": {
          "ai_tool": [
            [
              {
                "node": "CLO Agent",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Employment Law Specialist": {
          "ai_tool": [
            [
              {
                "node": "CLO Agent",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "When chat message received": {
          "main": [
            [
              {
                "node": "CLO Agent",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Intellectual Property Specialist": {
          "ai_tool": [
            [
              {
                "node": "CLO Agent",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        },
        "Privacy & Data Protection Lawyer": {
          "ai_tool": [
            [
              {
                "node": "CLO Agent",
                "type": "ai_tool",
                "index": 0
              }
            ]
          ]
        }
      }
    },
    "lastUpdatedBy": 29,
    "workflowInfo": {
      "nodeCount": 18,
      "nodeTypes": {
        "n8n-nodes-base.stickyNote": {
          "count": 2
        },
        "@n8n/n8n-nodes-langchain.agent": {
          "count": 1
        },
        "@n8n/n8n-nodes-langchain.agentTool": {
          "count": 6
        },
        "@n8n/n8n-nodes-langchain.toolThink": {
          "count": 1
        },
        "@n8n/n8n-nodes-langchain.chatTrigger": {
          "count": 1
        },
        "@n8n/n8n-nodes-langchain.lmChatOpenAi": {
          "count": 7
        }
      }
    },
    "status": "published",
    "user": {
      "name": "Yaron Been",
      "username": "yaron-nofluff",
      "bio": "Building AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host\n\nIf you need any help with Automations, feel free to reach out via linkedin:\nhttps://www.linkedin.com/in/yaronbeen/\n\nAnd check out my Youtube channel:\nhttps://www.youtube.com/@YaronBeen/videos",
      "verified": true,
      "links": [
        "https://www.nofluff.online/automation-services/"
      ],
      "avatar": "https://gravatar.com/avatar/a4e4dcaa1f76ff5266bbf80e8df86d22efda890474c68f7796e72fd82e3f2375?r=pg&d=retro&size=200"
    },
    "nodes": [
      {
        "id": 565,
        "icon": "fa:sticky-note",
        "name": "n8n-nodes-base.stickyNote",
        "codex": {
          "data": {
            "alias": [
              "Comments",
              "Notes",
              "Sticky"
            ],
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Helpers"
              ]
            }
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Sticky Note",
          "color": "#FFD233"
        },
        "iconData": {
          "icon": "sticky-note",
          "type": "icon"
        },
        "displayName": "Sticky Note",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 1119,
        "icon": "fa:robot",
        "name": "@n8n/n8n-nodes-langchain.agent",
        "codex": {
          "data": {
            "alias": [
              "LangChain",
              "Chat",
              "Conversational",
              "Plan and Execute",
              "ReAct",
              "Tools"
            ],
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/"
                }
              ]
            },
            "categories": [
              "AI",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Agents",
                "Root Nodes"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "AI Agent",
          "color": "#404040"
        },
        "iconData": {
          "icon": "robot",
          "type": "icon"
        },
        "displayName": "AI Agent",
        "typeVersion": 3,
        "nodeCategories": [
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      },
      {
        "id": 1153,
        "icon": "file:openAiLight.svg",
        "name": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
        "codex": {
          "data": {
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatopenai/"
                }
              ]
            },
            "categories": [
              "AI",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Language Models",
                "Root Nodes"
              ],
              "Language Models": [
                "Chat Models (Recommended)"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "OpenAI Chat Model"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTM2Ljg2NzEgMTYuMzcxOEMzNy43NzQ2IDEzLjY0OCAzNy40NjIxIDEwLjY2NDIgMzYuMDEwOCA4LjE4NjYxQzMzLjgyODIgNC4zODY1MyAyOS40NDA3IDIuNDMxNDkgMjUuMTU1NiAzLjM1MTUxQzIzLjI0OTMgMS4yMDM5NiAyMC41MTA1IC0wLjAxNzMxNDggMTcuNjM5MiAwLjAwMDE4NTUzM0MxMy4yNTkxIC0wLjAwOTgxNDY4IDkuMzcyNzMgMi44MTAyNSA4LjAyNTIgNi45Nzc4M0M1LjIxMTM5IDcuNTU0MSAyLjc4MjU4IDkuMzE1MzggMS4zNjEzIDExLjgxMTdDLTAuODM3NDkzIDE1LjYwMTggLTAuMzM2MjMyIDIwLjM3OTQgMi42MDEzMyAyMy42Mjk0QzEuNjkzODEgMjYuMzUzMiAyLjAwNjMyIDI5LjMzNzEgMy40NTc2IDMxLjgxNDZDNS42NDAxNSAzNS42MTQ3IDEwLjAyNzcgMzcuNTY5NyAxNC4zMTI4IDM2LjY0OTdDMTYuMjE3OSAzOC43OTczIDE4Ljk1NzkgNDAuMDE4NSAyMS44MjkyIDM5Ljk5OThDMjYuMjExOCA0MC4wMTEgMzAuMDk5NCAzNy4xODg1IDMxLjQ0NjkgMzMuMDE3MUMzNC4yNjA4IDMyLjQ0MDkgMzYuNjg5NiAzMC42Nzk2IDM4LjExMDggMjguMTgzM0M0MC4zMDcxIDI0LjM5MzIgMz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U3NDEgMjEuNDQzMUwxMC4yMDY1IDE5LjQ5OTRDMTAuMTcwMiAxOS40ODE5IDEwLjE0NjUgMTkuNDQ2OCAxMC4xNDE1IDE5LjQwNjhWMTAuMTA3OUMxMC4xNDQgNS45Njc4MSAxMy41MDI4IDIuNjEyNzQgMTcuNjQyOSAyLjYxNTI0QzE5LjM5NDIgMi42MTUyNCAyMS4wODkyIDMuMjMwMjUgMjIuNDM1NSA0LjM1MDI4QzIyLjM3NDMgNC4zODI3OCAyMi4yNjkzIDQuNDQxNTMgMjIuMTk5MiA0LjQ4NDAzTDE0LjIzNDEgOS4wODQxM0MxMy44MjY2IDkuMzE1MzggMTMuNTc2NiA5Ljc0Nzg5IDEzLjU3OTEgMTAuMjE2N0wxMy41NzQxIDIxLjQ0MDZWMjEuNDQzMVpNMTUuNDAyOSAxNy41MDA2TDE5LjczNDIgMTQuOTk5M0wyNC4wNjU1IDE3LjQ5OTNWMjIuNTAwN0wxOS43MzQyIDI1LjAwMDdMMTUuNDAyOSAyMi41MDA3VjE3LjUwMDZaIiBmaWxsPSIjN0Q3RDg3Ii8+Cjwvc3ZnPgo="
        },
        "displayName": "OpenAI Chat Model",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      },
      {
        "id": 1247,
        "icon": "fa:comments",
        "name": "@n8n/n8n-nodes-langchain.chatTrigger",
        "codex": {
          "data": {
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-langchain.chattrigger/"
                }
              ]
            },
            "categories": [
              "Core Nodes",
              "Langchain"
            ]
          }
        },
        "group": "[\"trigger\"]",
        "defaults": {
          "name": "When chat message received"
        },
        "iconData": {
          "icon": "comments",
          "type": "icon"
        },
        "displayName": "Chat Trigger",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      },
      {
        "id": 1289,
        "icon": "fa:brain",
        "name": "@n8n/n8n-nodes-langchain.toolThink",
        "codex": {
          "data": {
            "resources": {
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolthink/"
                }
              ]
            },
            "categories": [
              "AI",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Tools"
              ],
              "Tools": [
                "Other Tools"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "Think"
        },
        "iconData": {
          "icon": "brain",
          "type": "icon"
        },
        "displayName": "Think Tool",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      },
      {
        "id": 1310,
        "icon": "fa:robot",
        "name": "@n8n/n8n-nodes-langchain.agentTool",
        "codex": {
          "data": {
            "alias": [
              "LangChain",
              "Chat",
              "Conversational",
              "Plan and Execute",
              "ReAct",
              "Tools"
            ],
            "categories": [
              "AI",
              "Langchain"
            ],
            "subcategories": {
              "AI": [
                "Tools"
              ],
              "Tools": [
                "Other Tools"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "AI Agent Tool",
          "color": "#404040"
        },
        "iconData": {
          "icon": "robot",
          "type": "icon"
        },
        "displayName": "AI Agent Tool",
        "typeVersion": 3,
        "nodeCategories": [
          {
            "id": 25,
            "name": "AI"
          },
          {
            "id": 26,
            "name": "Langchain"
          }
        ]
      }
    ],
    "categories": [
      {
        "id": 35,
        "name": "Document Extraction"
      },
      {
        "id": 47,
        "name": "AI Chatbot"
      }
    ],
    "image": []
  }
}