Find cheapest nonstop flights on Google Flights with constraints
ChatGPT Agent searched Google Flights for the cheapest nonstop flights this year, 4 to 10 day trips, excluding Boeing 737 MAX, and succeeded. ·
Done withChatGPT Agent
- What they did
- A commenter used ChatGPT Agent on Google Flights to search for the cheapest flights available that year while enforcing three constraints at once: nonstop only, trip lengths of 4 to 10 days, and no Boeing 737 MAX aircraft. The agent handled the web UI itself and, after scrolling broke a Google dropdown’s CSS height, it still managed to work around the interface problem without extra steps described from the user.
- How it went
- It took a while, but the commenter said it performed much better than expected and succeeded in finding matching flights. No prices, routes, or comparison numbers were given.
- Worth knowing
- The main catch was speed and brittle web automation: the run took a while, and the standout detail was that it had to overcome a Google Flights UI/CSS glitch mid-task.
Try it yourself with ChatGPT Agent
Search Google Flights for the cheapest nonstop flights from [origin airport] to [destination] at any time in [year or date range], for trips lasting [min] to [max] days. Exclude [aircraft type or airline, if any]. Give me a table of the 5 cheapest options with dates, price, airline and aircraft, then stop. Do not book anything or enter payment details.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Reddit · Jul 24, 2025
Related use cases
Plan a family trip and pre-fill bookings
A reporter had ChatGPT Agent plan a 4-day San Diego trip: it searched flights, compared hotels, built an itinerary and pre-filled booking forms, stopping before purchase.
Play online math games in agent mode
The author had GPT-5 in ChatGPT agent mode play online versions of Math Games with Bad Drawings, and it mostly worked, unlike earlier rental car and tax form attempts.
Delegate tab-juggling work to ChatGPT Agent's virtual computer
After a week of testing, the poster used ChatGPT Agent's virtual computer to avoid copy-pasting between tabs and came back to finished work.
Decide between points and cash for every trip
Skills and MCP servers that let Claude Code search award flights across 25+ mileage programs, compare cash fares, and check loyalty balances.
Handle restaurant reservations over WhatsApp
The author built a WhatsApp agent for a local restaurant that checks availability, answers questions and confirms bookings; one paying customer so far.
Custom agent
Book a flight end-to-end through an agent
The author's agent Flightclaw searched airlines, sent a secure checkout link, and returned a booking reference after he paid.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.