Integrating airlines into travel management solutions is a complex process, particularly when working with multiple carriers. Each airline has unique endpoints, data formats, and business rules that make traditional integrations time-consuming and resource-intensive. At Navan, where we strive to provide seamless travel management solutions, tackling these challenges efficiently is crucial.
Historically, integrating new airlines required:
As a travel and expense management leader, Navan needed a flexible, scalable, and maintainable solution that would allow engineers to onboard new airlines with minimal code changes.
The answer was a dynamic, driver-based integration platform that leverages DocumentDB to integrate new airlines quickly while maintaining system stability. Navan’s engineers architected a solution that reduced time to market for new airline integrations by 95%, increased system availability to 99.9%, and sped up response times by 30%.
Here’s how.
Navitaire, an Amadeus company, powers more than 60 airlines worldwide. Its New Skies
For Navan, integrating with Navitaire was a critical step in delivering a frictionless booking experience for our customers. Our clients expect a seamless travel management experience, and verifying that airline integrations work smoothly is a core part of that process.
However, with customized API implementations, diverse data formats (XML and JSON), and unique business rules for each airline within Navitaire, we needed a more modern integration approach that would remove bottlenecks and accelerate deployments.
Picture a growing city where each new building requires its own unique utility infrastructure: separate water lines, power grids, and communication networks. This was essentially the challenge with traditional airline integrations at Navan.
Instead of leveraging a standardized infrastructure, Navan’s engineers were building custom solutions for each airline, creating an increasingly complex and unsustainable network. With Navitaire alone powering more than 60 airlines, this process resulted in:
The turning point came when we realized that while Navitaire’s partner airlines shared common foundational elements, we were treating each integration as a completely independent system. It was like building separate power plants for each neighborhood when we could have a central grid with standardized connections.
This realization led us to ask: What if we could create a standardized infrastructure (driver approach) that could adapt to each airline’s unique requirements without rebuilding the entire system? That would allow us to:
The need for a driver-based approach became evident. We needed a system that could handle the complexity of airline integrations while remaining flexible enough to accommodate unique requirements. This would transform our integration process from a custom construction project into a standardized connection procedure, dramatically reducing time to market and improving our ability to serve our customers.
This was more than just a technical decision — it was about creating a sustainable foundation for Navan’s growth in the travel management space.
After all, due to the increasing number of airlines and the constant evolution of their APIs, we needed a solution that would scale with our business while maintaining the high-quality experience our customers expect.
Previously, integrating a new airline meant writing airline-specific logic directly into our systems — an inefficient and unscalable approach that required custom code for every airline.
Instead, we adopted a driver-based approach: Instead of hard-coding airline logic with “if-else” statements, each airline would get its own pluggable driver, making the system more maintainable and scalable.
Now integrations are managed dynamically, which makes it easy to onboard new airlines without modifying core application logic.
The Navitaire integration relies on Amazon DocumentDB — a fully managed NoSQL document database service — for flexible and scalable configuration management.
Instead of hardcoding airline-specific logic, we started storing the configurations in DocumentDB. The configuration for the airline includes essential connectivity parameters, supported operations, and fee structures. It supports various API endpoints and methods necessary for seamless airline operations.
The flexible schema allowed new airlines to be onboarded without requiring code changes, which significantly reduced engineering effort and time to market.
Navan’s new system follows a modular microservices architecture. Its key components include:
The Navan engineering team leverages a factory pattern to support multiple airline implementations that select the appropriate service based on the airline configuration. This pattern allows us to seamlessly add new airline integrations without modifying existing service logic.
Imagine a scenario where one of the integrated airlines experiences an outage or significant performance degradation. Without proper isolation and circuit-breaking patterns, this could potentially lead to:
To prevent cascading failures and maintain system reliability, Navan’s engineers implemented a resilient architecture featuring circuit breakers and real-time monitoring.
The circuit breaker mechanism isolates failing airlines to prevent disruptions from spreading across the system while enabling gradual recovery. And real-time monitoring and automated alerts help ensure quick issue detection, so engineers can address problems before they impact users. These safeguards keep the platform stable and protect a seamless booking experience for all travelers.
Why DocumentDB? | Why Factory Pattern? |
---|---|
Flexible schema evolution | Clean implementation selection |
JSON-native storage | Easy to add new modules |
Easy configuration updates | Maintainable code structure |
Query performance | Clear separation of concerns |
By leveraging DocumentDB and a driver-based architecture, Navan has achieved significant improvements in integration efficiency:
Navan’s engineering team continues to optimize airline integrations, which right now means exploring AI-driven data normalization and machine learning-based error handling. By pushing the boundaries of travel technology, we aim to make business travel smarter, faster, and more intuitive.
Are you interested in tackling complex engineering challenges at Navan? Join our team and be part of the future of business travel technology!
This content is for informational purposes only. It doesn't necessarily reflect the views of Navan and should not be construed as legal, tax, benefits, financial, accounting, or other advice. If you need specific advice for your business, please consult with an expert, as rules and regulations change regularly.