{
  "name": "Airbnb Telegram agent - AI-powered accommodation search with voice support",
  "nodes": [
    {
      "id": "380df1f8-7d7a-4c50-abd3-cf31b09084e1",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -540,
        320
      ]
    },
    {
      "id": "209d3ae6-19c5-455a-88fd-72ebd2ee0807",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -660,
        320
      ]
    },
    {
      "id": "c04d2f36-b275-45de-850e-35046a0e21f0",
      "name": "Airbnb MCP Client - List Tools",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        -420,
        320
      ]
    },
    {
      "id": "6d71b756-431e-4970-a7bf-b5f7f190cc5f",
      "name": "Airbnb MCP Client - Execute Tools",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        -300,
        320
      ]
    },
    {
      "id": "3103776d-b39e-431e-a72d-cbaf5dc70ef7",
      "name": "Airbnb Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -568,
        100
      ]
    },
    {
      "id": "3860e787-78a7-4211-a7c3-f4b3fcf4fb60",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -1540,
        100
      ]
    },
    {
      "id": "442e9229-5576-4193-a629-b7343eb62f1b",
      "name": "Text or Voice",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1320,
        100
      ]
    },
    {
      "id": "6ecbc049-1c0d-4e93-886a-6a99f584dfd3",
      "name": "Get Voice Message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -1100,
        200
      ]
    },
    {
      "id": "c88de1a5-d775-467d-99ba-ee2bba985109",
      "name": "Prepare Text Message for AI Agent",
      "type": "n8n-nodes-base.set",
      "position": [
        -880,
        0
      ]
    },
    {
      "id": "ffb9dfef-5b76-446f-9b4f-cb6ea1766375",
      "name": "Send Text Response",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -22,
        0
      ]
    },
    {
      "id": "afbe65f9-8576-4217-8eea-4413a8aa8657",
      "name": "Send Voice Response",
      "type": "n8n-nodes-base.telegram",
      "position": [
        496,
        200
      ]
    },
    {
      "id": "e1171f41-47e0-4821-80fa-d1350c6b6d99",
      "name": "Create Voice Response",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        276,
        200
      ]
    },
    {
      "id": "c31a642c-068f-4b63-ac89-4530377f8a52",
      "name": "Summarize Response for Voice",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -100,
        200
      ]
    },
    {
      "id": "598891da-ece9-4ef1-a3a7-bcc11ab31d19",
      "name": "Transcribe Voice Message",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -880,
        200
      ]
    },
    {
      "id": "5b9a2516-4b8e-42c2-869d-1f8d85d279ba",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2620,
        -480
      ],
      "parameters": {
        "width": 1040,
        "height": 1280,
        "content": "# Welcome to my Airbnb Telegram Agent Workflow!\n\n## This workflow has the following sequence:\n\n1. **Telegram Trigger** - Receives incoming messages (text or voice) from Telegram users\n2. **Text or Voi"
      }
    }
  ],
  "connections": {
    "Airbnb Agent": {
      "main": [
        [
          {
            "node": "Send Text Response",
            "type": "main",
            "index": 0
          },
          {
            "node": "Summarize Response for Voice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Airbnb Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Text or Voice": {
      "main": [
        [
          {
            "node": "Prepare Text Message for AI Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get Voice Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Text or Voice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Voice Message": {
      "main": [
        [
          {
            "node": "Transcribe Voice Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Airbnb Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Summarize Response for Voice",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Create Voice Response": {
      "main": [
        [
          {
            "node": "Send Voice Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe Voice Message": {
      "main": [
        [
          {
            "node": "Airbnb Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarize Response for Voice": {
      "main": [
        [
          {
            "node": "Create Voice Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Airbnb MCP Client - List Tools": {
      "ai_tool": [
        [
          {
            "node": "Airbnb Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Airbnb MCP Client - Execute Tools": {
      "ai_tool": [
        [
          {
            "node": "Airbnb Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Text Message for AI Agent": {
      "main": [
        [
          {
            "node": "Airbnb Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}