{
  "name": "Real-time gaming strategy coach with Telegram & GPT-4o Vision",
  "nodes": [
    {
      "id": "bc671547-46a7-4d0b-880e-12e7d68b4cb6",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -1500,
        -1080
      ]
    },
    {
      "id": "59be08b5-15d6-4fb1-aebe-651854d79f7a",
      "name": "User Authentication (Replace Telegram ID)",
      "type": "n8n-nodes-base.code",
      "position": [
        -1140,
        -1080
      ]
    },
    {
      "id": "c8bf03ac-4d38-4be0-8043-412070b6ca9a",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        620,
        -740
      ]
    },
    {
      "id": "c857ee49-8c59-4fa8-89ee-ff958aea3d2d",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        320,
        -740
      ]
    },
    {
      "id": "47914f9f-379b-4092-bb48-f8302e994cb7",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1180,
        -1060
      ]
    },
    {
      "id": "374bef7a-954b-4ef0-ac52-582034bbba48",
      "name": "Gaming AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        660,
        -1060
      ]
    },
    {
      "id": "706b20e5-3c57-4ae9-b548-89eb9813f0f7",
      "name": "OpenAI4",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        120,
        -1720
      ]
    },
    {
      "id": "bc2e1fcd-8be3-4117-aa77-10170d208c3f",
      "name": "Get Image Info",
      "type": "n8n-nodes-base.editImage",
      "position": [
        -240,
        -1720
      ]
    },
    {
      "id": "3c39b6d2-8fde-4f75-81b6-21f4fcac0509",
      "name": "OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -80,
        -1280
      ]
    },
    {
      "id": "aebd6674-f866-4947-a103-d3e57b6fc2ea",
      "name": "Set Message",
      "type": "n8n-nodes-base.set",
      "position": [
        300,
        -1060
      ]
    },
    {
      "id": "a2041a7b-faf5-4383-a165-676bf6835fdf",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1480,
        -2320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e8bdad22-d679-47b4-afd4-3679b30ef2cd",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1580,
        -1260
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "5e4ff616-0bf9-4ab0-a93c-92892ead9e14",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1200,
        -1260
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "dff37ea9-5cbb-46ce-b38e-fc43a813297a",
      "name": "Message Format Selector",
      "type": "n8n-nodes-base.switch",
      "position": [
        -800,
        -1080
      ]
    },
    {
      "id": "ca441e6c-1c6a-429a-ad7e-4eb0ed231dc5",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -900,
        -1260
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2dca1b8e-3066-4eeb-8952-94c65eb77406",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        -2120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "9fcb311f-930c-4709-ae47-f122615e6129",
      "name": "Telegram Image Download",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -580,
        -1720
      ]
    },
    {
      "id": "61bd4a0b-467d-4875-8794-16b5d25f2307",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -540,
        -1520
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ff0643fa-1065-460b-a166-03785a9c55d0",
      "name": "Telegram Sound Download",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -460,
        -1280
      ]
    },
    {
      "id": "27f4f469-d159-4850-b717-0f91e423401f",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        200,
        -1260
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2906b7a2-924e-4859-902e-f0581bb669f2",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        -1260
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "62abc5c4-5ebe-4413-9629-306372873e01",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -780
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6abaac04-f551-456d-b6b4-aa26c022effa",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1100,
        -1260
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8a4f5666-5346-477b-b9d8-d6ae9326a208",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        -780
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "OpenAI2": {
      "main": [
        [
          {
            "node": "Set Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI4": {
      "main": [
        [
          {
            "node": "Set Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Message": {
      "main": [
        [
          {
            "node": "Gaming AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Gaming AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Get Image Info": {
      "main": [
        [
          {
            "node": "OpenAI4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gaming AI Agent": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "User Authentication (Replace Telegram ID)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Gaming AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Message Format Selector": {
      "main": [
        [
          {
            "node": "Telegram Image Download",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Telegram Sound Download",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Image Download": {
      "main": [
        [
          {
            "node": "Get Image Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Sound Download": {
      "main": [
        [
          {
            "node": "OpenAI2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "User Authentication (Replace Telegram ID)": {
      "main": [
        [
          {
            "node": "Message Format Selector",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}