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

Opening a template is free and never counts toward your daily diagrams. Asking the AI to change it counts as one.

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

Inside this diagram

A sequence diagram with 5 participants and 16 messages, in the order they happen.

People

  • Traveller

Systems

  • Travel Website
  • Booking Service
  • GDS / Airline
  • Payment Gateway

Steps in order

  • 1. Traveller β†’ Travel Website: Search BLR to DEL, 12 Oct
  • 2. Travel Website β†’ Booking Service: Search request
  • 3. Booking Service β†’ GDS / Airline: Availability and fares
  • 4. GDS / Airline β†’ Booking Service: 42 flights (reply)
  • 5. Booking Service β†’ Travel Website: Sorted results (reply)
  • 6. Traveller β†’ Travel Website: Select 07:15 flight
  • 7. Travel Website β†’ Booking Service: Re-price and hold
  • 8. Booking Service β†’ GDS / Airline: Create PNR, hold 15 min
  • 9. GDS / Airline β†’ Booking Service: PNR ABC123 (reply)
  • 10. Traveller β†’ Travel Website: Passenger details and pay
  • 11. Travel Website β†’ Payment Gateway: Charge Rs 5,840
  • 12. Payment Gateway β†’ Travel Website: Payment success (reply)
  • 13. Travel Website β†’ Booking Service: Confirm booking
  • 14. Booking Service β†’ GDS / Airline: Issue e-ticket
  • 15. GDS / Airline β†’ Booking Service: Ticket number (reply)
  • 16. Booking Service β†’ Traveller: E-ticket by email (reply)

Make your own diagram like this

Describe your own system in plain English and the AI sequence diagram generator draws it in seconds, in the same style as this template.

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.