{
  "name": "Monitor daily HR risks and standup summaries with Monday.com and GPT-4o-mini",
  "nodes": [
    {
      "id": "d8e51aa5-4e2e-43ae-b9b8-1609433235c7",
      "name": "Daily Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        912,
        48
      ]
    },
    {
      "id": "02da8712-1458-4ecb-8f29-7db9acd82d4e",
      "name": "Get HR Tasks",
      "type": "n8n-nodes-base.mondayCom",
      "position": [
        1104,
        48
      ]
    },
    {
      "id": "6990340d-bbba-4b76-8112-822c4460721d",
      "name": "Filter Active Tasks",
      "type": "n8n-nodes-base.code",
      "position": [
        1312,
        48
      ]
    },
    {
      "id": "67dc4656-f58a-4cf3-96ed-bdf9055fa910",
      "name": "Transform Tasks",
      "type": "n8n-nodes-base.code",
      "position": [
        1504,
        48
      ]
    },
    {
      "id": "1d9a50e7-6027-448b-a4c6-38bb8faf8821",
      "name": "Build HR Metrics",
      "type": "n8n-nodes-base.code",
      "position": [
        1712,
        48
      ]
    },
    {
      "id": "f63f0bc6-b7c1-4d53-ab33-29a6e9e81ceb",
      "name": "Any HR Risks?",
      "type": "n8n-nodes-base.if",
      "position": [
        1936,
        48
      ]
    },
    {
      "id": "17b4f20f-50e8-4037-833f-a4c8f9d5ae5f",
      "name": "AI Risk Report",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2176,
        -80
      ]
    },
    {
      "id": "04ff3e39-4eb5-46af-9573-ec843d641108",
      "name": "AI Daily Summary",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        2176,
        160
      ]
    },
    {
      "id": "69f0cb86-e9e9-47af-839a-d270f876e242",
      "name": "Escalation Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2480,
        -80
      ]
    },
    {
      "id": "da374b3a-f617-40e2-b58a-7c208ec7f2ad",
      "name": "Daily HR Summary Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2512,
        160
      ]
    },
    {
      "id": "e8fd7108-f951-4946-945d-1af775737e37",
      "name": "Workflow overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        112,
        -848
      ],
      "parameters": {
        "width": 572,
        "height": 652,
        "content": "## Workflow Overview\n\n\n## How it works\n\nThis workflow monitors active HR tasks from Monday.com and turns them into actionable daily intelligence. It runs on a schedule and fetches all ongoing HR-relat"
      }
    },
    {
      "id": "15c8975f-f533-4237-a645-ce6c9427a4ca",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        -160
      ],
      "parameters": {
        "width": 384,
        "height": 384,
        "content": "### Trigger and Data Source\n\nThis workflow runs daily and fetches active HR tasks from Monday.com.\n"
      }
    },
    {
      "id": "2949157a-5500-41f1-860b-35deee4e59af",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1280,
        -160
      ],
      "parameters": {
        "width": 352,
        "height": 384,
        "content": "### Task filtering and preparation\n\nFilters out completed tasks and prepares HR task data for analysis.\n"
      }
    },
    {
      "id": "20d6f166-3740-49c6-8565-40e080cc4434",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1648,
        -160
      ],
      "parameters": {
        "width": 448,
        "height": 384,
        "content": "### Risk Detection and Metrics\n\nChecks for overdue, stuck, and unassigned tasks and builds HR risk metrics.\n"
      }
    },
    {
      "id": "6f93321d-5c99-43ee-9a2d-88ad3906dd93",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2128,
        -272
      ],
      "parameters": {
        "width": 544,
        "height": 624,
        "content": "### AI analysis and decision\n\nUses AI to decide whether there are HR risks or a normal daily update. And \nsends escalation emails if risks exist or a daily summary if everything is on track."
      }
    }
  ],
  "connections": {
    "Get HR Tasks": {
      "main": [
        [
          {
            "node": "Filter Active Tasks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Any HR Risks?": {
      "main": [
        [
          {
            "node": "AI Risk Report",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI Daily Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Trigger": {
      "main": [
        [
          {
            "node": "Get HR Tasks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Risk Report": {
      "main": [
        [
          {
            "node": "Escalation Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transform Tasks": {
      "main": [
        [
          {
            "node": "Build HR Metrics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Daily Summary": {
      "main": [
        [
          {
            "node": "Daily HR Summary Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build HR Metrics": {
      "main": [
        [
          {
            "node": "Any HR Risks?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Active Tasks": {
      "main": [
        [
          {
            "node": "Transform Tasks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}