Create personalized city trip itineraries with Telegram Bot & GPT-4o
DISCOUNT 20%
Overview
This workflow transforms your Telegram bot into a smart AI-powered travel assistant that instantly creates 3-day trip plans for any city in the world. Users can personalize trips by sending hashtags such as #luxury, #budget, or #romantic to receive itineraries aligned with their travel style — from cozy getaways to adrenaline-filled adventures.
Ideal for travel bloggers, tour operators, and AI enthusiasts looking to provide interactive trip suggestions through Telegram.
How it Works
- Telegram Trigger — Listens for new messages from users.
- Show Typing Indicator — Sends a “typing…” signal for a smooth user experience.
- Switch Node — Detects preset hashtags (e.g.
#cozy,#nightlife,#cultural) and routes the flow. - Prompt Builder — Creates a JSON prompt with the selected city, trip duration, and preset theme.
- AI/ML API (GPT-5 or GPT-4o) — Generates a detailed 3-day itinerary including sights, restaurants, and travel tips.
- Telegram Message — Sends the formatted trip plan back to the user.
Key Features
🌍 Dynamic Itinerary Generation — Get personalized 3-day travel plans for any city.
🧠 AI-Driven Recommendations — Sights, food, local culture, and insider tips generated via AI/ML API.
🎯 Preset Travel Styles — Support for multiple hashtags:
#cozy— Relaxed and charming 🛋️#nightlife— Bars, concerts, and clubbing 🌃🍸#extreme— Adventure & adrenaline 🧗♂️#family— Kid-friendly fun 👨👩👧👦#budget— Affordable travel 💰#luxury— Premium experiences ✨#cultural— Museums & history 🎨🏛️#nature— Parks & scenic hikes 🌲🏞️#romantic— Cozy and scenic spots 💕
💬 Interactive Telegram Experience — Fast responses with typing indicators.
⚙️ Plug-and-Play Setup — Ready to import and activate.
Setup Steps
Create Telegram Bot
- Open @BotFather
- Run
/newbot, set a name and username - Save your bot token
Add Credentials in n8n
- Telegram API → Use your bot token
- AI/ML API → Add your API key (GPT-4o or GPT-5 model)
Import and Configure
- Import this JSON workflow into n8n
- Link credentials for Telegram and AI/ML API
- Activate the workflow
Test the Bot
- Send:
#luxury Parisor#nature Bali - Receive your detailed AI-generated itinerary instantly
- Send:
Example Interaction
User:
/romantic Florence
Bot:
✨ 3-Day Romantic Getaway in Florence ✨
Day 1 — Artistic Beginnings
• Visit: Uffizi Gallery, Ponte Vecchio
• Eat: Trattoria ZaZa 🍝
• Tip: Sunset walk along Arno River 🌇
Day 2 — Tuscan Charm
• Visit: Boboli Gardens, Piazzale Michelangelo
• Eat: Wine tasting in Chianti region 🍷
• Tip: Rent a Vespa for the full Italian vibe 🇮🇹
Day 3 — Hidden Gems
• Visit: Fiesole hilltop village
• Eat: Local bakery for morning cappuccino ☕
• Tip: Avoid peak crowds by starting early 🌅