Add flights from a confirmation email to Google Calendar with Comet
- Posted
- by @mikewchan
- Last checked
- Method:
- How we verify
Evidence: Screenshots or logsThe source shows screenshots, a transcript or the agent's output.
PartialThe source says it only partly worked, or had a significant problem a person had to deal with.
What went wrong: Flight events had the wrong lengths and the reminders needed a second prompt.
Outcome
From a flight confirmation email, Comet Assistant opened Google Calendar and created entries with airports and flight numbers for a NJ–London–Dubai–NJ trip, but the entries didn't span the full flight times and the poster had to fix them by hand and re-prompt for the check-in reminders.
Agent
Prompt Improved prompt
Strengthened by us to avoid the problem in the source. Not tested by the poster. It doesn't change what happened in the source.
Run this task now, exactly as written below. Everything you need is here, so start straight away and only stop if something required is missing. Goal: Put every flight from my confirmation email into my calendar correctly, with check-in reminders. Fill in before running: Which email, and which calendar? What I need from you: - The confirmation email - Google Calendar access - Your home time zone Rules: - Create one event per flight with departure and arrival in the right local time zones, so it spans the full flight. - Include flight number, airports and confirmation code in each event. - Also add a check-in reminder 24 hours before each departure, in the same run. - Read back every event's start and end time to check. - Use the departure and arrival times in each airport's local time zone. - Put the flight number, confirmation code and terminal in the event description. Output: A list of events created (times with time zones) and reminders. You'll know it worked when: each event covers the real flight time and every reminder is there.
The prompt they actually used (our rebuild)
The source didn't share its exact prompt, so we wrote this from what it describes.
Add these flights to my Google Calendar as events, and add reminders to check in 24 hours before each flight.
Source
https://x.com/mikewchan/status/1970911237438415050
Related cases
- Plan a six-week Southeast Asia trip with Manus (hallucinated flights)Improved promptEvidence: Described by posterFailure
The poster used Manus to plan a 6-week Southeast Asia trip, and it hallucinated flights that didn't exist despite having browser access.
Manus · Travel · Source date:
- Build a work-trip itinerary from booking emails with ClaudeRecreated promptEvidence: Described by poster
The day before a work trip, Claude read the poster's booking emails and organized a polished itinerary that the poster says would have taken a few hours by hand.
Claude · Travel · Source date:
- Plan a 3-day Tokyo tech trip with a budget in USD and yen with GrokEvidence: Article or interview
In Tom's Guide's ChatGPT-vs-Grok test, Ryan Morrison asked both for a 3-day Tokyo technology trip with hotels, transport, a robot restaurant and a budget in USD and yen; he judged Grok's itinerary more focused, realistic and detailed, with a fuller budget breakdown.
Grok · Travel · Source date: