AI-Powered Automation:
Mahiru – AI-Powered Trip Planner Agent
Overview
The platform currently provides:
Conversational Itinerary Planning
Engages users via Telegram in a natural, friendly conversation to gather trip details and build personalized day-wise travel plans.
Route Plans & Live Data
Fetches real-time hotel availability, flight prices, train routes, and local events via live travel APIs.
Email Reports
Generates and sends styled HTML email summaries of the full itinerary, cost breakdown, and booking links via Gmail.
Multilingual Support
Auto-detects the user's language from the very first message and responds throughout the session in that language.
Persistent Trip Memory
Stores trip history and preferences in Google Sheets so repeat users never have to re-enter their details.
Challenges
Manual Trip Planning:
Creating personalized itineraries required hours of research across multiple websites — error-prone and time-consuming.
No Real-Time Data:
Static travel guides lacked live hotel availability, flight prices, or local event info, giving outdated recommendations.
Language Barriers:
Most tools forced users into English, ignoring the first-message language preference of international travelers.
No Persistent Memory:
Chat tools forgot previous trips and preferences, forcing users to re-enter everything on every new session.
Fragmented Experience:
Users juggled multiple tools — search, maps, email, booking — with no single intelligent assistant to unify them.
Objectives / Goals
Automate end-to-end trip planning
Via a conversational Telegram agent with no manual input required from the user beyond their trip preferences.
Use OpenAI to generate personalized, day-wise itineraries
In real time, tailored to each user's destination, dates, budget, and group composition.
Fetch live hotel, flight, event, and route details
From travel APIs to ensure every recommendation is accurate and up-to-date.
Auto-detect and respond in the user's language
From the very first message, delivering a fully multilingual experience.
Generate styled HTML email summaries
And send automatically via Gmail integration with full itinerary, cost summary, and booking links.
Store and recall trip history and preferences
For seamless repeat user sessions with zero re-entry required.
Solution
Conversation & Planning Flow
Telegram Trigger:
Intent & Profile Parse:
AI Itinerary Generation:
Live Data Enrichment:
Delivery & Storage Flow
Telegram Reply:
Email Summary Sent:
Data Logged to Sheets:
Follow-up Handling:
Key Tools & Technologies
| Tools & Services | Purpose |
|---|---|
| n8n | Workflow automation engine — all logic, nodes, scheduling, and routing |
| Telegram Bot | Primary chat interface for user interaction |
| OpenAI GPT-4o | Itinerary generation and conversational response engine |
| Google Sheets | Trip history and user preference logging |
| Gmail API | Styled HTML email dispatch with full trip summaries |
| Live Travel APIs (SerpAPI etc.) | Real-time hotel rates, flights, events, and route data |
| Google Calendar | Event and scheduling integration |
Duration & Resources
| Metric | Value |
|---|---|
| Time Taken | 20 Days |
| Resources Used | 1 Developer |
| Handover | Full documentation included |
| Deployment | Zero downtime |
Use Cases
Personalized Vacation Planning:
Custom itineraries with cost breakdowns built for families, couples, or solo travelers — all via a simple Telegram conversation.
Event-Centric Travel:
Mahiru suggests local festivals and events aligned with trip dates and user interests, enriching every journey.
Budget Estimation:
Automatically calculates minimum trip budgets when users don't specify a figure, helping travelers plan within their means.
Multi-Trip Tracking:
Saves full trip history and recalls user preferences seamlessly for repeat visits — no re-entry required.
Email-Ready Summaries:
Generates styled HTML emails with the full itinerary, costs, and booking links — ready to forward or reference offline.
Outcomes
| Metric | Before Mahiru | After Deployment |
|---|---|---|
| Planning Time | 2–4 hours (manual research) | < 2 minutes (automated) |
| Language Support | English only | Auto-detected, multilingual |
| Data Freshness | Static / outdated guides | Live, real-time API data |
| Trip Memory | None — repeat entry required | Persistent, recalled instantly |
| Email Summaries | Manual compose required | Auto-generated HTML emails |
| Developer Overhead | High — manual integrations | Low — fully automated |
Key Features
Conversational Trip Planning
Mahiru engages users in a natural Telegram conversation, gathering trip details and delivering a full personalized itinerary without any forms or manual input.
Real-Time Data Enrichment
Live APIs provide up-to-date hotel rates, flight options, train routes, and local events — ensuring every recommendation is accurate at time of planning.
Multilingual Responses
Language is detected from the user's very first message. Mahiru responds and plans entirely in that language throughout the session.
Automated HTML Email Dispatch
A fully styled email summary with the complete itinerary, cost breakdown, and booking links is generated and sent automatically via Gmail.
Persistent Memory via Google Sheets
Every trip and user preference is stored and recalled for repeat sessions — no user ever needs to re-enter their details.
AI-Powered Itinerary Generation
OpenAI GPT-4o builds detailed day-wise plans with activities, timings, location context, and cost breakdowns tailored to each individual user.
Follow-Up & Refinement
Mahiru continues the conversation after delivering the initial plan, refining and adjusting based on user feedback in real time.
Scalable, Zero-Maintenance Architecture
Built entirely on n8n, the system requires no ongoing manual intervention and scales to handle unlimited simultaneous users.