Business challenge

To meet customer demand for instant, interactive communication and optimize its customer support operations, Lufthansa looked for innovative alternatives to the traditional call center model.


Lufthansa developed and launched Mildred, an intelligent chat bot available on Facebook Messenger that helps customers find the best flights for their budget and itinerary in seconds.



customer satisfaction by providing instant responses to flight booking queries


traffic from costly SMS and call center services, lowering operating costs


the foundation for further automation of customer services to boost efficiency

Business challenge story

Staying connected

The way in which businesses and customers interact has undergone a dramatic shift in recent years. With more and more companies offering support services online or via social media and live messaging apps, consumers have come to expect real-time assistance around the clock.

“Thanks to innovative IBM cloud data services, we’ve been able to turn our chat bot experiment into a game-changing customer service offering.”

—Ivonne Engemann, IT Project Manager & Software Architect, Deutsche Lufthansa AG

Moreover, for many customers, traditional call center services no longer fit with the way they want to interact. For today’s digital-native consumers, the telephone support process—finding the right contact number, calling the helpline, getting connected to the right department and potentially waiting on hold until an agent is available—can feel like a major inconvenience.

Ivonne Engemann, IT Project Manager & Software Architect at Deutsche Lufthansa AG, begins: “As an airline, responsive customer communication is absolutely crucial. We must keep passengers informed of everything from gate changes to flight delays and cancellations, as they happen.”

“With IBM Compose, we’re totally confident that we can seamlessly scale to meet demand, ensuring that customers get fast, accurate flight information whenever they need it.”

—Ivonne Engemann, IT Project Manager & Software Architect, Deutsche Lufthansa AG

Transformation story

Putting an assistant in people’s pockets

Keen to offer a new digital touchpoint for customer interaction, Lufthansa decided to develop its own chat bot for Facebook Messenger—one of the most widely-used instant messaging apps in Europe.

Ivonne Engemann comments: “Having seen the rise of chat bots in recent years, I wanted to play around with the technology, and see if we could harness artificial intelligence to help improve the Lufthansa customer experience. So, I started working on a prototype on my PC.

“I chose MongoDB as the underlying database for the application because I wanted a platform that we would be able to scale flexibly as the project took off. Another important deciding factor was that MongoDB stores data in JSON format, the same native data-structure used by our Node.js back-end. And because there is no need for a rigid relational schema, it’s very easy to change things as your application grows. This made it perfect for our web-based chat bot, which we needed to develop in a very agile and iterative way.”

When the prototype began to take shape, Engemann needed to decide on the best way to deploy it into production. At around the same time, a Lufthansa team that was working on a different project introduced her to IBM® Bluemix®. She quickly realized the potential for building the chat bot solution on the Bluemix cloud application development platform.

“After learning that we could run our database on Bluemix via IBM Compose for MongoDB, we were sold,” says Ivonne Engemann. “Compose is a fully managed service, which means that IBM manages all of the back-end database administration—leaving us free to focus on development. In addition, we can scale our database instances seamlessly to meet changing requirements very quickly and easily, and the service levels that Compose provides around availability are impressive.

“It was very easy to get started,” she adds. “We were able to set up a Bluemix account and get our development environment up and running in less than an hour. What’s more, I only had to rewrite about five lines of code to move the app from my development environment to IBM Compose—it couldn’t have been simpler.”

The chat bot application Lufthansa Best Price—known as Mildred—integrates data from a number of other services via open and private APIs, including Lufthansa’s in-house services to locate the customer’s nearest airport and the best prices for each flight, as well as Facebook Messenger, Google Geolocation, a natural language processing (NLP) platform, and, of course, IBM Compose for MongoDB. Bluemix makes it easy to integrate these services with the core application logic, which runs on a Node.js server on the Bluemix platform.

The first release of Lufthansa Best Price uses data from these services to calculate the cheapest flights between two airports, which it identifies by parsing text from conversations with customers in the instant messaging app and extracting important data-points, such as cities and dates. As the conversation with the user continues, Mildred stores these data-points in the IBM Compose for MongoDB database, enabling her to keep track of items that have previously been mentioned and respond to each new query more effectively.

Ivonne Engemann elaborates: “Customers can chat to Mildred as though they were communicating with any other of their Facebook contacts. The chat bot processes travel queries such as ‘I want to go to the Eiffel Tower next week’, recognizes the locations that are mentioned, searches for the customer’s nearest airport, and finds the cheapest flights.”

Results story

Revolutionizing customer services

Today, Mildred is on hand to help customers find the best-value flights 24 hours a day, 365 days a year. The chat bot responds to queries in real time, ensuring that customers don’t have to wait around for an answer, or spend time calling the Lufthansa helpline.

Ivonne Engemann remarks: “After launching the chat bot, we experienced a huge spike in demand. With thousands of people now exchanging tens of thousands of messages with Mildred, data volumes are growing fast. With IBM Compose, we’re totally confident that we can seamlessly scale to meet demand, ensuring that customers get fast, accurate flight information whenever they need it.

“The ability to store users’ responses is critical as we work on improving Mildred’s cognitive capabilities. Three weeks after launch, we had over 15,000 expressions in the NLP platform—we never expected that there were so many ways of asking for flight information!

“The data stored in IBM Compose helps us train Mildred to recognize new formulations and respond accordingly. We’re currently investigating whether we could integrate IBM Watson® Conversation via Bluemix to enhance our NLP capabilities even further.”

Based on Mildred’s success, Lufthansa has set its sights on making more customer services available via interactive digital channels in the future.

Ivonne Engemann concludes: “Thanks to innovative IBM cloud data services, we’ve been able to turn our chat bot experiment into a game-changing customer service offering. We're looking forward to developing the solution further, and we know that we can count on IBM for support.”


About Deutsche Lufthansa AG

Deutsche Lufthansa AG is a globally active aviation group comprising more than 540 subsidiaries and affiliates. The Lufthansa Group is divided into the three strategic areas of Hub Airlines, Point-to-Point Business and Service Companies. In their respective segments, the Lufthansa Group airlines (Lufthansa, Austrian, SWISS, Brussels Airlines, Eurowings) are positioned as quality carriers. The Lufthansa Group’s airlines currently serve 308 destinations in 103 countries and offer 11,738 flights a week.

Take the next step

IBM Cloud Data Services offers a complete portfolio of data and analytics services providing unique and seamless product integrations to build apps faster and gain new insights easier with flexible deployment and pricing options. For more information about how IBM Cloud Data Services can help businesses solve tough big data problems rapidly and cost-effectively, please visit

View more client stories or learn more about IBM Analytics