CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
🌙☀️
Log inStart free
Home/Templates/Travel & Hospitality

✈️ Travel & Hospitality · Sequence

Flight Booking Sequence

How an online travel site books a flight: fare search across airlines, seat hold, passenger details, payment and ticket issue.

More Travel & Hospitality templates

Drawing diagram…

What this diagram shows

  • Fares are searched across airlines through a GDS
  • The fare is re-checked and held before payment
  • E-ticket is issued only after payment succeeds

Prompt used

Flight booking sequence: the traveller searches flights, the booking service queries the GDS (Amadeus) for fares across airlines, the traveller picks a flight and the fare is re-priced and a PNR is created with a time-limited hold, the traveller enters passenger details and pays through the payment gateway, then the booking service asks the GDS to issue the e-ticket and emails it to the traveller.

Mermaid code
sequenceDiagram
  actor T as Traveller
  participant W as Travel Website
  participant B as Booking Service
  participant GDS as GDS / Airline
  participant P as Payment Gateway
  T->>W: Search BLR to DEL, 12 Oct
  W->>B: Search request
  B->>GDS: Availability and fares
  GDS-->>B: 42 flights
  B-->>W: Sorted results
  T->>W: Select 07:15 flight
  W->>B: Re-price and hold
  B->>GDS: Create PNR, hold 15 min
  GDS-->>B: PNR ABC123
  T->>W: Passenger details and pay
  W->>P: Charge Rs 5,840
  P-->>W: Payment success
  W->>B: Confirm booking
  B->>GDS: Issue e-ticket
  GDS-->>B: Ticket number
  B-->>T: E-ticket by email

Related templates

State MachineTravel & Hospitality

Hotel Reservation Lifecycle

Every state of a hotel reservation from enquiry to checkout, including pay-at-hotel, cancellations and no-shows.

C4 ArchitectureProTravel & Hospitality

Hotel Reservation System Architecture

A hotel chain's reservation platform: booking engine, property management system, channel manager for OTAs and revenue management.

Database ERDTravel & Hospitality

Travel Loyalty Programme Schema

A database schema for an airline or hotel loyalty programme: members, tiers, earning and burning points, partners and rewards.

FlowchartTravel & Hospitality

Airline Check-In Flow

How a passenger checks in for a flight: online or at the airport, seat selection, documents check, bags and boarding pass.

DeploymentProTravel & Hospitality

Travel Aggregator Deployment

How an online travel aggregator is deployed to handle search spikes: search fan-out to suppliers, caching, and separate booking services.

SequenceTravel & Hospitality

Hotel Digital Check-In Sequence

Mobile check-in for a hotel: ID upload, room assignment by the PMS, payment hold and a digital room key.