๐ฌ Create personalized city trip itineraries with Telegram Bot & GPT-4o
โก 181 views ยท ๐ฌ Support Chatbots
Description
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 ๐
Resources
๐ Nodes Used
Telegram, Telegram Trigger
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File