{
  "name": "Generate board-ready workforce analytics and talent reports with GPT-4o",
  "nodes": [
    {
      "id": "a8762355-4a50-4515-9307-8307bf61030e",
      "name": "Schedule Workforce Analysis",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        176,
        304
      ]
    },
    {
      "id": "540fe8dd-2458-47f7-926b-f29f01c08769",
      "name": "Load Employee Dataset",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        400,
        304
      ]
    },
    {
      "id": "282b24b3-33bd-405f-a06f-6c1eb4fd07d6",
      "name": "Aggregate Employee Records",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        624,
        304
      ]
    },
    {
      "id": "ddd04d79-7c43-474a-8de2-ea368903d57f",
      "name": "Prepare Analytics Dataset",
      "type": "n8n-nodes-base.code",
      "position": [
        1072,
        304
      ]
    },
    {
      "id": "eddf0286-9e49-4f4a-8614-17fe044efe19",
      "name": "Main Orchestrator Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1552,
        224
      ]
    },
    {
      "id": "252ea1ce-1f27-4056-9854-cd0629b9db91",
      "name": "Orchestrator Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1296,
        528
      ]
    },
    {
      "id": "c330827f-cc1b-4008-ba11-2c23e7ce9ae4",
      "name": "Board Report JSON Schema",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2080,
        528
      ]
    },
    {
      "id": "64de940c-c3dd-449a-a732-9f6cd9418349",
      "name": "Workforce Analytics Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1424,
        528
      ]
    },
    {
      "id": "122764ec-4f33-4a5a-a5f6-9ea74b8284e5",
      "name": "Analytics Agent Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1280,
        736
      ]
    },
    {
      "id": "aacd8d12-c5c1-4972-a37a-60d2186e461a",
      "name": "Talent Strategy Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1728,
        528
      ]
    },
    {
      "id": "3b7efb55-9c9c-4ea8-82e3-96c258ae73e9",
      "name": "Strategy Agent Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1888,
        736
      ]
    },
    {
      "id": "7a9749bb-ffec-4fcf-bf84-85331e9569cb",
      "name": "SHAP Value Calculator Tool",
      "type": "@n8n/n8n-nodes-langchain.toolCode",
      "position": [
        1488,
        736
      ]
    },
    {
      "id": "3396778a-c487-46ef-ab26-111f7c546456",
      "name": "Statistical Calculator Tool",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        1680,
        736
      ]
    },
    {
      "id": "ffb02a03-ea7f-4d20-a18a-dda4a49ce709",
      "name": "Prepare Report Storage",
      "type": "n8n-nodes-base.set",
      "position": [
        2240,
        304
      ]
    },
    {
      "id": "8d91c22e-94e1-4218-88cb-f23a8a56e76a",
      "name": "Store Workforce Report",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        2512,
        304
      ]
    },
    {
      "id": "2055e5a7-21f7-4300-be08-2e758da9dfb4",
      "name": "Optional Report Delivery",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2768,
        304
      ]
    },
    {
      "id": "245eb436-81df-4ebd-80bb-f77cb312323e",
      "name": "Build Skill Similarity Index",
      "type": "n8n-nodes-base.code",
      "position": [
        848,
        304
      ]
    },
    {
      "id": "370f5560-1234-4d94-b4a8-d75b8ad847ba",
      "name": "Skill Similarity Search Tool1",
      "type": "@n8n/n8n-nodes-langchain.toolCode",
      "position": [
        2064,
        736
      ]
    },
    {
      "id": "3458816b-a907-49d8-ba9f-c34caf0dfc7d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1296,
        -272
      ],
      "parameters": {
        "width": 480,
        "height": 336,
        "content": "## Prerequisites\n- OpenAI or compatible LLM API credentials\n- Employee dataset (CSV, Google Sheets, or DB)\n- Webhook endpoint or email (optional delivery)\n## Use Cases\n- Automated monthly board talent"
      }
    },
    {
      "id": "da9d851a-1ac8-4317-991d-ed47e8fc597a",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        768,
        -192
      ],
      "parameters": {
        "width": 464,
        "height": 304,
        "content": "## Setup Steps\n1. Add OpenAI or compatible LLM credentials for all Chat Model nodes.\n2. Configure employee dataset source (e.g., Google Sheets, database, or CSV node).\n3. Set the Schedule Trigger inte"
      }
    },
    {
      "id": "89942110-4a1c-4d1e-9679-b0edbc697f0d",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        -176
      ],
      "parameters": {
        "width": 624,
        "height": 288,
        "content": "## How It Works\nThis workflow automates end-to-end workforce analytics and board-level talent strategy reporting using a multi-agent AI orchestration system. Designed for HR leaders, people analytics "
      }
    },
    {
      "id": "6d2f203d-9011-4e77-a5b7-cf9c09eca9df",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        64,
        176
      ],
      "parameters": {
        "width": 1136,
        "height": 448,
        "content": "## Aggregate & Index\n**What** — Aggregates employee records and builds a skill similarity index.\n**Why** — Structures raw data into analytics-ready format for accurate modelling."
      }
    },
    {
      "id": "a4fd46dc-b9d1-4e3a-8a61-7ddfaada931c",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1248,
        96
      ],
      "parameters": {
        "width": 912,
        "height": 320,
        "content": "## Orchestrator Agent\n**What** — Coordinates Workforce Analytics and Talent Strategy sub-agents.\n**Why** — Decomposes complex analysis into specialised tasks for better accuracy."
      }
    },
    {
      "id": "44f07979-8c45-4949-9c13-39379009a5e1",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1232,
        480
      ],
      "parameters": {
        "width": 1008,
        "height": 656,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Analytics & Strategy\n**What** — Runs SHAP analysis, statistical tools, and skill search.\n**Why** — Generates explainable, evidence-based workforce and talent insights"
      }
    },
    {
      "id": "6bf70f91-22e8-4980-83a4-5896f535fac4",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2176,
        112
      ],
      "parameters": {
        "width": 832,
        "height": 352,
        "content": "## Report & Deliver\n**What** — Formats output as board JSON, stores it, and optionally sends via webhook.\n**Why** — Produces board-ready reports with zero manual formatting.\n"
      }
    }
  ],
  "connections": {
    "Load Employee Dataset": {
      "main": [
        [
          {
            "node": "Aggregate Employee Records",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Talent Strategy Agent": {
      "ai_tool": [
        [
          {
            "node": "Main Orchestrator Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Report Storage": {
      "main": [
        [
          {
            "node": "Store Workforce Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Workforce Report": {
      "main": [
        [
          {
            "node": "Optional Report Delivery",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Main Orchestrator Agent": {
      "main": [
        [
          {
            "node": "Prepare Report Storage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Orchestrator Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Main Orchestrator Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Board Report JSON Schema": {
      "ai_outputParser": [
        [
          {
            "node": "Main Orchestrator Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Analytics Dataset": {
      "main": [
        [
          {
            "node": "Main Orchestrator Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Strategy Agent Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Talent Strategy Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Workforce Analytics Agent": {
      "ai_tool": [
        [
          {
            "node": "Main Orchestrator Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Employee Records": {
      "main": [
        [
          {
            "node": "Build Skill Similarity Index",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analytics Agent Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Workforce Analytics Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "SHAP Value Calculator Tool": {
      "ai_tool": [
        [
          {
            "node": "Workforce Analytics Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Workforce Analysis": {
      "main": [
        [
          {
            "node": "Load Employee Dataset",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Statistical Calculator Tool": {
      "ai_tool": [
        [
          {
            "node": "Workforce Analytics Agent",
            "type": "ai_tool",
            "index": 0
          },
          {
            "node": "Talent Strategy Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Build Skill Similarity Index": {
      "main": [
        [
          {
            "node": "Prepare Analytics Dataset",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Skill Similarity Search Tool1": {
      "ai_tool": [
        [
          {
            "node": "Talent Strategy Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}