{
  "name": "SprintLead · Monthly Colorado business formations",
  "nodes": [
    {
      "parameters": {},
      "id": "02604fc7-afa2-4830-84aa-fe704137e11c",
      "name": "Manual trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "url": "https://data.colorado.gov/resource/4ykn-tg5h.json",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "$select",
              "value": "date_trunc_ym(entityformdate) as month, count(*) as formations"
            },
            {
              "name": "$where",
              "value": "upper(principalcity)='DENVER' AND principalstate='CO' AND entitytype in ('DLLC','DPC') AND entityformdate between '2026-01-01T00:00:00' and '2026-11-30T23:59:59'"
            },
            {
              "name": "$group",
              "value": "date_trunc_ym(entityformdate)"
            },
            {
              "name": "$order",
              "value": "month ASC"
            }
          ]
        },
        "options": {}
      },
      "id": "fc2055c5-cbbb-488a-a54c-44b034da4524",
      "name": "Count formations by month",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        260,
        0
      ]
    }
  ],
  "connections": {
    "Manual trigger": {
      "main": [
        [
          {
            "node": "Count formations by month",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  }
}
