{
  "name": "Validate academic promotion decisions with GPT-4o, policy rules, and Gmail",
  "nodes": [
    {
      "id": "6b9a6d8c-ea9d-49a6-8e1b-747a254d0ce7",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -2288,
        288
      ]
    },
    {
      "id": "47b23ea2-1fd4-41fa-890c-d9873e99914b",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -2064,
        288
      ]
    },
    {
      "id": "e304549c-c311-4228-bee6-785d19349c85",
      "name": "Fetch Performance Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1840,
        192
      ]
    },
    {
      "id": "ca94d8d0-57fc-4301-87d1-cce500970aed",
      "name": "Fetch Policy Rules",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1840,
        384
      ]
    },
    {
      "id": "62d5cdf4-82f5-47ce-a44e-275029241f2c",
      "name": "OpenAI Model - Performance Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1104,
        640
      ]
    },
    {
      "id": "d4661b86-cfed-479c-9eb8-bacce0481c4f",
      "name": "OpenAI Model - Governance Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1472,
        384
      ]
    },
    {
      "id": "3dc5ef73-3c7b-479c-85ed-389876b2afc2",
      "name": "OpenAI Model - Calibration Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -736,
        640
      ]
    },
    {
      "id": "dfc6bfe1-976b-4fa7-94d2-5ce756deac20",
      "name": "Performance Validation Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -912,
        640
      ]
    },
    {
      "id": "4d29a145-13b4-4f64-915e-4a33862bb2ac",
      "name": "Governance Decision Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -320,
        432
      ]
    },
    {
      "id": "942279c3-9494-472e-a9ce-62ab4bf5c761",
      "name": "Calibration Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -512,
        640
      ]
    },
    {
      "id": "bed49d06-a8f5-425a-bfd8-41f113d0b0c7",
      "name": "Performance Signal Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1088,
        432
      ]
    },
    {
      "id": "66e8da1d-4c65-4720-90dd-11da22e1160b",
      "name": "Calibration Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -736,
        432
      ]
    },
    {
      "id": "2e44d957-7ee5-4cf8-81c8-55ceaf58cbc5",
      "name": "Governance Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1472,
        192
      ]
    },
    {
      "id": "15f1f293-f07e-4ec5-9a0d-9ca9245ae452",
      "name": "Route by Decision",
      "type": "n8n-nodes-base.switch",
      "position": [
        -576,
        160
      ]
    },
    {
      "id": "840e4f73-9f5e-4440-96c6-f836eb0e9c6e",
      "name": "Store Approved Promotions",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        -48,
        144
      ]
    },
    {
      "id": "b396915b-db2a-469b-8299-ee557e3bb7d5",
      "name": "Store Rejected Cases",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        -160,
        256
      ]
    },
    {
      "id": "09e83bdc-43f2-48b9-9337-6d673e4c1aae",
      "name": "Wait for HR Review",
      "type": "n8n-nodes-base.wait",
      "position": [
        48,
        512
      ]
    },
    {
      "id": "3000129c-ce9f-452e-acbc-66df8bc81ed5",
      "name": "Send HR Escalation Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        448,
        512
      ]
    },
    {
      "id": "785c85d8-8492-4162-84fe-949090ba7871",
      "name": "Merge All Outcomes",
      "type": "n8n-nodes-base.merge",
      "position": [
        224,
        160
      ]
    },
    {
      "id": "2f80270c-8b98-424e-ad07-a66e7acbd7d0",
      "name": "Store Audit Trail",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        416,
        176
      ]
    },
    {
      "id": "353c8c26-a14d-4351-baf8-3fa799b3f4b0",
      "name": "Policy Compliance Checker Tool",
      "type": "@n8n/n8n-nodes-langchain.toolCode",
      "position": [
        -448,
        432
      ]
    },
    {
      "id": "710c21a4-a6ec-4072-9c50-40df816826a1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1184,
        -288
      ],
      "parameters": {
        "width": 480,
        "height": 352,
        "content": "## Prerequisites\nAPI key, performance management system data access, Gmail account with app password\n## Use Cases\nAnnual performance review calibration, promotion decision validation\n## Customization\n"
      }
    },
    {
      "id": "4c4bc85f-b344-4577-8a39-18c9517520ef",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1616,
        -176
      ],
      "parameters": {
        "width": 368,
        "height": 272,
        "content": "## Setup Steps\n1. Configure API credentials with Llama-3.1-70B-Instruct model access\n2. Set up schedule trigger aligned with review cycles (quarterly/annual)\n3. Configure decision routing logic for ap"
      }
    },
    {
      "id": "02bfea25-75d8-4a7a-b0b7-dd7bca142632",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2288,
        -176
      ],
      "parameters": {
        "width": 608,
        "height": 272,
        "content": "## How It Works\nThis workflow automates performance governance and policy compliance monitoring for HR leaders, talent managers, and organizational development teams across enterprises. It solves the "
      }
    },
    {
      "id": "8d780832-91bd-40e6-97a5-8a628b050ab3",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -768,
        96
      ],
      "parameters": {
        "width": 1392,
        "height": 768,
        "content": "## Calibration Analysis \nMaintains organizational fairness and prevents manager bias from creating inequitable outcomes."
      }
    },
    {
      "id": "238fd13f-e6c3-4a04-8fd0-cbac06d23e0a",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1184,
        112
      ],
      "parameters": {
        "width": 400,
        "height": 784,
        "content": "## Performance Validation \nEnsures decisions rest on accurate, defensible evidence that withstands scrutiny during disputes."
      }
    },
    {
      "id": "b6a524b6-360b-4d93-8e17-1724d0127b92",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2320,
        112
      ],
      "parameters": {
        "width": 1104,
        "height": 416,
        "content": "## Governance Assessment\nIdentifies rating inconsistencies and bias patterns requiring intervention before decisions become final."
      }
    }
  ],
  "connections": {
    "Governance Agent": {
      "main": [
        [
          {
            "node": "Route by Decision",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Decision": {
      "main": [
        [
          {
            "node": "Store Approved Promotions",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Store Rejected Cases",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait for HR Review",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge All Outcomes": {
      "main": [
        [
          {
            "node": "Store Audit Trail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for HR Review": {
      "main": [
        [
          {
            "node": "Send HR Escalation Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Rejected Cases": {
      "main": [
        [
          {
            "node": "Merge All Outcomes",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Calibration Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Performance Data": {
      "main": [
        [
          {
            "node": "Governance Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Fetch Performance Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Policy Rules",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send HR Escalation Email": {
      "main": [
        [
          {
            "node": "Merge All Outcomes",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Calibration Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Calibration Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Store Approved Promotions": {
      "main": [
        [
          {
            "node": "Merge All Outcomes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Performance Signal Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Policy Compliance Checker Tool": {
      "ai_tool": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Governance Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Calibration Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Calibration Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Performance Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Performance Signal Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Governance Decision Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Performance Validation Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Performance Signal Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}