Receive Automatic 10-Day Follow-Up Reminder for Unacknowledged Assignment
The Notification Scenario Engine includes a time-based follow-up rule specific to Norges Blindeforbund's workflow requirement. A Supabase scheduled Edge Function runs daily and queries the assignment_dispatches and assignment_read_receipts tables to identify dispatched assignments that have no associated read receipt and whose dispatch timestamp is exactly 10 days prior (with a 24-hour window). For each qualifying assignment, a push notification is sent to the assigned peer mentor reminding them to review and acknowledge the pending assignment. The notification body includes the assignment reference (non-sensitive) and links to the Assignment Detail Screen. The 10-day threshold is configurable per organization.
User Story
Acceptance Criteria
- Given a peer mentor received an assignment dispatch 10 days ago and has not created a read receipt, when the daily Edge Function runs, then a follow-up push notification is enqueued for that peer mentor
- Given a peer mentor received an assignment dispatch 10 days ago but has already opened and acknowledged it, when the daily check runs, then no follow-up notification is sent
- Given a follow-up notification is sent, when the peer mentor taps it, then they are deep-linked to the specific assignment requiring acknowledgement
- Given a peer mentor has disabled follow-up reminders in notification settings, when the 10-day check runs, then no reminder is dispatched
- Given the organization has configured a custom follow-up threshold (e.g., 7 days), when the Edge Function runs, then the organization-specific threshold is used rather than the default 10 days
Business Value
Blindeforbundet identified unacknowledged assignment follow-up as one of their most critical operational requirements. When a peer mentor fails to acknowledge an assignment, the individual needing support may wait indefinitely without any contact. The 10-day automated reminder creates a safety net that operates without any manual coordinator effort, ensuring that dormant assignments surface before they become critical failures of care. This directly addresses the statistic that 40% of peer mentors were dissatisfied with follow-up — by automating what was previously a manual and often missed coordinator responsibility.
Components
- Notification Scenario Engine service
- Push Notification Service service
- Push Notification Gateway infrastructure
- Notification Repository data