{
  "name": "Compile the matters & obligations report",
  "nodes": [
    {
      "id": "1000",
      "name": "Weekly schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1,
      "position": [
        240,
        300
      ],
      "parameters": {},
      "notes": "Every Friday 16:00"
    },
    {
      "id": "1001",
      "name": "Get matters",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        460,
        300
      ],
      "parameters": {},
      "notes": "Pull open matters from the matter tracker: status, owner, stage, next deadline."
    },
    {
      "id": "1002",
      "name": "Get obligations",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 2,
      "position": [
        680,
        300
      ],
      "parameters": {},
      "notes": "Read the obligations register: deliverable, contract, due date, owner."
    },
    {
      "id": "1003",
      "name": "Roll up",
      "type": "n8n-nodes-base.code",
      "typeVersion": 1,
      "position": [
        900,
        300
      ],
      "parameters": {},
      "notes": "Group matters by stage; surface every obligation or deadline due in the next 14 days and anything already overdue."
    },
    {
      "id": "1004",
      "name": "Write report",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 2,
      "position": [
        1120,
        300
      ],
      "parameters": {},
      "notes": "Write the roster plus a 'Due soon' and 'Overdue' block to the Legal Status sheet."
    },
    {
      "id": "1005",
      "name": "Post summary",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 1,
      "position": [
        1340,
        300
      ],
      "parameters": {},
      "notes": "Post open matters by stage and the due-soon / overdue items to #legal."
    }
  ],
  "connections": {
    "Weekly schedule": { "main": [[{ "node": "Get matters", "type": "main", "index": 0 }]] },
    "Get matters": { "main": [[{ "node": "Get obligations", "type": "main", "index": 0 }]] },
    "Get obligations": { "main": [[{ "node": "Roll up", "type": "main", "index": 0 }]] },
    "Roll up": { "main": [[{ "node": "Write report", "type": "main", "index": 0 }]] },
    "Write report": { "main": [[{ "node": "Post summary", "type": "main", "index": 0 }]] }
  },
  "meta": {
    "generatedBy": "Spion"
  }
}
