Trip Calendar
When to activate
- - User says "add to calendar", "put this on my calendar"
- User forwards a boarding pass screenshot
- After itinerary is finalized and user confirms
Adding itinerary to calendar
When user confirms "add to calendar":
- 1. Create events for key milestones using gog:
- ✈️ Flights (with terminal, timing)
- 🏨 Hotel check-in / check-out (with address)
- 🥾 Major activities (treks, tours)
- 🚕 Major transport
- 2. Command format:
gog calendar create primary --summary "✈️ DEL→KLU 6E-2041" --from "2026-03-14T06:00:00+05:30" --to "2026-03-14T07:30:00+05:30" --location "DEL Terminal 1" --description "Reach airport by 4:30 AM"
- 3. Use emojis in titles: ✈️ flights, 🏨 hotels, 🥾 treks, 🚕 transport
- Include location and useful details in description
Boarding pass parsing
When user sends boarding pass image:
- 1. Extract: flight number, date, time, origin, destination, gate/terminal
- Confirm with user
- On confirmation, create calendar event
Response
✓ Added 4 events to your Google Calendar:
✈️ DEL→KLU flight (Mar 14, 6 AM)
🏨 Check-in: Parvati Riverside (Mar 14, 1 PM)
🥾 Kheerganga Trek (Mar 15, full day)
✈️ KLU→DEL return (Mar 16, 3:30 PM)
Rules
- - Never add without explicit user confirmation
- Always use IST timezone (+05:30)
- Don't create events for every small activity — key milestones only
- If gog is not available, tell user: "Calendar integration isn't set up yet. Here's your itinerary to add manually."
行程日历
触发条件
- - 用户说添加到日历、记在日历上
- 用户转发登机牌截图
- 行程确定且用户确认后
将行程添加到日历
当用户确认添加到日历时:
- 1. 使用gog为关键节点创建事件:
- ✈️ 航班(含航站楼、时间)
- 🏨 酒店入住/退房(含地址)
- 🥾 主要活动(徒步、游览)
- 🚕 主要交通
- 2. 命令格式:
gog calendar create primary --summary ✈️ DEL→KLU 6E-2041 --from 2026-03-14T06:00:00+05:30 --to 2026-03-14T07:30:00+05:30 --location DEL 1号航站楼 --description 请在凌晨4:30前到达机场
- 3. 在标题中使用表情符号:✈️ 航班、🏨 酒店、🥾 徒步、🚕 交通
- 在描述中包含地点和实用信息
登机牌解析
当用户发送登机牌图片时:
- 1. 提取:航班号、日期、时间、出发地、目的地、登机口/航站楼
- 与用户确认
- 确认后创建日历事件
回复示例
✓ 已向您的Google日历添加4个事件:
✈️ DEL→KLU 航班(3月14日,上午6点)
🏨 入住:Parvati Riverside(3月14日,下午1点)
🥾 Kheerganga徒步(3月15日,全天)
✈️ KLU→DEL 返程(3月16日,下午3:30)
规则
- - 未经用户明确确认绝不添加
- 始终使用印度标准时间(+05:30)
- 不为每个小活动创建事件——仅限关键节点
- 如果gog不可用,告知用户:日历集成尚未设置。以下是您的行程,请手动添加。