{
  "name": "Create personalized city trip itineraries with Telegram Bot & GPT-4o",
  "nodes": [
    {
      "id": "39455ee5-3d68-4db1-acac-696f98157c43",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -528,
        912
      ],
      "parameters": {
        "width": null,
        "height": 480,
        "content": "### Different prompts for different cases"
      }
    },
    {
      "id": "a25e132c-635f-4876-8013-17d7388ecbd6",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        1008
      ],
      "parameters": {
        "width": 384,
        "height": 272,
        "content": "## Generates and sends message  to Telegram"
      }
    },
    {
      "id": "19fe166b-5fdb-421e-bbe2-4759f2a19f0b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        912
      ],
      "parameters": {
        "width": 608,
        "height": 480,
        "content": "## Prompts for different request templates"
      }
    },
    {
      "id": "67a24ff6-111c-4e73-b4fd-e89f2be569c8",
      "name": "any other promt",
      "type": "n8n-nodes-base.set",
      "position": [
        240,
        1104
      ]
    },
    {
      "id": "8a1a5adf-901d-4fdd-af71-cfcc5ca7ef08",
      "name": "cozy promt",
      "type": "n8n-nodes-base.set",
      "position": [
        112,
        976
      ]
    },
    {
      "id": "fc18a929-fd85-425c-86b4-f7070dde9758",
      "name": "extreme promt",
      "type": "n8n-nodes-base.set",
      "position": [
        -16,
        976
      ]
    },
    {
      "id": "ec0b727a-d33f-404b-bc9b-a5471fdd8928",
      "name": "family promt",
      "type": "n8n-nodes-base.set",
      "position": [
        -144,
        976
      ]
    },
    {
      "id": "62e9b5c4-fc86-4b56-be3a-7cd262cba259",
      "name": "budget promt",
      "type": "n8n-nodes-base.set",
      "position": [
        112,
        1104
      ]
    },
    {
      "id": "d13e599d-5687-4229-940d-909fe57fcd1b",
      "name": "luxury promt",
      "type": "n8n-nodes-base.set",
      "position": [
        -16,
        1104
      ]
    },
    {
      "id": "9dd42ca0-8774-4e47-a611-bc2ecd645831",
      "name": "cultural promt",
      "type": "n8n-nodes-base.set",
      "position": [
        -144,
        1104
      ]
    },
    {
      "id": "83d7e91d-4724-45b2-aaa5-85697e53d015",
      "name": "nature promt",
      "type": "n8n-nodes-base.set",
      "position": [
        112,
        1232
      ]
    },
    {
      "id": "42e57d37-c087-4843-94b8-75798357125c",
      "name": "romantic promt",
      "type": "n8n-nodes-base.set",
      "position": [
        -16,
        1232
      ]
    },
    {
      "id": "d39396cb-d372-4672-a7d3-1bc6f5cba7ec",
      "name": "nightlife promt",
      "type": "n8n-nodes-base.set",
      "position": [
        -144,
        1232
      ]
    },
    {
      "id": "51296dc8-11bc-4326-b92a-3795cf29beb1",
      "name": "Sticky Note - Getting Started",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -816,
        112
      ],
      "parameters": {
        "width": 600,
        "height": 592,
        "content": "## 🌍 Travel Idea Generator — Getting Started in 4 Steps\n\n1) 🔐 **Set Up Access**\nTelegram: Insert your bot token (created in BotFather) into the Telegram Trigger and Send Message nodes.\nAI/ML API: Ente"
      }
    },
    {
      "id": "feaf638b-ff99-4f0e-80da-79105af2b9d6",
      "name": "Sticky Note - Node Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        32
      ],
      "parameters": {
        "width": 598,
        "height": 256,
        "content": "## 🔍 Node Overview\n\n- **Telegram Trigger**: Listens for incoming messages from users.\n- **Show Typing Indicator**: Displays “typing…” in the chat to simulate a real conversation.\n- **Route by Input Ty"
      }
    },
    {
      "id": "8b04c11b-71f5-4c16-a14f-e4f0477bf07c",
      "name": "Sticky Note - Example",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        304
      ],
      "parameters": {
        "width": 604,
        "height": 488,
        "content": "## 🟡 Example:\n\n**Input via Telegram:**\n```text\n/nightlife Tokyo, 3-day plan\n```\n**Output:**\n\nSure thing! Get ready for an epic Tokyo nightlife adventure! 🌃🎶\n\nDay 1: Shibuya & Shinjuku Vibes!\n\nWhat to "
      }
    },
    {
      "id": "7926c388-e0a8-484c-9637-c3e61dd77c39",
      "name": "Generate personalised answer",
      "type": "n8n-nodes-aimlapi.aimlApi",
      "position": [
        560,
        1104
      ]
    },
    {
      "id": "e25a864c-f3a9-4d2f-bcea-5103b8b9b4b6",
      "name": "Send message to Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        736,
        1104
      ]
    },
    {
      "id": "39c64be0-69de-4e8c-a461-a848698c9d0d",
      "name": "Show Typing Indicator",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -688,
        1120
      ]
    },
    {
      "id": "4d1c4543-0ce9-46bd-af3a-7cfcbf51893c",
      "name": "Start: Receive Message on Telegram",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -912,
        1120
      ]
    },
    {
      "id": "76804b14-c326-4e5f-8192-4aa9ffe777e4",
      "name": "Route by Input Type",
      "type": "n8n-nodes-base.switch",
      "position": [
        -464,
        992
      ]
    }
  ],
  "connections": {
    "cozy promt": {
      "main": [
        [
          {
            "node": "Generate personalised answer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "family promt": {
      "main": [
        [
          {
            "node": "Generate personalised answer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "luxury promt": {
      "main": [
        [
          {
            "node": "Generate personalised answer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "nature promt": {
      "main": [
        [
          {
            "node": "Generate personalised answer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "extreme promt": {
      "main": [
        [
          {
            "node": "Generate personalised answer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cultural promt": {
      "main": [
        [
          {
            "node": "Generate personalised answer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "romantic promt": {
      "main": [
        [
          {
            "node": "Generate personalised answer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "any other promt": {
      "main": [
        [
          {
            "node": "Generate personalised answer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "nightlife promt": {
      "main": [
        [
          {
            "node": "Generate personalised answer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Input Type": {
      "main": [
        [
          {
            "node": "cozy promt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "extreme promt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "family promt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "budget promt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "luxury promt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "cultural promt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "nature promt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "romantic promt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "nightlife promt",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "any other promt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Show Typing Indicator": {
      "main": [
        [
          {
            "node": "Route by Input Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate personalised answer": {
      "main": [
        [
          {
            "node": "Send message to Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start: Receive Message on Telegram": {
      "main": [
        [
          {
            "node": "Show Typing Indicator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}