Svaasthi

Next.jsTypeScriptTailwind CSSNeon PostgresNeon AuthRingg AIWeb Push
Svaasthi preview

overview.

A medicine reminder system that automates daily calls at per-slot times using cron jobs and Ringg AI. The caregiver dashboard provides real-time updates on call statuses, missed-dose Web Push alerts, call history, and manual controls to pause, resume, or trigger calls on-demand.

technical implementation.

Automated Call Pipeline

Implemented a daily Vercel cron job running at 00:15 IST that schedules reminder calls for all active patients using Ringg AI's scheduled_at feature.

AI Voice Conversational Agent

Integrated Ringg AI to call patients, run short conversations, and intelligently classify whether the medicine was taken using custom analysis fields.

Real-time Webhook & Push Notifications

Built a webhook system to map call results to dose statuses (taken, missed, etc.) and implemented Web Push notifications to immediately alert caregivers on missed doses.

SSR Dashboard

Developed a Server-Side Rendered Next.js dashboard for caregivers to monitor daily statuses, view full call history, and perform on-demand actions with real-time UI updates.

key features.

  • Automated daily calls via Vercel cron jobs and Ringg AI with morning, afternoon, evening, and night slots
  • Missed-dose Web Push alerts sent instantly to the caregiver
  • One-tap Pause and Resume functionality that manages Ringg scheduled calls
  • On-demand 'Call now' and 'Run now' features for immediate action
  • Comprehensive Caregiver Dashboard with call history and cron status
  • Secure Neon Auth email/password sign-in with per-user scoped data
  • Automated webhook reconciliation for dose status mapping

screenshots.

Svaasthi Hero

Svaasthi medicine reminder landing hero.

Svaasthi Caregiver Dashboard

Caregiver dashboard showing today's tally, next call, and history.

Svaasthi Authentication Screen

Secure login for caregivers.

challenges & solutions.

Challenge: Reliable scheduling of daily reminder calls

Solution: Utilized Vercel cron jobs combined with Ringg AI's native scheduling to queue calls precisely for each patient's specific time slots.

Challenge: Timely alerts for caregivers

Solution: Implemented Web Push notifications that trigger immediately upon a missed dose webhook event from the AI voice agent.