{
  "name": "Daily MLB pitcher vs. batter matchup analysis with Google Sheets and Telegram",
  "nodes": [
    {
      "id": "9a8548ad-12f1-41a7-9226-c8d06806b7b2",
      "name": "3. Extract All Player IDs",
      "type": "n8n-nodes-base.code",
      "position": [
        32,
        -128
      ]
    },
    {
      "id": "a0e5e8f0-e2fe-415e-92f4-cb4e29a6fd72",
      "name": "4. Get Batched Player Stats",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        256,
        -128
      ]
    },
    {
      "id": "ff23a51f-3dc8-4b85-97b0-611e0bb6a304",
      "name": "2. Get Daily Games",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -176,
        -128
      ]
    },
    {
      "id": "32ccdb2c-0b9d-4af4-9590-c58b9902c31c",
      "name": "5. Create Final Matchup Rows",
      "type": "n8n-nodes-base.code",
      "position": [
        496,
        -128
      ]
    },
    {
      "id": "73bac962-fa64-45dc-86bd-671a17488992",
      "name": "6.  Filter for Top Matchups",
      "type": "n8n-nodes-base.code",
      "position": [
        736,
        -128
      ]
    },
    {
      "id": "7d9f19aa-a8a6-4f50-8462-0cad13de6e9c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        -368
      ],
      "parameters": {
        "width": 2316,
        "height": 500,
        "content": "Hits"
      }
    },
    {
      "id": "38b3c276-1d1e-4ea5-8427-ddb9f6591bbe",
      "name": "Column Order",
      "type": "n8n-nodes-base.code",
      "position": [
        944,
        -128
      ]
    },
    {
      "id": "09b74296-10fa-43a4-8fb4-65a017dd9f78",
      "name": "9am Clear",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -400,
        -304
      ]
    },
    {
      "id": "31005912-843f-4c2f-8614-c92c00404fb8",
      "name": "11:02 - 8:02",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -384,
        -128
      ]
    },
    {
      "id": "e7d4e4e6-09f1-4ce0-820c-a60cd795a858",
      "name": "Notes: MLB Hits",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        288,
        -848
      ],
      "parameters": {
        "width": 752,
        "height": 656,
        "content": "MLB \"Hits\" Workflow — Overview\n• Pulls today's MLB schedule incl. probablePitcher + lineups (statsapi.mlb.com)\n• Batches season stats for all involved players\n• Builds pitcher vs. batter matchup rows\n"
      }
    },
    {
      "id": "6ef30ef8-0023-42bc-b322-2fffd650894b",
      "name": "8.  21 Hitters",
      "type": "n8n-nodes-base.code",
      "position": [
        1408,
        -128
      ]
    },
    {
      "id": "5d726f93-c7f4-42d6-b0a0-c0ff8abc159b",
      "name": "Clear your Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -176,
        -304
      ]
    },
    {
      "id": "29d5c57d-4f31-4fcd-aea0-865341d60d9c",
      "name": "7. Update Your Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1168,
        -128
      ]
    },
    {
      "id": "e9c4377c-93c9-4286-b567-e233e5e65014",
      "name": "9. sendToTelegramChatbot",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1600,
        -128
      ]
    }
  ],
  "connections": {
    "9am Clear": {
      "main": [
        [
          {
            "node": "Clear your Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "11:02 - 8:02": {
      "main": [
        [
          {
            "node": "2. Get Daily Games",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Column Order": {
      "main": [
        [
          {
            "node": "7. Update Your Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8.  21 Hitters": {
      "main": [
        [
          {
            "node": "9. sendToTelegramChatbot",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2. Get Daily Games": {
      "main": [
        [
          {
            "node": "3. Extract All Player IDs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7. Update Your Sheet": {
      "main": [
        [
          {
            "node": "8.  21 Hitters",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3. Extract All Player IDs": {
      "main": [
        [
          {
            "node": "4. Get Batched Player Stats",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4. Get Batched Player Stats": {
      "main": [
        [
          {
            "node": "5. Create Final Matchup Rows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6.  Filter for Top Matchups": {
      "main": [
        [
          {
            "node": "Column Order",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5. Create Final Matchup Rows": {
      "main": [
        [
          {
            "node": "6.  Filter for Top Matchups",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}