← Back to library
TravelPrompt

Have an agent rebook an at-risk connection while you fly

Denis Shiryaev's Alaska Airlines flight was delayed, putting his Amsterdam connection at risk. While he was still flying, an OpenAI agent running on its own computer held simultaneous chats with KLM, Alaska and Delta, found a new routing and, once he approved it, got him rebooked at no charge. He says it spared him a night in Seattle.

  • OutcomeWhen a delay threatens your connection, let an agent contact the airlines, find a new route and hold it for your approval while you're in the air.
  • SetupMinutes
  • LevelStarter
  • CreditDenis Shiryaev (@literallydenis)
View original
Works with
ChatGPT agentGrok BotClaude

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

When should you use it?

  • A delay or cancellation puts a connection at risk
  • You'll be on a plane or busy while the fix needs to happen
  • Your booking involves partner airlines

Not for: Paying change fees or accepting a new itinerary without your OK

What do you need, and what do you get?

You need

  • Your booking reference and itinerary
  • Your priorities: arrive by, airports you'd accept, seat or bag needs
  • A way for the agent to reach you for approval (in-flight Wi-Fi or messages)

You get

  • Options for new routings with times and any costs
  • A rebooking request held until you approve
  • Confirmation details saved for you after it's done

How does it work, step by step?

  1. Act earlyStart as soon as the delay is announced; seats on alternative flights go fast.
  2. Set your limitsTell it the latest arrival you accept, airports you're fine with and that it must ask before agreeing to anything.
  3. Let it work the chatsIt contacts the airlines' chat channels and compares what they offer.
  4. Approve and verifyApprove the option you want, then check the new booking in the airline's app.

The prompt

Our own prompt, inspired by Denis Shiryaev (@literallydenis) and written to work in ChatGPT agent, Grok Bot and Claude. Values in lime are placeholders.

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

Prompt6 variables
Flight {flight} (booking {reference}) is running late, and my connection to {destination} is at risk. I'm on the plane and can approve by message.
Find out which airline controls the ticket. Then contact the relevant airlines' chat support and find alternative routings that get me to {destination} by {latest_arrival}. Acceptable airports: {airports}. Needs: {bags_seats}.
Show me up to three options with times, airlines and any costs. Do not accept a change, pay anything or give out more personal details until I approve. After I approve, request the change, then send me the new confirmation and record locator.

Inspired by Denis Shiryaev (@literallydenis): Agent rebooked a delayed connection while in flight. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Airlines may require the booking airline to make the change. Let the agent find out which one owns the ticket first.
  • Don't let it accept a fare difference or a downgrade without asking.

Our take

Missed connections are a good fit for an agent because the work is urgent, repetitive and spread across several companies: the airline you booked, the partner operating the next leg, and whoever might have a seat. Denis's account shows the shape of it well. The agent talked to three airlines at once, found a route that worked, and then waited for him to approve it before anything changed. That approval step matters; itineraries can be changed in ways that cost money or strand bags. We'd set clear limits before it starts, such as the latest arrival you'll accept, which airports are fine, and a firm rule against paying anything without asking. Also check the result in the airline's own app, since chat confirmations sometimes lag the actual booking. His outcome, a free rebooking, will depend on fare rules and the cause of the delay. In our dry run with a made-up itinerary and scripted airline chat replies, our prompt gathered 3 options, ranked them by arrival time, asked for approval before requesting the change, and declined an option that carried a fare difference.

Where the time goes back: The rebooking scramble happens while you're in the air, and you land with a new itinerary instead of a line at the transfer desk.

FAQ

Do I need special status or a premium ticket?
The poster didn't mention any. Whether a free rebooking is possible depends on the airline's rules and the cause of the delay.
Can I do this without an agent?
Yes, but contacting several airlines at once from a plane seat is hard. The agent's advantage is running those chats in parallel.

Source and credit

Inspired by Denis Shiryaev (@literallydenis). We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
Agent rebooked a delayed connection while in flight
Creator
Denis Shiryaev (@literallydenis)
Published on
X
Original date
Oct 3, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
ChatGPT agent
AI dry run
Oct 20, 2026: passed. Dry-run tested by our AI test agent on sample input. Waited for approval and respected the cost limit.
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 23, 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

TravelRoutine✓ AI dry run

Catch travel booked for the wrong dates of your events

Have the assistant that tracks your engagements compare them with your travel bookings and, with your OK, get the trips moved.

Credit: Ron Galloway (@rongalloway)

Under an hour
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

Get an agent to choose a hotel the way you would

Hand a browser agent a written set of your hotel preferences and get back the place you would likely have picked yourself.

Credit: Peter Hartree

Minutes
TravelPrompt✓ AI dry run

Let an agent plan a last-minute work trip end to end

Give an agent the meeting place and date and let it choose the flight, a hotel on a convenient transit line and a sightseeing plan for spare hours.

Credit: Vince is Bullish (@vinceisbullish)

Minutes