Telegram Trip Planner n8n Workflow: Gemini + SerpAPI Itineraries
Telegram Trip Planner n8n Workflow: Gemini + SerpAPI Itineraries
Regular price
£14.99
Regular price
£14.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
Telegram Trip Planner n8n Workflow: Gemini + SerpAPI Itineraries
Regular price
£14.99
Regular price
£14.99
Sale price
Unit price
/
per
Turn Telegram messages into a ready-to-use trip plan (with Gemini + SerpAPI) — fully automated in n8n
This n8n workflow automatically polls your Telegram chat for new trip requests, uses Google Gemini to extract travel parameters, calculates a budget split, and then generates a grounded, day-by-day itinerary using SerpAPI search results—sending the finished plan back to the same Telegram conversation.
What this workflow does
- Runs every minute and calls the Telegram Bot API getUpdates endpoint to fetch recent user messages.
- Selects one valid new text message, captures chat context, and uses an offset so updates aren’t reprocessed.
- Uses Google Gemini to parse the message into structured trip fields: destination, days, budget, currency, style, interests, and travellers.
- Computes a per-category budget breakdown, builds a planning prompt, and checks for missing required details.
- If anything is missing, sends a Telegram message requesting only the specific fields needed.
- When details are complete, uses Gemini + SerpAPI web search to find real places and generate a structured itinerary with cost estimates and tips.
- Formats the itinerary as an HTML Telegram message including a budget summary, then sends it back to the originating chat.
Use cases
- A traveler chats in Telegram: “Plan a 4-day Tokyo trip for two with a mid-range budget.”
- An automation engineer runs a travel-planning bot for a SaaS onboarding flow, where users provide preferences via chat.
- A support team collects trip preferences conversationally, then replies instantly with a complete itinerary.
Technical details
- Scheduling: n8n executes on a minute-based schedule.
- Telegram integration: Telegram Trigger / polling with getUpdates and send-message steps (requires bot token + Telegram API credentials).
- LLM parsing: Google Gemini to extract trip parameters and generate itinerary content.
- Grounding: SerpAPI search results used during itinerary generation.
- Workflow logic: if, code, and an n8nn8n-nodes-langchainagent node; includes a Sticky Note for workflow guidance.
Setup note: Create a Telegram bot with BotFather, replace REPLACE_WITH_BOT_TOKEN in the Telegram API request URLs, and add Google Gemini credentials and the chosen Gemini model.
