Notify rules — event-triggered notifications
Build rules that notify staff when specific events happen (low enrollment, stuck booking, instructor reminders).
Notify rules send a notification (in-app + email + SMS + push, depending on recipient preferences) when a specific event fires. Unlike full automations, notify rules only send messages — they do not update data. Go to Admin → Automations → Notify Rules (https://cpr.co/admin/automations/notify-rules).
The three built-in event triggers
| Trigger | Fires when | Typical use |
|---|---|---|
| class_low_enrollment | A class is within 48 hours of start and below minimum enrollment | Alert scheduling staff to promote or cancel |
| class_starting_soon | A class starts within 24 hours | Remind the assigned instructor |
| stuck_booking | A booking is pending/unpaid for longer than a threshold | Prompt ops to follow up |
Building a rule
- 1Click + New rule.
- 2Pick a trigger from the dropdown.
- 3Optionally add conditions (e.g., "only for classes at location X" or "only for deals over $500").
- 4Set the recipients — staff roles (all supervisors), a specific user (user:{id}), or a field from the event payload (context:instructor_id).
- 5Fill in the title, body, and optional link. Use {{mustache}} tokens to pull values out of the event — {{class_name}}, {{student_count}}, {{booking_id}}, etc.
- 6Pick a category (booking, marketing, system) and priority (low/normal/high).
- 7Click Test-fire to preview the notification against a recent real event.
- 8Toggle Active on and Save.
Cron schedule
When each event fires
- class_low_enrollment — daily at 7am UTC
- class_starting_soon — hourly
- stuck_booking — every 2 hours
Idempotency
Each event carries a stable event key (e.g., "class_starting_soon:{class_id}"). We log fired events to automation_fired_log and will not re-send the same (rule, event_key) twice. This prevents duplicate reminders.
Was this article helpful?
Still need help?
We're here for you — call or email us any time during business hours.
Mon–Fri 8am–5pm Central Time