Reminder Event
Event reminder notifications sent to users registered to the event.
| Attribute | |
|---|---|
| Channels | email, in-app, push |
| User types | Students, Career Services, Employers |
| Regions | NA, EU |
| Platforms | web, iOS, Android |
| Product area | Events |
| Notification preference | reminder_event |
| Notification config | /v2/reminder_event.yml |
Audience
Students, Career Services staff, and Employers who have registered for events.
Trigger
There is a clock event that runs with the following logic:
- Send 1 reminder the day before
- Send another reminder if the event is 4 hours or less away from starting
- If an event was created and starts within 5 hours, send one reminder notification when clock.rb runs > 1 hour from now
How to test
Command line
# Log onto staging pod
seira staging handshake pods connect --dedicated
# Open rails console
bundle exec rails c
# Find a future event
event = Event.find_by(id:1)
# Double check if the event is eligible
event.end_date < Time.current # Should return false
event.approved? # Should return true
# Check registered users
event.reload
event.registered_users.pluck(:id)
# Create the activity
ActivityCreator.create(
primary_object: event,
action: 'reminder'
)
E2E
Register for an upcoming event and wait for the scheduled reminder times (1 day before and 4 hours before), or manually trigger the clock job.
Additional info
Implementation
The notification uses the monolith Activity system and clock-based triggers to send timely reminders.
Email Channel
- ActivityMailer
In-App Channel
- Notification Distributor
Push Channel
- Android: Firebase
- iOS: Iterable API
- Push Template
Aliases
- Event Reminder
- Event Notification
- Upcoming Event