Use a browser agent to start airline chat and wait for an agent

They had Claude Code in Chrome open an airline help chat, send the first note, and keep checking for a live representative while they dealt with a disrupted trip.

Done with Claude CodeClaude in Chrome· Intermediate· Feb 2025

What they did
They gave the agent their name, booking code, and details about the flight problem, then asked it to navigate to the airline’s support chat and begin the case. Claude Code in Chrome got the conversation underway and handled the opening reply. After that, it kept revisiting the page to see whether a person had joined, and when that stalled, they restarted the process and later used a browser-console snippet to trigger an alert when a response came in.
How it went
The live chat was reached, but the booking change itself did not get finished. One attempt ran for 12 minutes 45 seconds before ending, and later ones dropped out after 21 minutes or 5 minutes. They eventually hit the API rate limit.
Tips
A passive wait can eat through tokens very quickly; their 30-second polling used about 100 to 200 tokens each time. Build in a pause before any final submission so you can approve the exact text first.

Try it yourself with Claude Code

In Chrome, go to [airline name] and use booking [confirmation code] to find the help or change-trip path. My flight on [date] was disrupted, so draft a message asking for help getting me onto the next suitable option for [destination] before [date/time]. Do not submit anything that changes the reservation until you show me the exact message and I approve it. If the process turns into a queue or a long wait, tell me what’s happening and ask whether to keep monitoring or stop.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.