Settings

Clinic Profile
Reminder Times
WhatsApp API
Email (SMTP)
WA Templates
Email Templates
Phone Settings
Payments Module

Clinic Profile

Receives copies of all patient notifications + daily report
Include country code. Receives all WA notification copies.

Reminder Schedule Times

All times are in IST. Changes take effect immediately — the scheduler is updated without restarting the server.

Morning report sent to admin (default 7:00 AM)
Morning reminder on dose day (default 9:00 AM)
Evening reminder with .ics attachment (default 8:00 PM)
Time set inside .ics appointment (default 11:00 AM)

Prescription Expiry Popup Alerts

Shows a popup to staff when a patient's prescription is ending within the configured number of days. Triggers at the two times below.

Flag prescriptions expiring within this many days (default 3)
Daily email to admin listing prescriptions expiring within the threshold above (default 11:00 AM)
First daily in-app popup alert (default 12:00 PM)
Second daily in-app popup alert (default 5:00 PM)
Enable WhatsApp Notifications
When off, no WhatsApp messages are sent anywhere in the app — regardless of credentials below.

Meta WhatsApp Business Cloud API

— Checking…
Get your credentials from developers.facebook.com → My Apps → WhatsApp → API Setup. You need a verified WhatsApp Business Account.
Generate a permanent token from Meta Business Manager
Use this exact string in your Meta webhook configuration

Email SMTP Configuration

— Checking…
For Gmail: use smtp.gmail.com, port 587, and an App Password (not your regular password). Enable 2FA first, then create an App Password at myaccount.google.com/apppasswords.

WhatsApp Message Templates

Use {variable_name} placeholders. Available: {patient_name}, {clinic_name}, {course_name}, {session_number}, {pack_number}, {unit_number}, {units_per_pack}, {visit_date}, {next_pack_number}, {first_date}

Course Welcome
Sent immediately on patient registration · Variables: {patient_name}, {clinic_name}, {course_name}, {first_date}
Day-Before Reminder
Sent evening before dose day · Variables: all
Same-Day Reminder
Sent morning of dose day · Variables: all
Missed Dose Alert
Sent next morning if dose not marked done · Variables: {patient_name}, {course_name}, {visit_date}, {clinic_name}
Pack Reorder Alert (Admin only)
Sent when last unit is due today · Variables: {patient_name}, {course_name}, {pack_number}, {unit_number}, {next_pack_number}

Email Templates

Plain-text email bodies. Same {variable} placeholders as WhatsApp templates. Day-before email automatically gets a .ics calendar attachment.

Welcome Email
Day-Before Reminder Email
A .ics calendar file is automatically attached to this email
Same-Day Reminder Email
Missed Dose Email

Phone Number Visibility

Show Phone Numbers to Admin & Users
When off, phone numbers are masked as ••• ••••••• everywhere in the app for admin and user roles. Developer role always sees real numbers.

Payments Module

Enable Payments Module
When off, the Payments section is hidden from Admin and User roles — including the nav link, dashboard stats, and direct URL access. Developer role always sees it regardless of this setting.