Dev.to WebDev 🛠 Dev 👁 0 📖 1 min read

Flight Tracking and Smart Waiting: How We Handle Delayed Airport Pickups

When a guest books a private airport transfer, they expect one thing: someone waiting when they walk through arrivals. But flights are late — regularly. Here’s how we handle delays gracefully. The Problem Mar

When a guest books a private airport transfer, they expect one thing: someone waiting when they walk through arrivals. But flights are late — regularly. Here’s how we handle delays gracefully.

The Problem

Marrakech Menara Airport (RAK) receives flights from across Europe, many arriving between midnight and 3 AM. Delays of 30-90 minutes are common during winter disruptions and peak season congestion.

Flight-Aware Scheduling

We track every pickup flight using real-time data in three layers:

1. Pre-Departure Monitoring

We monitor 6 hours before departure. If the flight hasn’t left origin on time, we know before the guest does.

T-6h: Monitor origin airport
T-0:  Confirm actual takeoff
T+2h: Calculate real arrival
T+3h: Dispatch driver on actual ETA

2. In-Flight Tracking

We calculate arrival windows from departure time, position, speed, route history, and weather. This gives a 15-minute window accurate enough for driver dispatch.

3. Smart Dispatch

The driver arrives 10-15 minutes before the guest clears immigration — enough buffer without excessive waiting.

Guest Experience

  1. Booking confirmation includes the flight number
  2. If delayed: WhatsApp message “Your driver will be there when you land”
  3. On arrival: name on the board, driver ready

No phone calls. No frantic messages at 2 AM.

Technical Stack

  • Aggregated flight data with fallbacks
  • 5-minute TTL status cache
  • Event-driven dispatch
  • WhatsApp Business API templates
  • Edge functions, near-zero cold start

How we operate Marrakech Transport — by Serenity Morocco Tours. WhatsApp: +212 701 664 704.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.