Use this advanced n8n workflow to create custom city trip itineraries instantly via a Telegram bot. Leverages GPT-4o for tailored, multi-day travel plans based on user presets.
Download this n8n workflow template and start using it instantly.
Travel agencies or bloggers looking to offer instant, customized travel advice.
Technical users wanting a sophisticated example of AI routing and prompt engineering within an n8n workflow.
Developers building conversational bots who need robust n8n templates for integration with Telegram.
Anyone interested in using the n8n node ecosystem to build powerful, user-facing AI tools.
This powerful n8n workflow transforms a standard Telegram bot into a sophisticated AI travel assistant. Instead of relying on a single, static prompt, this n8n template uses a routing system to select the perfect prompt based on the user's request (e.g., Budget, Luxury, Family).
When a user sends a message to the bot (e.g., /cozy London 4 days), the system identifies the travel style and applies a highly specialized system instruction to the AI model (GPT-4o). This ensures that the generated itinerary is perfectly tailored to the user's unique need, providing relevant sights, dining tips, and travel hacks, all formatted beautifully for the Telegram chat window. This sophisticated n8n automation showcases how custom logic can dramatically improve AI output quality.
This n8n workflow operates on a simple but highly effective event-driven logic:
Route by Input Type Switch n8n node analyzes the starting text of the incoming message. It checks for specific preset commands like /cozy, /extreme, or /nightlife.Set n8n nodes. Each Set node contains a unique, detailed AI prompt (a custom persona and style instruction) corresponding to the selected travel preset. If no preset is detected, the flow defaults to the general any other promt node.Generate personalised answer (AI/ML Api) n8n node. This node uses the selected preset prompt combined with the user's raw message (city, days) and feeds it to the openai/gpt-4o model.Send message to Telegram n8n node, completing the automation cycle.To deploy this powerful n8n workflow template, follow these steps:
Start: Receive Message on Telegram n8n trigger and the two other Telegram n8n nodes (Show Typing Indicator and Send message to Telegram) using your API token. Start: Receive Message on Telegram (Telegram Trigger): The starting n8n trigger for the entire flow. It monitors for new messages (updates: ["message"]) sent to the configured Telegram bot.
Show Typing Indicator (Telegram Node): Sends the sendChatAction operation to display 'typing...' in the Telegram chat, simulating real-time response.
Route by Input Type (Switch Node): A critical n8n node that defines the core logic. It uses startsWith conditions to check the input message text against commands like /cozy, /budget, or /nightlife to select the appropriate prompt path.
[Preset] Prompts (Set Nodes, e.g., cozy promt): A series of Set n8n nodes, each holding a specialized JSON payload containing a detailed, tailored AI system prompt. This allows the n8n workflow to dynamically adjust the AI's persona and instructions.
Generate personalised answer (AI/ML Api Node): This central n8n node calls the openai/gpt-4o model. The prompt is constructed by merging the preset system prompt ({{ $json.prompt }}) with the user's message text, ensuring highly contextual itinerary generation.
Send message to Telegram (Telegram Node): The final action. It uses the chatId from the initial n8n trigger and sends the generated AI content back to the user.
Use this powerful n8n workflow to automate B2B cold outreach. It combines Google Sheets data, Tavily AI research, and LLMs (OpenRouter) to generate hyper-personalized email bodies, ready for Instantly.ai campaigns. This complete n8n templates solution streamlines sales outreach.

Use this powerful n8n workflow to transcribe voice notes and summarize text messages sent via Telegram using local AI models like LLaMA via Ollama. Secure and private note-taking.

Use this powerful n8n workflow to ingest Google Sheets data into a Supabase vector store using OpenAI embeddings, then query it using a Gemini-powered n8n agent for rapid RAG functionality.

Automate personalized diet plan creation using an n8n workflow, IMAP email trigger, and local Ollama AI. This powerful n8n template handles health report intake and tailored dietary advice delivery.

Use this advanced n8n workflow to demonstrate deep personalization capabilities by combining Telegram input, AI agents, dynamic web scraping, and GPT models to craft hyper-specific cold emails.








































