{
  "name": "Build the weekly support metrics report",
  "nodes": [
    {
      "id": "1000",
      "name": "Weekly schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1,
      "position": [240, 300],
      "parameters": {},
      "notes": "Every Monday 07:00"
    },
    {
      "id": "1001",
      "name": "Get ticket metrics",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [460, 300],
      "parameters": {},
      "notes": "Pull last week's tickets from Zendesk: volume, first-response time, resolution time, reopens, by channel and category."
    },
    {
      "id": "1002",
      "name": "Get CSAT",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 2,
      "position": [680, 300],
      "parameters": {},
      "notes": "Read last week's CSAT scores from the CSAT log."
    },
    {
      "id": "1003",
      "name": "Roll up",
      "type": "n8n-nodes-base.code",
      "typeVersion": 1,
      "position": [900, 300],
      "parameters": {},
      "notes": "Compute volume, median FRT, CSAT, backlog, and the top categories; flag any metric worse than last week's by more than 10%."
    },
    {
      "id": "1004",
      "name": "Write report",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 2,
      "position": [1120, 300],
      "parameters": {},
      "notes": "Append the week's row to the Support Metrics sheet and refresh the trend block."
    },
    {
      "id": "1005",
      "name": "Post summary",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 1,
      "position": [1340, 300],
      "parameters": {},
      "notes": "Post the headline metrics and any 10%+ movers to #support."
    }
  ],
  "connections": {
    "Weekly schedule": { "main": [[{ "node": "Get ticket metrics", "type": "main", "index": 0 }]] },
    "Get ticket metrics": { "main": [[{ "node": "Get CSAT", "type": "main", "index": 0 }]] },
    "Get CSAT": { "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" }
}
