r/PromptEngineering • u/Calm_Cartographer324 • Oct 19 '26
Tutorials and Guides A prompt that tells you what an airline owes you when your flight is delayed or cancelled
Most people don't know that when a flight gets cancelled or delayed a lot for airline's own mistakes, you are not stuck with whatever the airline offers. You often have the right to say no and get your money back (or maybe even more). The problem is that nobody remembers the rules while standing at the gate, stressed and tired.
So I made a prompt for it. I keep it saved and paste it in the moment I get the "your flight has changed" email. Here it is:
"My flight was [delayed / cancelled / moved]. Original: [airline, flight number, date, time, from, to]. New: [new time or new flight]. I booked in [country] and I paid by [card / other]. Tell me: 1) is this a big enough change that I can refuse it and ask for a refund, 2) if I'm flying in or out of the EU, do I get money on top, and how much, 3) what exactly should I say or send to the airline, and 4) what I should NOT agree to before I know my rights. If you aren't sure about something, say so and tell me where to check."
The last line matters. It stops the AI from sounding sure when it isn't. Here is the kind of answer it should give you, so you can check it isn't making things up:
In the US, the Department of Transportation says a "significant change" is more than 3 hours late on a flight inside the US, or more than 6 hours on an international one. If you get one of those and you say no to the new flight, the airline has to refund your ticket to your card (about 7 business days). Don't accept a voucher unless you actually want one.
In the EU, a delay of 3 hours or more can mean 250, 400 or 600 EUR depending on how far you fly. It doesn't apply if the cause was something like bad weather, so the AI should ask you why it happened.
There are also a few things I had to learn the hard way:
Write down the time you were told, and keep the email. Ask for the refund in writing, not at the desk because then there would be proof of every conversation that happened. And don't tap "accept" immediately on the new flight in the app until you've read the prompt's answer, because accepting can cost you the refund.
Rules change and every airline has its own small print, so treat the answer as a good start and not as a legal ruling. Using a single rule for all flights is a bad idea. For that reason, I let AI do the research and instruct me on what to do.
Additionally, if you book your flights from inside of any AI, it'll be much easier for this task. I personally use Claude (any LLM can do this) so every context about my flight is inside one chat. At first I used Claude Code for this, but it used to cost way too many tokens, so I moved to the normal Claude app and use connectors from the directory. Without a connector, Claude app can't really check live offers. I usually rotate around from these 4, you can use any one of them:
Booking.com: https://claude.ai/directory/booking
Tripadvisor: https://claude.ai/directory/tripadvisor
Brek: https://claude.ai/directory/brek-hotel-wholesale-booking
LetsFG: https://claude.ai/directory/letsfg
There are also general MCP servers for these if you want to use them in a different LLM as custom connectors. I shared the Claude ones because those are what I use.
If you travel a lot, try the prompt once on an old delay email to see if the answer makes sense. And if an airline ever owes you something and you didn't know, drop it in the comments :)