Skip to main content
Back to Help Center

Castlemaine Flyer

Features & Functions Guide

Complete reference by user type

Last updated: April 2026

System Overview

Castlemaine Flyer is a full-service airport transfer and custom journey booking platform built on Next.js with PostgreSQL. It serves three user types: Passengers, Drivers, and Administrators. The system handles online booking, real-time flight tracking, automated communications, secure payments, driver management, and marketing campaigns.

Next.js

Framework

PostgreSQL

Database

Stripe

Payments

Grok AI

AI Engine

Passenger Features

Customer-facing booking and trip management

Flight-Based Booking
  • New booking (/book/new): five steps — Flight number, Travel day, Address, Time, Check and pay. Arrivals label Address and Time as Drop-off address and Time for bags. The progress bar reads Flight, Day, Pickup (Drop-off on arrivals), Time, Pay.
  • The home page opens the new booking. Flight number is the first step, with airline, terminal and time lookup.
  • Automatic pickup time calculation based on flight schedule
  • Domestic buffer: 60 min before departure, 35 min after landing
  • International buffer: 3 hours before departure, 40 min after landing
  • Flight status monitoring -- team adjusts pickup times for delays
  • Supports 60+ airline codes (Qantas, Virgin, Jetstar, Rex, international carriers)
Booking & Pricing
  • Point-to-point pricing for all trips using Google Maps geo-location
  • Airport, CBD, and custom journey pricing calculated via Google Maps Distance Matrix API
  • Multi-stop trips are available on the classic booking form, with automatic price adjustment
  • Booking several trips in one session is available on the classic booking form. The new booking can add one return trip.
  • Weekend surcharge (10%), late night/early morning surcharge (15%), last-minute surcharge (15%)
  • Public holiday surcharges up to 75%, early bird discount (5% for 90+ days advance)
  • All prices include GST - no hidden fees, fare shown upfront
  • Maximum 4 passengers per vehicle; groups of 5–8 travel in two vehicles
  • Booking confirmation via email and SMS
Shared Rides Marketplace
  • Browse and join available shared rides heading in the same direction
  • Door-to-door service with dynamic route recalculation
  • 15% premium for routing convenience
  • Fare credit adjustment when new passengers join after you
  • 48-hour cutoff before departure for new joiners
  • Secure online payment for your share
Meet & Greet Service
  • Optional upgrade: driver meets you inside at baggage with a name sign
  • Ideal for international arrivals, elderly passengers, unaccompanied travellers
  • Standard pickup: T1–3 meet at T123 Transport Hub rear of Level 2; T4 meet inside the T4 Transport Hub Level 1
  • +$45 flat fee — tick the Meet & Greet checkbox during booking
  • Available at Melbourne Airport Terminal 2 (International), Terminals 1 & 3 (Qantas/Virgin domestic), and Terminal 4 (Jetstar)
Payments, Credits & Receipts
  • Secure payment via Stripe (Visa, Mastercard, Amex)
  • Digital wallets supported (Apple Pay, Google Pay)
  • Account credits (dollar-based) applied automatically at checkout
  • Credits awarded for referrals, promotions, or admin adjustments
  • Downloadable trip receipts and reprinting of invoices
  • Refunds processed back to original payment method
Referrals & Loyalty Rewards
  • Unique referral code per customer — share to earn bonus points
  • Referred friends receive a discount on their first trip
  • Earn bonus loyalty points when your referral completes their booking
  • 1 point per dollar spent on all trips
  • Redeem points as a dollar-value discount on future bookings (applied at checkout)
  • Points balance and full transaction history in your profile
  • Account credits (dollar-based) can also be applied separately
  • Discount codes can be entered at checkout for additional savings
Account & Authentication
  • Email/password registration and login
  • Google OAuth sign-in
  • Magic link (passwordless) sign-in
  • Password reset via email
  • Existing customers auto-linked to previous trip history on sign-up
  • Legacy trip migration -- all past trips available in your account
  • Profile management with contact details
  • Trip history, upcoming trips, and invoice reprinting
Communication
  • SMS notifications for booking confirmation, driver updates, and reminders
  • Email confirmations and invoices
  • 24/7 AI chat assistant in the Help Center
  • AI voice receptionist (Sam) available on the phone line
  • Reply to SMS for AI-assisted support
  • Push notification opt-in for trip updates

Driver Features

Trip management, earnings, and operations

Driver Dashboard
  • Overview of assigned and available trips
  • Upcoming trips with passenger details, pickup/dropoff, and timing
  • Onboarding checklist for new drivers
  • Earnings summary and quick access to wallet
  • Priority-tier based trip visibility
Trip Management
  • Claim available trips from the dashboard
  • Auto-assignment via Acuity calendar mapping
  • Update trip status: Confirmed, In Progress, Completed
  • Each status change triggers automatic SMS to passenger
  • View trip details including flight info, passenger contact, and special requests
  • Navigation link to open directions in preferred map app
Wallet & Payouts
  • Per-trip earnings calculated from configured pay rate percentage
  • Earnings tracked in driver_earnings table per trip
  • Wallet page with balance, trip breakdown, and payout history
  • Cashout to bank account via Stripe Connect
  • Stripe Connect onboarding with guided setup
  • Payout status tracking (pending, processing, completed)
Documents & Compliance
  • Upload driver licence, vehicle registration, and insurance
  • File type and size validation on upload
  • Expiry date tracking with notifications before expiry
  • Document history and version management
  • Expired documents may restrict trip claiming
Driver Account
  • Dedicated driver login portal
  • Profile with contact details and vehicle info
  • Admin-managed account activation/deactivation
  • Priority tier assignment (affects trip visibility order)

Admin Features

Operations management, data tools, and system configuration

Admin Dashboard & Sidebar
  • Central hub with booking stats, revenue, and trip summaries
  • Persistent sidebar navigation across all admin pages
  • Quick access to all management areas
  • System health monitoring
User & Driver Management
  • View all customer profiles with search and filtering
  • Customer trip history and contact details
  • Add, edit, activate/deactivate drivers
  • Configure driver pay rate percentages and priority tiers
  • Monitor driver document uploads and expiry dates
  • Super admin impersonation for support
Flight Data Management
  • Flight Gap Analysis: compare booked flights vs schedule database
  • Flight Corrections: review, correct, and add flight data
  • Paste-to-add: paste raw flight info from Google/FlightAware with auto-parsing
  • Quick-search links: Google and FlightAware buttons to look up flight schedules
  • Flight Backfill: batch re-process Acuity appointments for missing flight numbers
  • Flight verification cache with rate limiting (30 lookups/hour)
  • Manual corrections stored separately from automated data
Acuity Scheduling Integration
  • Sync appointments from Acuity into trip system
  • Map Acuity calendars to specific drivers (Bridge)
  • Webhook-based automatic trip creation on new bookings
  • Debug view for troubleshooting sync issues
  • Historical backfill for data migration
Pricing & Surge Configuration
  • Surge pricing: weekend (10%), late night (15%), last-minute (15%), holidays (up to 75%)
  • Early bird discount configuration (5% at 90+ days)
  • Weekend surcharge toggle and multiplier
  • Public holiday surcharge management
  • Discount code creation and management
  • All pricing point-to-point via Google Maps API
Payment Operations
  • Stripe payment processing for all customer transactions
  • Full and partial refund processing
  • Driver payout management via Stripe Connect transfers
  • Stripe webhook handling for payment and transfer events
  • Payment status tracking per trip
Communications Management
  • SMS (CrazyTel): send, receive, and view conversation history
  • AI-generated SMS draft replies using Grok AI and company knowledge base
  • Email (Resend): automated transactional emails (confirmations, invoices, magic links)
  • Gmail integration: read and reply to emails from admin interface
  • Voice AI (xAI Realtime): AI receptionist 'Sam' via Twilio telephony
  • Conversation summaries and context labels per phone number
Marketing & Campaigns
  • Create and send email marketing campaigns via Resend
  • Target customers based on marketing opt-in preferences
  • Per-recipient delivery tracking
  • Campaign history and performance analytics
  • Marketing contact list import
Referral Program
  • Configure referral reward amounts and discount percentages
  • Monitor referral activity and conversion rates
  • View points balances and redemption history
  • Adjust program settings from admin panel
AI Board of Directors
  • CEO Agent: executive summaries, business analysis, and strategic oversight
  • CMO Agent: marketing strategy, campaign ideas, and customer engagement
  • CFO Agent: financial reporting, revenue analysis, and cost insights
  • CTO Agent: technical planning, development proposals, and system health
  • Board Meetings: cross-agent collaborative analysis with consolidated reports
  • Development proposals reviewed and approved by agent board before building
  • Powered by xAI Grok 4.1 Fast Reasoning
Driver Invoicing
  • Auto-generate driver tax invoices based on completed trip earnings
  • Invoices include ABN, trip details, GST breakdown, and payout amounts
  • Download invoices as PDF or print directly from the dashboard
  • Per-period invoice generation (weekly, monthly, or custom range)
  • Earnings reconciliation against driver_earnings records
Fleet Management
  • Fleet API integration for real-time vehicle monitoring
  • Vehicle location, state of charge, and availability tracking
  • Assign vehicles to trips and drivers
  • Charging status alerts and range monitoring
  • Fleet page in admin dashboard with live vehicle cards
Feedback Basket
  • Floating Feedback button on every admin page for instant screenshot capture
  • Full-page screenshot with annotation tools: arrow, rectangle, pen, text
  • Colour picker, stroke width, undo, and clear for annotation
  • Feedback types: Bug, Feature Request, Improvement, Question
  • Jira-style ticket board with filters by type and status
  • Status workflow: New → In Progress → Done / Won't Fix
  • Admin notes per ticket with full annotated screenshot in detail view
  • AI can scan and bucket feedback items into development task plans
Data & Import Tools
  • SQL migration runner for database setup and updates
  • CSV bulk import for profiles and trips
  • Import history logging
  • Marketing contact import
  • Database query utilities for admin operations
System & Security
  • Dual auth system: custom sessions + Supabase Auth
  • Admin access control via admin_users and drivers tables
  • In-memory rate limiting on API endpoints
  • Pre-build health check for deployment readiness
  • Structured logging throughout the application
  • Sentry integration for error monitoring
  • Cron jobs for scheduled tasks (sync, backups, reminders)

External Integrations

Third-party services and APIs

ServicePurposeUsed By
StripeCustomer payments, refunds, driver payouts (Connect)Passengers, Drivers, Admins
Acuity SchedulingCalendar sync, appointment management, webhooksAdmins
Google Maps APIPoint-to-point distance/time calculation for all trip pricingSystem (pricing)
CrazyTel SMSSend/receive SMS, conversation trackingSystem, Admins
ResendTransactional emails, marketing campaignsSystem, Admins
Gmail APIEmail reading/replying from admin interfaceAdmins
xAI (Grok)SMS draft replies, conversation analysis, knowledge retrieval, AI agentsSystem, Admins
xAI RealtimeVoice AI receptionist ('Sam')Passengers (callers)
TwilioVoice telephony for Sam (xAI)System
Google OAuthSocial sign-in for customersPassengers
SupabaseDatabase hosting, auth, real-time featuresSystem
SentryError monitoring and alertingSystem

Castlemaine Flyer - Airport Transfer Booking System

For support: info@castlemaineflyer.com.au | 0480 096 324