Event Reminders
Send a reminder the evening before a scheduled event, at 5 PM in the user’s local timezone.- Schedule: When the user books, schedule the reminder for the day before at 5 PM local.
- Handle: When the hook fires, send the email.
The
reminderSent check prevents most duplicates, but there’s a small race window if a retry arrives before the flag is committed. If you need stricter guarantees, see Idempotency.Abandoned Cart Recovery
If a user adds items to their cart but doesn’t checkout, schedule a “nudge” email for 30 minutes later. Instead of trying to cancel the hook when a user purchases, it’s often simpler to verify validity at execution time.- Schedule: When the user adds an item, schedule the email for 30 minutes later.
- Verify: When the webhook handler receives the request, check if the cart has been converted to an order.