← Back to library
TravelPrompt

Search your inbox before filing an airline refund claim

yalok on Hacker News had a family trip disrupted when SAS moved a flight and dropped prepaid meals from the rebooking. Months later he handed the job to Meta's Muse, which read every SAS message and showed meal refunds already confirmed before any new claim was filed.

  • OutcomeFind out whether an airline already refunded a fee before you spend time on a claim, by having an agent dig through every message from the carrier.
  • SetupMinutes
  • LevelStarter
  • Credityalok on Hacker News
View original
Works with
ChatGPT agentClaudeGrok BotGemini

Published Oct 23, 2026Updated Oct 23, 2026AI dry run on sample input: passed Oct 23, 2026Source verified Oct 24, 2026

When should you use it?

  • A rebooking or cancellation left you owed money
  • You have put off a claim for weeks
  • Airline emails are buried among promotions

Not for: Claims that need a phone call or a legal deadline you are close to missing; Accounts you have not connected to the assistant

What do you need, and what do you get?

You need

  • Airline name and booking reference
  • Travel dates
  • Fees you paid (meals, seats, bags)

You get

  • A list of related emails with dates
  • Refund status for each fee
  • A draft claim only if money is still owed

How does it work, step by step?

  1. Give the detailsShare the airline, booking codes, dates and which extras were paid for.
  2. Search every message from the carrierAsk the assistant to read all mail from the airline in that period, including automated notices.
  3. Match fees to refundsHave it list each paid extra next to any refund or credit notice it finds.
  4. DecideIf everything is matched, stop. If not, ask for a draft claim citing the unmatched charges.
  5. Check your card statementConfirm any refund the email mentions actually reached your card.

The prompt

Our own prompt, inspired by yalok on Hacker News and written to work in ChatGPT agent, Claude, Grok Bot and others. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt4 variables
Before I file a claim, check what {airline} already sent me.
Bookings: {booking_refs}
Dates: {dates}
Extras I paid for: {fees}
Search all emails from the airline in that window. List each fee next to any refund, credit or voucher notice with its date. Only if a fee has no matching refund, draft a short claim message citing the booking and amount. Do not submit anything.

Inspired by yalok on Hacker News: Hacker News comment on using an agent to sort out an airline meal-fee refund. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Refund notices often arrive on the busiest day of the disruption and get missed.
  • An email saying a refund was issued is not proof it landed; check the statement.

Our take

We like this because the agent's best move was to look before acting. A request phrased as file a claim could have produced a duplicate; instead the search turned up refund confirmations that had arrived and been missed. yalok's case shows why searching first is the better instruction. Give the assistant the airline, booking codes, dates and which extras were paid for, then ask it to read every message from the carrier in that period, including automated notices. Matching each paid extra against any refund or credit notice settles the question before anything is filed; in his case the meal refunds had already been confirmed. If something is unmatched, ask for a draft claim citing just those charges. Refund notices often arrive on the busiest day of a disruption and get missed, which is how this happens. An email saying a refund was issued is not proof it landed, so check your card statement. If a legal deadline is close, call the airline instead.

Where the time goes back: A quick inbox match can save you from filing a claim that has already been paid, or show exactly which charge is still owed.

FAQ

Can the agent file the claim too?
It can draft and fill the form, but review what it submits since it speaks for you.
What if there are several bookings?
Run the search per booking reference so fees are not mixed up between travelers.

Source and credit

Inspired by yalok on Hacker News. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
Hacker News comment on using an agent to sort out an airline meal-fee refund
Creator
yalok on Hacker News
Published on
Hacker News
Original date
Sep 9, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Custom agent
AI dry run
Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; no live sends or purchases.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Oct 24, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

Are you the creator? Claim or correct this page.

More in Travel

All 27 Travel playbooks →

Related playbooks

TravelWorkflow✓ AI dry run

Check for an airline status match before you book

Before booking a trip, have an agent look for status matches and upgrade offers you qualify for, fill the forms and read the terms, then book.

Credit: John Jung (@johnjjung)

Under an hour
TravelPrompt✓ AI dry run

Escalate a refused airline refund with AI-drafted appeals

Build a clear timeline, find the contradictions in the airline's replies and draft each escalation step, so a refused refund gets a proper review.

Credit: u/NeighborhoodWorth768 on r/indianaviation

Minutes
TravelWorkflow✓ AI dry run

Coordinate an international pet move with an agent

Let an agent manage the import and export process for an international move with a pet: forms, deadlines, comms and documentation for the humans involved.

Credit: madaxe_again on Hacker News

An afternoon+