Skip to content

Flight Booking Assistant

Overview

In this example you are creating an agentic workflow, previously known as flow, that uses forms to book a flight. A user is guided through a series of questions to provide travel details, including: departure city (single choice), arrival city (single choice), trip type (single choice), departure date (date), arrival date (date), ticket class (single choice), and number of travellers (number) and whether to proceed with booking (boolean). These inputs are configured as user activities. The agentic workflow then analyzes the inputs and suggests an available flight list, allowing the user to choose a flight. It uses a branching condition to determine whether to proceed with the booking and concludes with a summary message generated using logic blocks. This example also illustrates how configured prompts appear in the chat interface. To learn more about creating forms, see Forms in user activities.

The Flight Booking Assistant simplifies the flight booking process by providing an intelligent interface that helps users find the best flight options through a structured form-based approach. The solution enables travelers and travel agents to provide their travel requirements through guided questions, compare available options, and complete bookings efficiently.

Benefits

  • Streamlined Booking Process: Eliminates the need to navigate complex booking websites. Users can search for flights, compare options, and make reservations through simple conversational queries.
  • Time Efficiency: Reduces the time spent on flight searches from multiple tabs and websites to a single conversational interface. Quick access to flight availability, pricing, and booking status.
  • Intelligent Recommendations: Provides personalized flight recommendations based on user preferences, budget constraints, and travel patterns. Suggests alternative dates or routes when preferred options are unavailable.
  • Booking Management: Enables easy modification of existing bookings, seat selection, and itinerary updates. Provides real-time flight status updates and gate information.
  • Multi-City Support: Handles complex itineraries involving multiple destinations and layovers. Optimizes connections and minimizes travel time.
  • Cost Optimization: Compares prices across different airlines and booking classes. Alerts users to price drops and special offers for their preferred routes.
  • 24/7 Availability: Provides round-the-clock booking assistance without the need for human travel agents. Handles urgent booking changes and cancellations efficiently.

Step by step hands-on instructions

Proceed to the Lab Guide to begin building your Flight Booking Assistant using watsonx Orchestrate Agent Builder.

Get started with the Lab