AI-Powered Automation:

Mahiru – AI-Powered Trip Planner Agent

Your Personalized AI Travel Companion — Plan, Price & Go. Telegram · n8n · OpenAI · Google Sheets · Gmail

Overview

The Mahiru Trip Planner Agent is an AI-powered virtual travel assistant built on n8n, integrated with Telegram. It crafts fully personalized, end-to-end travel itineraries — delivering hotel recommendations, cost estimates, route plans, and event suggestions in a warm, human-like conversation style. By integrating Telegram, OpenAI, Google Sheets, Gmail, and live travel APIs, Mahiru provides a scalable, intelligent, and privacy-respecting travel planning solution — handling everything from language detection to styled email trip summaries.

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

Prior to building Mahiru, travelers and teams faced these core pain points:
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

This project was built to:
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

Built using n8n, the automation connects Telegram, OpenAI, Google Sheets, Gmail, and live travel APIs for a fully automated trip planning experience — split across two core flows:

Conversation & Planning Flow

Telegram Trigger:
User sends trip request to Mahiru. Language is auto-detected from the first message.
Intent & Profile Parse:
n8n extracts destination, dates, budget, and group size. Any missing info is requested conversationally.
AI Itinerary Generation:
OpenAI crafts a detailed day-wise plan with activities, timings, and full cost breakdown.
Live Data Enrichment:
APIs fetch real-time hotel rates, events, flights, trains, and route details to enrich the plan.

Delivery & Storage Flow

Telegram Reply:
The formatted trip plan is delivered back via Telegram in the user’s detected language.
Email Summary Sent:
A styled HTML email with the full itinerary, cost summary, and booking links is dispatched via Gmail.
Data Logged to Sheets:
Trip details and user preferences are saved to Google Sheets for history and future recall.
Follow-up Handling:
Mahiru continues the conversation, refining the plan based on user feedback and follow-up requests.

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

The following are key real-world use cases for this workflow:
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

What makes Mahiru particularly powerful:
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.

Conclusion

The Mahiru Trip Planner Agent demonstrates how AI and automation can revolutionize personal travel planning. By seamlessly integrating Telegram with OpenAI, Google Sheets, and Gmail — all orchestrated through n8n — Mahiru delivers personalized, multilingual, and real-time travel experiences without any manual effort. This agent is ideal for travel platforms, personal assistants, and businesses aiming to enhance customer engagement, automate itinerary creation, and deliver AI-driven insights — all while saving time, reducing errors, and delighting users with a warm, human-like conversation experience.
Plan smarter. Travel better. Automate everything — with Mahiru.