Skip to main content

Create personalized city trip itineraries with Telegram Bot & GPT-4o

Workflow preview

Workflow preview
100%
Create personalized city trip itineraries with Telegram Bot & GPT-4o preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow 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 hashtag...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.set, n8n-nodes-aimlapi.aimlapi, n8n-nodes-base.telegram, n8n-nodes-base.telegramtrigger, n8n-nodes-base.switch

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by AI/ML API | D1m7asis.

Original n8n.io source

1.1 Workflow description

Title
Create personalized city trip itineraries with Telegram Bot & GPT-4o
Workflow name
Create personalized city trip itineraries with Telegram Bot & GPT-4o

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

  1. Telegram Trigger — Listens for new messages from users.
  2. Show Typing Indicator — Sends a “typing…” signal for a smooth user experience.
  3. Switch Node — Detects preset hashtags (e.g. #cozy, #nightlife, #cultural) and routes the flow.
  4. Prompt Builder — Creates a JSON prompt with the selected city, trip duration, and preset theme.
  5. AI/ML API (GPT-5 or GPT-4o) — Generates a detailed 3-day itinerary including sights, restaurants, and travel tips.
  6. 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

  1. Create Telegram Bot

    • Open @BotFather
    • Run /newbot, set a name and username
    • Save your bot token
  2. Add Credentials in n8n

    • Telegram API → Use your bot token
    • AI/ML API → Add your API key (GPT-4o or GPT-5 model)
  3. Import and Configure

    • Import this JSON workflow into n8n
    • Link credentials for Telegram and AI/ML API
    • Activate the workflow
  4. Test the Bot

    • Send: #luxury Paris or #nature Bali
    • Receive your detailed AI-generated itinerary instantly

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - any other promt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - cozy promt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - extreme promt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - family promt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - budget promt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - luxury promt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - cultural promt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - nature promt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - romantic promt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 13 - nightlife promt

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - Sticky Note - Getting Started

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note - Node Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note - Example

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Generate personalised answer

Type / Role
n8n-nodes-aimlapi.aimlApi - aimlApi
Config choices
Version 1

Block 18 - Send message to Telegram

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 19 - Show Typing Indicator

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 20 - Start: Receive Message on Telegram

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.1

Block 21 - Route by Input Type

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

3. Summary Table

Workflow Create personalized city trip itineraries with Telegram Bot & GPT-4o
Complexity advanced
Nodes 21
Categories Support Chatbot, AI Chatbot
Author AI/ML API | D1m7asis
Published 15 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9708/9708.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Create personalized city trip itineraries with Telegram Bot & GPT-4o do?

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 hashtag...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.