{
  "name": "09 · HR & Recruiting / Performance Review Collector",
  "active": false,
  "nodes": [
    {
      "id": "11d51c53-5033-4f8f-be88-5a719cf0144e",
      "name": "📘 Guide",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -640,
        -120
      ],
      "parameters": {
        "content": "## 09 · HR & Recruiting · Performance Review Collector\n\n### What this does\nKicks review cycles, gathers peer feedback, summarizes themes for managers.\n\n### Setup checklist\n1. Employee directory\n2. Form tool\n3. LLM summarizer\n\n### How to test locally\nPOST `hr-perf-review` to start a cycle.\n\n### Tips\n- Keep credentials in n8n Credentials (never hardcode secrets).\n- Use **Test URL** on the Webhook while developing.\n- Activate only after credentials + destinations are configured.\n",
        "width": 560,
        "height": 560,
        "color": 5
      }
    },
    {
      "id": "38e2a120-d5b0-4f89-bcc6-9402cad63f99",
      "name": "⚙️ Config",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -640,
        480
      ],
      "parameters": {
        "content": "## Config map\n\n- **Webhook path:** `hr-perf-review`\n- **Replace** all `https://httpbin.org/...` calls with real integrations.\n- **Credentials:** create in n8n → Credentials, then select on HTTP nodes.\n- **Activate** workflow only after a successful Test execution.\n\n### Local files\nShared host folder is mounted at `/files` inside n8n.",
        "width": 560,
        "height": 320,
        "color": 2
      }
    },
    {
      "id": "7c7abea9-c3ed-4cd2-9ae9-9c7eeb8573c5",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        200
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 120
            }
          ]
        }
      }
    },
    {
      "id": "7002d062-e651-42a5-afde-026d133e457d",
      "name": "Collect & Rank",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        280,
        200
      ],
      "parameters": {
        "mode": "runOnceForAllItems",
        "language": "javaScript",
        "jsCode": "const items = [\n  { title: 'Signal Alpha', score: 92 },\n  { title: 'Signal Beta', score: 71 },\n  { title: 'Signal Gamma', score: 88 },\n].sort((a,b)=>b.score-a.score);\nreturn [{ json: { workflow: 'Performance Review Collector', generatedAt: new Date().toISOString(), top: items, html: '<h1>Performance Review Collector</h1><ul>' + items.map(i=>`<li>${i.title} (${i.score})</li>`).join('') + '</ul>' } }];"
      }
    },
    {
      "id": "33488b07-b8d3-4b2a-9c37-270259f6710b",
      "name": "Deliver Digest",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        560,
        200
      ],
      "parameters": {
        "method": "POST",
        "url": "https://httpbin.org/post",
        "options": {},
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify($json) }}"
      }
    }
  ],
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Collect & Rank",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Collect & Rank": {
      "main": [
        [
          {
            "node": "Deliver Digest",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "callerPolicy": "workflowsFromSameOwner"
  },
  "tags": [],
  "meta": {
    "templateCredsSetupCompleted": true,
    "description": "Kicks review cycles, gathers peer feedback, summarizes themes for managers."
  },
  "pinData": {}
}