Skip to main content
Posthook powers user engagement workflows that require timing delays, such as reminders or abandoned cart recovery.

Event Reminders

Send a reminder the evening before a scheduled event, at 5 PM in the user’s local timezone.
  1. Schedule: When the user books, schedule the reminder for the day before at 5 PM local.
  2. 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.
  1. Schedule: When the user adds an item, schedule the email for 30 minutes later.
  2. Verify: When the webhook handler receives the request, check if the cart has been converted to an order.