Mahara Logo
MaharaKarya Indonesia
BACK TO ALL SERVICES
GPT-4o · Multi-Channel · Full Booking

AI Booking Agent

Mahara built a fully functional AI travel agent that integrates directly with all Tripfez booking systems. Users simply describe their trip in natural language - the agent interprets intent, searches in real time across flights, hotels, cruise, and tours, presents ranked options, and processes complete bookings with Xendit payment links, all within the conversation.

TECHNICAL SPECIFICATIONS & CAPABILITIES

  • GPT-4o-mini powered with OpenAI function-calling (tool use)
  • Natural language understanding: 'I want to fly to Bali next month under 1500 MYR'
  • Automatic IATA airport code resolution from city/country names
  • Real-time flight search via Sabre GDS with budget and direct-flight filters
  • Real-time hotel search via RateHawk with star rating and breakfast filters
  • Live cruise search via Seaware and internal inventory
  • Tour/leisure package search with date and budget filters
  • Multi-product session context - user can switch from flights to hotels in one chat
  • Complete booking from chat: collects passenger details, creates booking in DB
  • Xendit payment link generated and sent directly in the conversation
  • Booking lookup by booking ID, email, or phone number
  • Payment link regeneration for pending bookings
  • Human escalation trigger - routes to live agent on request
  • Multi-channel: WhatsApp, email, and web chat with channel-specific formatting
  • Conversation persistence in PostgreSQL with 14-message sliding context window
  • Date intelligence: auto-sanitizes past dates, infers correct year from context
  • Turn limit: 30 messages per session, token cap per call (gpt-4o-mini optimized)

TECHNOLOGY & STACK

OpenAI GPT-4o-miniNestJSPostgreSQLSabre GDSRateHawkSeawareXenditWebSocketsWhatsApp API

NEED THIS SPECIFICATION?

We can integrate this exact capability or adapt the codebase for your platform requirements.

Talk to engineering →