01 / Problem
Tour and experience companies lose revenue when users ask for price and availability and don’t get an immediate answer. The real challenge isn’t “chatting well” — it’s computing the correct price every time, because it changes by boat, season, experience, duration and number of guests.
02 / Solution
How we solved it
We designed this system as a reliable agent: instead of throwing a spreadsheet into a prompt, we turned pricing rules into deterministic tools (code) and used AI only to understand intent, collect variables, and drive the conversation.
Flow
- 01
Receives a WhatsApp message (text or voice)
- 02
Normalizes input and aggregates messages to avoid duplicate replies
- 03
Agent guides the flow and collects required variables
- 04
Deterministic tools: season check, duration listing, price calculation
- 05
Final response is “humanized” and split into WhatsApp-friendly chunks
Architecture (high-level)
- WhatsApp (text or voice)
- Message aggregation
- AI agent: intent and variables
- Deterministic tools: season, durations and price
- Reply in parts on WhatsApp
The system also
- Leads and conversation logged in a spreadsheet
- Logs
Workstreams
Zero-guess pricing (deterministic)
Pricing must be exact. Rules become code and the agent only answers when all required variables are present.
- Variables: boat, season, experience, duration, guests
- Validation: only allows durations that truly exist
- The price is calculated by code, not by the AI
Robust message pipeline
Fixes the classic WhatsApp issue: users send 3 messages and the bot replies 3 times.
- Message aggregation with a wait window
- Short-term context memory
- Chunked delivery for better UX
Scalable architecture
Modular, step-based workflow with isolated tools — easy to adapt to other booking businesses.
- Input: text + voice (transcription)
- Tools: season / durations / pricing
- Logs and lead capture
03 / Scope
What it does
- 24/7 WhatsApp support (text and voice)
- Understands intent: pricing, questions, booking, changes
- Collects variables (experience, boat, date, guests, duration)
- Validates duration availability for that experience/date
- Calculates the price with the client’s rules, in code
- Logs leads and conversation into a spreadsheet
04 / Impact
What it solves
Price quotes in seconds with deterministic pricing and a guided WhatsApp booking flow, reducing operational errors and first-contact manual workload.
Security and confidentiality
- Conversation data can be minimized and stored with controls
- Deterministic tools reduce hallucination risk for pricing
- Separation of concerns: AI handles dialogue; code handles numbers