{
  "name": "Generate DraftKings DFS lineups with GPT-4o, Google Sheets, email and Slack alerts",
  "nodes": [
    {
      "id": "08f970e6-d53b-474a-8473-8bb4ba41e383",
      "name": "Daily DFS Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -192,
        616
      ]
    },
    {
      "id": "ce8b9528-a620-40d0-9d2a-6f33d021eaab",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        32,
        616
      ]
    },
    {
      "id": "08f82169-2312-4bec-92de-e3a28b59d2e3",
      "name": "DraftKings Contest Scraper",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        288,
        608
      ]
    },
    {
      "id": "7ed53c16-4b17-47ea-b682-36a8055de734",
      "name": "Normalize Contest Data",
      "type": "n8n-nodes-base.set",
      "position": [
        480,
        616
      ]
    },
    {
      "id": "a638e7b1-05a2-4f2d-b2d6-90f697b902fe",
      "name": "Contest Filter: Entry Fee & Prize Pool",
      "type": "n8n-nodes-base.if",
      "position": [
        704,
        616
      ]
    },
    {
      "id": "d05ce4dc-7965-445a-a30c-43a85fa67e9c",
      "name": "Contest Filter: Start Time",
      "type": "n8n-nodes-base.if",
      "position": [
        928,
        544
      ]
    },
    {
      "id": "c178ab68-6ffd-4bdf-853d-02013b291edc",
      "name": "Fetch Player Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1152,
        496
      ]
    },
    {
      "id": "2580e714-6248-4c35-bc0b-d9f6f105382c",
      "name": "Normalize Player Data",
      "type": "n8n-nodes-base.set",
      "position": [
        1376,
        496
      ]
    },
    {
      "id": "162b464b-94d9-44ad-91ca-9a283a9ff569",
      "name": "Calculate Player Value",
      "type": "n8n-nodes-base.code",
      "position": [
        1600,
        496
      ]
    },
    {
      "id": "1c8b5eaf-3da5-48ae-bcd6-253e6a6eaa03",
      "name": "OpenAI GPT-4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1896,
        720
      ]
    },
    {
      "id": "bb7a65ce-7f0d-44a2-ab78-027205dbd46a",
      "name": "AI Lineup Generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1824,
        496
      ]
    },
    {
      "id": "e2175327-c305-4d3a-9f29-e50d3b5048ce",
      "name": "Log Lineups to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2176,
        496
      ]
    },
    {
      "id": "a7102c0d-6c49-4423-b3bb-d3e902ef45dc",
      "name": "Email Lineups to Subscribers",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        2400,
        496
      ]
    },
    {
      "id": "59a5009f-e2ce-42ae-b9d8-996f133895ac",
      "name": "Notify Team on Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        2624,
        496
      ]
    },
    {
      "id": "22c49bdc-ccc1-409c-b5ed-2a522d477c12",
      "name": "Log Skipped Contests",
      "type": "n8n-nodes-base.set",
      "position": [
        1152,
        712
      ]
    },
    {
      "id": "2514fb0c-8374-437f-bfb8-e0d2456484f5",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        432
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "b369cdc1-2f92-4a64-9175-403395970edb",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        256,
        432
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6376fa34-db29-4307-9e16-fc17cb55ca8b",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1568,
        432
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "43f2ff0f-93c1-42fd-ba36-2754c4773c43",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2144,
        432
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "65c69ad7-afa3-4faf-9a52-039f655891bd",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -528,
        448
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "OpenAI GPT-4": {
      "ai_languageModel": [
        [
          {
            "node": "AI Lineup Generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Player Data": {
      "main": [
        [
          {
            "node": "Normalize Player Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily DFS Schedule": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Lineup Generator": {
      "main": [
        [
          {
            "node": "Log Lineups to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Player Data": {
      "main": [
        [
          {
            "node": "Calculate Player Value",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Player Value": {
      "main": [
        [
          {
            "node": "AI Lineup Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Contest Data": {
      "main": [
        [
          {
            "node": "Contest Filter: Entry Fee & Prize Pool",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "DraftKings Contest Scraper",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Contest Filter: Start Time": {
      "main": [
        [
          {
            "node": "Fetch Player Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Log Skipped Contests",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DraftKings Contest Scraper": {
      "main": [
        [
          {
            "node": "Normalize Contest Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Lineups to Subscribers": {
      "main": [
        [
          {
            "node": "Notify Team on Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Lineups to Google Sheets": {
      "main": [
        [
          {
            "node": "Email Lineups to Subscribers",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Contest Filter: Entry Fee & Prize Pool": {
      "main": [
        [
          {
            "node": "Contest Filter: Start Time",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Log Skipped Contests",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}