Inspiration

Booking a domestic flight in Nigeria is more work than it should be. You open one airline's website, search, note the price, open another, search again, and by the fourth tab you've forgotten which one had the better morning flight. Then you still have to find a way to pay.

I'm not a professional developer, but I work at the airport, and I see how much effort travellers put into just finding and paying for a flight. I wanted to see if I could fix that with an assistant that just listens. You tell it what you'd tell a friend who knows flights: "I'm going from Lagos to Enugu next Friday, mornings if possible, under ₦150,000." It does the comparing and gives you three options. That became FlightScout, and its assistant is called Scout.

What it does

Scout understands the route, date, time of day, cabin, number of passengers and your budget in naira. It shows you what it understood, so you can catch a mistake before it costs you. It then returns the top 3 flights and checks the days either side. If Thursday is ₦25,000 cheaper, it tells you. If nothing fits your budget, it says so honestly and shows how far off you are.

It also plans trips through several cities, like Lagos to Warri to Owerri and back, and you can say "make it evening" and it remembers the conversation.

When you pick a flight, you add passenger details in the chat, choose extra bags or free special-assistance requests if you need them, and pay once with PayPal. Afterwards you get a ticket you can download, a receipt you can email to yourself, a seat map for each flight, and a short "Before you fly" card with check-in times. Guests can book without an account, and signing in saves your chat history.

PayPal is central to the experience. Payment is the last step of the conversation, not a separate website. The PayPal button sits right in the chat, using the PayPal Orders API. One payment covers every flight in a multi-city trip, plus any bags.

How we built it

FlightScout is built with Node.js and Express, a plain JavaScript chat front end, and hosting on Render. Accounts use hashed passwords and email-code verification.

A language model (Groq's gpt-oss-120b in this demo) reads the conversation and decides whether to search, adjust a search, pick a flight or answer a question. It never makes up prices, because the app does the searching. The server checks every field the AI returns and treats what the traveller types as data, not as instructions.

For payments, the server sets the price from its own saved fare, so it can't be changed in the browser. It creates the PayPal order, captures it after approval, and checks the captured amount before it gives you a booking reference. PayPal doesn't support naira, so fares are converted to USD at a fixed rate.

Challenges we ran into

The biggest early problem was PayPal checkout failing with a vague error. After digging in, I found that PayPal sandbox accounts must be US-based, and mine were Nigerian. Creating US sandbox accounts fixed it.

The other challenge was making the AI dependable. The answer was to let it handle the conversation and keep prices and payments in plain, checkable code.

Accomplishments that we're proud of

You can go from "Lagos to Enugu next Friday" to a paid booking, a ticket and a seat, all in one chat. And the app tells you the truth when your budget can't be met, instead of hiding it.

What we learned

AI works best when it's responsible for understanding people, not for handling money.

What's next for FlightScout

Real fares through supplier or airline APIs, booking look-up and PayPal refunds from the chat, and live PayPal payments after the hackathon.

Honest limits: this is a beta demo. Fares are generated samples and payments use the PayPal sandbox, so no real money moves and no real tickets are issued.

How to test:

  1. Open https://flightscout-9i6z.onrender.com
  2. Type any flight booking command of your choice or Tap an example: "Lagos to Enugu next Friday, morning flights, under 150k".
  3. Select a flight, fill in the passenger details and click the PayPal button.
  4. Log in with the PayPal sandbox buyer:

Built With

Share this project:

Updates

Submission history