{
  "name": "Weekly Subscription Audit",
  "nodes": [
    {
      "name": "Every Sunday 9am",
      "type": "n8n-nodes-base.cron",
      "position": [0, 0],
      "parameters": {
        "triggerTimes": {
          "item": [
            { "hour": 9, "dayOfWeek": "0" }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "name": "Run Audit",
      "type": "n8n-nodes-base.httpRequest",
      "position": [200, 0],
      "parameters": {
        "url": "http://192.168.7.6:18789/hooks/agent",
        "method": "POST",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "task",
              "value": "Run ~/.openclaw/scripts/subscription-audit.py and parse the JSON output. If should_alert is true, send the alert_message to Brandon via Signal. Otherwise send the summary_message. State is stored locally in ~/.openclaw/data/finance/subscriptions.json"
            }
          ]
        },
        "options": { "timeout": 120000 }
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Every Sunday 9am": { "main": [[{ "node": "Run Audit", "type": "main", "index": 0 }]] }
  },
  "settings": { "timezone": "America/Denver" },
  "active": false
}
