Prompt
How do I send reminders when calendar events change?
Latest observation
Oct 15, 2026
OpenAI APIWeb search: off
To send reminders when calendar events change, the general flow is:
-
Listen for event update notifications
- Use your calendar provider’s webhooks, push notifications, or periodic polling.
- Detect changes such as:
- event created
- event updated
- event cancelled
- time/date changed
- attendee changes
-
Compare old vs. new event data
- Determine what changed:
- start/end time
- location
- title
- participants
- cancellation status
- Decide whether the change should trigger a new reminder.
- Determine what changed:
-
Recalculate reminder timing
- If the event time changed, update the reminder schedule accordingly.
- If the event was cancelled, suppress or cancel pending reminders.
- If the event moved earlier, send reminders sooner if needed.
-
Queue reminder jobs
- Store reminder tasks in a job queue or scheduler.
- Include:
- event ID
- user ID / attendee ID
- reminder time
- current event version or timestamp
-
Prevent duplicate reminders
- Use idempotency keys or event version checks so the same update doesn’t create multiple reminders.
- Example: only send a reminder if the event version is newer than the last reminder state.
-
Send notifications through your channels
- SMS
- Push notification
- In-app notification
- Slack/Teams, if internal
-
Handle edge cases
- Event updated after reminder already sent
- Time zone changes
- Recurring events and one-off exceptions
- Multiple attendees with different preferences
- Out-of-order webhook delivery
Example logic
- Event starts at 3:00 PM, reminder is 30 minutes before → send at 2:30 PM.
- Event changes to 4:00 PM → reschedule reminder to 3:30 PM.
- Event is cancelled → cancel reminder.
If you’re using a specific platform
- Google Calendar: use push notifications/watch channels + Events API
- Microsoft Outlook / Microsoft Graph: use subscriptions/webhooks
- Apple Calendar: usually requires sync/polling via CalDAV rather than webhooks
If you want, I can also provide:
- a sample architecture
- pseudo-code
- or a specific implementation for Google Calendar, Outlook, or a custom app.