{
  "name": "Travel AI agent - AI-powered travel planner",
  "nodes": [
    {
      "id": "e282caed-17f8-46a6-98e6-43174d503767",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        80,
        1140
      ]
    },
    {
      "id": "b22977cd-db3e-44cb-8ed9-40a1f9f5480c",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        280,
        1140
      ]
    },
    {
      "id": "e078357a-a492-4626-90ae-7708a076f5ae",
      "name": "Information Extractor",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        780,
        1040
      ]
    },
    {
      "id": "645fe2b2-c159-4da6-9262-94383a2c892a",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        720,
        1240
      ]
    },
    {
      "id": "287b6783-44d7-408d-9ccf-b8f71222b1c5",
      "name": "Search Flights",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1140,
        1040
      ]
    },
    {
      "id": "712856af-4000-45a8-82c2-f11ecce33747",
      "name": "Search Hotels",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1360,
        1040
      ]
    },
    {
      "id": "a1f0a29a-57da-4a78-a62e-f93121cc2850",
      "name": "Window Buffer Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1200,
        1540
      ]
    },
    {
      "id": "f7ee2b46-7784-4d97-8ffe-03c378182cbf",
      "name": "Response",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1500,
        1320
      ]
    },
    {
      "id": "d79de847-7dcc-469b-865a-f5bc7b783aa1",
      "name": "Business Travel Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1120,
        1320
      ]
    },
    {
      "id": "6bdfef15-9adc-4f1e-9586-e21a6e108974",
      "name": "DeepSeek Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatDeepSeek",
      "position": [
        980,
        1520
      ]
    },
    {
      "id": "8a998006-7b84-4df8-9c0c-fa572a5c5534",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1440,
        520
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "03f2d4b8-9a17-43d0-84a0-07f90f8fa976",
      "name": "Verify Message Type",
      "type": "n8n-nodes-base.switch",
      "position": [
        -220,
        1060
      ]
    },
    {
      "id": "82622840-2201-4aac-b672-e0a4f090324e",
      "name": "Unsupported Message Type",
      "type": "n8n-nodes-base.telegram",
      "position": [
        60,
        1440
      ]
    },
    {
      "id": "032b3ce4-71d8-4416-a649-d00798fe49e6",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        200,
        860
      ]
    },
    {
      "id": "59dbda3d-931c-4724-ac2a-182824048259",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -580,
        1040
      ]
    },
    {
      "id": "4019d069-94ef-451b-bd6a-5175b66756ff",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        520,
        1040
      ]
    }
  ],
  "connections": {
    "OpenAI": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram": {
      "main": [
        [
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Information Extractor",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Hotels": {
      "main": [
        [
          {
            "node": "Business Travel Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Flights": {
      "main": [
        [
          {
            "node": "Search Hotels",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Verify Message Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Information Extractor",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "DeepSeek Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Business Travel Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Verify Message Type": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Unsupported Message Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory": {
      "ai_memory": [
        [
          {
            "node": "Business Travel Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Business Travel Agent": {
      "main": [
        [
          {
            "node": "Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Information Extractor": {
      "main": [
        [
          {
            "node": "Search Flights",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}