AutomationFlowsAI & RAG › Create a Complete Hr Department with Openai O3 and Gpt-4.1-mini Multi-agent…

Create a Complete Hr Department with Openai O3 and Gpt-4.1-mini Multi-agent…

Original n8n title: Create a Complete Hr Department with Openai O3 and Gpt-4.1-mini Multi-agent System

ByYaron Been @yaron-nofluff on n8n.io

Complete AI-powered HR department with a Chief Human Resources Officer (CHRO) agent orchestrating specialized HR team members for comprehensive people operations.

Chat trigger trigger★★★★☆ complexityAI-powered18 nodesChat TriggerAgentTool ThinkAgent ToolOpenAI Chat
AI & RAG Trigger: Chat trigger Nodes: 18 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #6901 — we link there as the canonical source.

This workflow follows the Agent → Agenttool recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "CHRO Agent with HR Team",
  "nodes": [
    {
      "id": "hr-chat-trigger",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -2864,
        -576
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "chro-agent",
      "name": "CHRO Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2640,
        -816
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 2.1
    },
    {
      "id": "hr-think",
      "name": "Think",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        -2512,
        -496
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "recruiter-agent",
      "name": "Recruiter Agent",
      "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 recruitment, job descriptions, candidate screening, and interview questions"
      },
      "typeVersion": 2.2
    },
    {
      "id": "policy-writer-agent",
      "name": "HR Policy Writer",
      "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 writing HR policies, employee handbooks, and compliance documentation"
      },
      "typeVersion": 2.2
    },
    {
      "id": "training-agent",
      "name": "Training & Development 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 creating training materials, onboarding programs, and professional development plans"
      },
      "typeVersion": 2.2
    },
    {
      "id": "performance-agent",
      "name": "Performance Review Specialist",
      "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 performance reviews, feedback templates, goal setting, and employee evaluations"
      },
      "typeVersion": 2.2
    },
    {
      "id": "culture-agent",
      "name": "Employee Engagement 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 employee engagement, culture initiatives, team building activities, and internal communications"
      },
      "typeVersion": 2.2
    },
    {
      "id": "compensation-agent",
      "name": "Compensation & Benefits Analyst",
      "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 compensation analysis, benefits packages, salary benchmarking, and total rewards communication"
      },
      "typeVersion": 2.2
    },
    {
      "id": "chro-model",
      "name": "OpenAI Chat Model CHRO",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2672,
        -496
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "o3",
          "cachedResultName": "o3"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "recruiter-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": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "policy-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": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "training-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": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "performance-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": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "culture-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": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "compensation-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": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "header-sticky",
      "name": "Sticky Note Header",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3808,
        -880
      ],
      "parameters": {
        "color": 5,
        "width": 580,
        "height": 320,
        "content": "=======================================\n        CHRO AGENT WITH HR 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": "main-sticky",
      "name": "Sticky Note Main",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3808,
        -544
      ],
      "parameters": {
        "color": 5,
        "width": 740,
        "height": 2500,
        "content": "## \ud83e\udde0 **CHRO AGENT WITH HR TEAM - AI WORKFLOW**\n\n**\ud83d\udd25 Powered by OpenAI O3 & GPT-4.1-mini Multi-Agent System**\n\n#HRAutomation #PeopleOps #n8nWorkflows #OpenAI #TalentManagement\n\n---\n\n### \ud83d\udcdd **Overview**\n\nThis multi-agent n8n automation simulates a complete HR department. A strategic CHRO agent receives your chat input, analyzes HR needs, and delegates to specialized agents for recruitment, policy writing, training, performance management, culture, and compensation\u2014delivering comprehensive HR solutions instantly.\n\n---\n\n### \u2699\ufe0f **How It Works**\n\n1. **Chat trigger** receives HR requests (e.g., \"Create onboarding program for new engineers\")\n2. **CHRO Agent** (O3) analyzes request and determines required HR functions\n3. Delegates to specialist agents:\n   - Recruiter Agent\n   - HR Policy Writer\n   - Training & Development Specialist\n   - Performance Review Specialist\n   - Employee Engagement Specialist\n   - Compensation & Benefits Analyst\n4. Each agent uses **GPT-4.1-mini** for fast, focused execution\n5. Results compiled and returned via chat or integrated with HRIS\n\n---\n\n### \ud83d\udc65 **Meet Your AI HR Team**\n\n| Agent | Purpose | Model | Output |\n|-------|---------|-------|--------|\n| \ud83e\udde0 **CHRO Agent** | Strategic HR planning & delegation | O3 | Central command |\n| \ud83c\udfaf **Recruiter** | Job descriptions, screening, interviews | GPT-4.1-mini | Hiring materials |\n| \ud83d\udccb **Policy Writer** | HR policies, handbooks, compliance | GPT-4.1-mini | Documentation |\n| \ud83c\udf93 **Training Specialist** | Learning programs, onboarding | GPT-4.1-mini | Training content |\n| \u2b50 **Performance Specialist** | Reviews, feedback, goal setting | GPT-4.1-mini | Evaluation tools |\n| \ud83c\udf89 **Engagement Specialist** | Culture, team building, comms | GPT-4.1-mini | Culture initiatives |\n| \ud83d\udcb0 **Compensation Analyst** | Salary, benefits, total rewards | GPT-4.1-mini | Comp packages |\n\n---\n\n### \ud83d\udca1 **Use Cases**\n\n- **Full Hiring Cycle**: Job posting \u2192 Screening questions \u2192 Interview guides \u2192 Offer letters\n- **Policy Suite**: Create complete employee handbook in minutes\n- **Onboarding Programs**: Day 1-90 plans with checklists and training\n- **Performance Cycles**: 360 reviews, goals, development plans\n- **Culture Programs**: Engagement surveys, team activities, recognition\n- **Compensation Analysis**: Market benchmarking, pay equity reviews\n\n---\n\n### \ud83d\udcb8 **Cost Optimization**\n\n- **O3 for CHRO**: Strategic decisions only\n- **GPT-4.1-mini for specialists**: 90% cost reduction\n- **Parallel processing**: All agents work simultaneously\n- **Template caching**: Reuse common HR documents\n\n---\n\n### \ud83c\udff7\ufe0f **Tags**\n\n#HRTech #PeopleOperations #TalentAcquisition #EmployeeExperience #HRAutomation\n#AIRecruitment #PerformanceManagement #CompensationBenefits #OnboardingAutomation\n#CultureTech #n8n #OpenAI #MultiAgentSystem #FutureOfWork #HRTransformation"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Think": {
      "ai_tool": [
        [
          {
            "node": "CHRO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Recruiter Agent": {
      "ai_tool": [
        [
          {
            "node": "CHRO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "HR Policy Writer": {
      "ai_tool": [
        [
          {
            "node": "CHRO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Recruiter Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "HR Policy Writer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Training & Development Specialist",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "Performance Review Specialist",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model5": {
      "ai_languageModel": [
        [
          {
            "node": "Employee Engagement Specialist",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model6": {
      "ai_languageModel": [
        [
          {
            "node": "Compensation & Benefits Analyst",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model CHRO": {
      "ai_languageModel": [
        [
          {
            "node": "CHRO Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "CHRO Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Performance Review Specialist": {
      "ai_tool": [
        [
          {
            "node": "CHRO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Employee Engagement Specialist": {
      "ai_tool": [
        [
          {
            "node": "CHRO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Compensation & Benefits Analyst": {
      "ai_tool": [
        [
          {
            "node": "CHRO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Training & Development Specialist": {
      "ai_tool": [
        [
          {
            "node": "CHRO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Complete AI-powered HR department with a Chief Human Resources Officer (CHRO) agent orchestrating specialized HR team members for comprehensive people operations.

Source: https://n8n.io/workflows/6901/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This workflow deploys a fully autonomous "AI SEO Agency" inside your n8n instance.

Chat Trigger, OpenAI Chat, Agent Tool +5
AI & RAG

This workflow builds a virtual finance department inside n8n. At the center is a CFO Agent (O3 model) who acts like a strategic leader. When a financial request comes in, the CFO interprets it, decide

Chat Trigger, Agent, Tool Think +2
AI & RAG

This n8n workflow simulates a full-service creative agency powered by AI. At the center is a Creative Director Agent (O3 model) who takes client requests, plans the creative direction, and delegates w

Chat Trigger, Agent, Tool Think +2
AI & RAG

This multi-agent n8n automation simulates a high-functioning marketing team. A strategic CMO agent receives your chat-based input, decides which specialist is best for the task, and delegates accordin

Chat Trigger, Agent, Tool Think +2
AI & RAG

Complete AI-powered sales department with a Chief Sales Officer (CSO) agent orchestrating specialized sales team members for comprehensive revenue operations and sales automation.

Chat Trigger, Agent, Tool Think +2