Flight day Slack alerts from your Google Calendar

On travel days, get a Slack message whenever your gate, time, or status changes, so you can stop refreshing the airline app.

Agentic Task
Google CalendarAeroDataBoxSlack BotPersonal ProductivityOperationsNotifications & AlertsResearch & Monitoring
PromptCreate

Build me an agent that watches my upcoming flights from my Google Calendar and keeps me posted in Slack on the day of travel. I want to stop refreshing the airline app and only hear from the agent when something actually matters.

Trigger: cron, every 30 minutes between 5am and midnight in my local timezone. Each run is a single agent turn that decides whether there's anything worth telling me.

On every run, do the following:

1. Call Google Calendar List Events on my primary calendar for the next 24 hours. Scan each event's title and description for airline flight numbers (patterns like 'BA286', 'UA1342', 'LH 401', case-insensitive). Skip events that don't contain one. If none of my upcoming events look like a flight, exit quietly.

2. For each flight number found, call AeroDataBox Get Flight Status to pull the live record: scheduled vs estimated departure and arrival times, current status (scheduled, boarding, departed, landed, delayed, cancelled, diverted), gate, terminal, aircraft, and any delay in minutes.

3. Also call AeroDataBox Get Airport Delay Snapshot for the departure airport so you can gauge ground-side disruption (current delay index, average delay, cancellation rate). Use this to color the recommendation, not to fire its own alert.

4. Decide whether to message me. Compare the current snapshot to the previous run's snapshot for the same flight (persist a small state record per flight number, keyed by date plus flight number, so consecutive runs can diff). Message me only when something has materially changed since the last check. 'Material' means any of: a new delay over 15 minutes versus the last snapshot, a gate change, a terminal change, a status change (for example scheduled to boarding, or scheduled to cancelled), or 'boarding now'. The agent should be the one judging materiality because the noise floor depends on how close to departure I am: a 10-minute slip 8 hours out is nothing, the same slip 90 minutes out matters.

5. If there's a material change, send me a Slack DM via Slack Bot Send a Message (open a DM to my user first if needed). The message should be a short, scannable summary: flight number and route, what changed, the current scheduled vs estimated time, gate and terminal, and a one-line recommendation like 'leave for the airport now', 'you have an extra hour, no rush', or 'gate changed to B12, walk over before boarding'. Use Slack mrkdwn for formatting and bold the change.

6. If nothing material changed, do not send anything. Skip silent updates so I don't get spammed. The whole point is that the inbox stays quiet unless I need to act.

Edge cases to handle: a flight gets cancelled (always notify, regardless of other deltas); a flight is diverted (always notify); the flight number can't be resolved by AeroDataBox (notify me once so I can fix the calendar entry, then stop trying for that event); the calendar event is for a flight more than 24 hours out (ignore for now, it'll come into range later); the same flight is in my calendar on multiple events (dedupe by flight number + date).

Keep the per-run logic tight: the trigger fires often, so the common case is 'no flights today' or 'flight is on time, nothing to report' and the agent should exit fast without sending anything.

What does this prompt do?

  • Spots flight numbers in your Google Calendar events and tracks them automatically on the day of departure.
  • Checks live status throughout the day and only messages you when something actually changes, like a delay, gate change, or boarding call.
  • Pulls departure airport conditions so you know whether system-wide delays might bleed into your trip.
  • Sends each update as a personal Slack DM with a quick recommendation, like 'leave for the airport now' or 'you have an extra hour'.

What do I need to use this?

  • A Google account with the calendar your flights live on.
  • A Slack workspace where the agent can send you direct messages.
  • An AeroDataBox account on RapidAPI for live flight and airport data (the free tier works to start).
  • Flight numbers in your calendar event titles or descriptions, like 'BA286' or 'UA1342'.

How can I customize it?

  • Change the lookahead window (defaults to flights in the next 24 hours).
  • Tighten or loosen what counts as a material change, like only ping for delays over 30 minutes instead of 15.
  • Send updates to a shared Slack channel instead of a DM if you want a travel buddy or assistant looped in.
  • Adjust the active hours so the agent stays quiet overnight or runs only on the day of departure.

FAQs

What if my flight isn't in my calendar?
The agent only watches calendar events. Either forward your airline confirmation to your calendar (Gmail does this automatically for most airlines) or add the flight number to an existing event.
Will it spam me every 30 minutes?
No. The agent only messages you when something has materially changed since the last check, like a new delay over 15 minutes, a gate or terminal change, a status change, or a boarding call. Silent polls stay silent.
Does it work for international flights?
Yes. AeroDataBox covers most commercial flights worldwide. Live tracking coverage is strongest in Europe and North America.
What if I have two flights in one day?
The agent handles each flight independently, including connections, so you get a separate update stream per leg.
How does it find the flight number?
It scans your event titles and descriptions for airline-format codes like BA286 or UA1342. If your calendar event just says 'Flight to NYC', add the flight number to the title or notes.

Related templates

Auto-fix your calendar when a flight slips, and flag what's at risk

When your flight moves, your calendar times get corrected automatically and you get a Slack note naming the meetings you're about to miss.

Google Calendar
AviationStack
Slack
Agentic Task
Build a credential rotation checklist when someone leaves

When someone leaves, we check which shared passwords they used in their final months and post a ranked rotation list to your security channel.

1Password
Rippling
Slack Bot
+1
Agentic Task
Weekly Amazon S3 bucket security audit posted to Slack

Every Monday, check every S3 bucket for public exposure, missing encryption and weak backup settings, then get the risks ranked in Slack.

Amazon S3
Slack Bot
Google Sheets
Agentic Task
Log Agorapulse social conversations to HubSpot contacts

Twice every weekday, the conversations from your social inbox land on the right HubSpot contact timelines, with a Slack recap for sales.

Agorapulse
HubSpot
Slack Bot
Agentic Task
Clean up HubSpot contacts from your Amazon SES suppression list

Every morning, find the addresses that hard bounced or filed a spam complaint, update the matching HubSpot contacts, and post a short Slack recap.

Amazon SES
HubSpot
Slack Bot
Agentic Task
Draft polite follow-ups for emails that never got a reply

Every weekday at 4pm, spot the threads that went quiet, stage a ready-to-send nudge in your mailbox, and get a ranked Slack recap.

Aurinko
Google Sheets
Slack Bot
Agentic Task

Spend less time refreshing the airline app.

Connect Google Calendar, Slack, and AeroDataBox once, and Geni quietly watches your travel days for you.