Send WhatsApp medication reminders and caregiver alerts with WATI and Google Sheets
π WhatsApp Medication Adherence & Caregiver Alert Automation
Ensure health and safety with a fully automated medication adherence system. This workflow manages the entire patient care cycleβfrom scheduled dosage reminders to interactive logging and automated caregiver escalationsβall through WhatsApp using WATI and Google Sheets.
π― What This Workflow Does
Turns WhatsApp into a proactive health assistant and caregiver's dashboard:
π Timed Dosage Reminders
A scheduled trigger fires 3x daily (Morning, Afternoon, Night) to identify which medications are due and send personalized WhatsApp alerts.
π¦ Smart Patient Routing
A Switch node detects patient replies to manage their health data in real-time:
taken: Logs the dose as complete and updates the patient's "Streak".
skip: Records the skipped dose and empathetic feedback while checking for consecutive skips.
snooze: Schedules a 30-minute follow-up reminder.
mystats: Generates a 7-day adherence report with visual progress bars.
mymeds: Provides the full daily medication schedule and instructions.
ποΈ Automated Caregiver Alerts
An hourly check detects "Pending" reminders. If a patient hasn't responded within 2 hours, the bot automatically alerts the designated caregiver via WhatsApp.
π Comprehensive Analytics
Caregivers can request a full patient report (e.g., report <phone>) to view a categorized summary of taken vs. missed doses.
β¨ Key Features
Slot-Based Intelligence:** Automatically determines if it is Morning, Afternoon, or Night to send only relevant medications. Gamified Adherence:** Tracks "Streaks" (consecutive days taken) with motivational emojis to encourage patient consistency. Visual Bar Charts:** Patients and caregivers receive structured reports using visual bars (βββββ) to show adherence percentages. Temporary Snooze Queue:** Uses a dedicated "SnoozeQueue" tab to ensure follow-up reminders aren't forgotten. Proactive Safety:** Built-in logic to detect 2+ consecutive skips, alerting caregivers before it becomes a health risk.
πΌ Perfect For
Elderly Care:** Providing automated support for seniors managing multiple daily medications. Chronic Condition Management:** Ensuring strict adherence for long-term treatments like hypertension or diabetes. Home Healthcare Agencies:** Scaling patient monitoring without increasing manual staff check-ins. Clinical Trials:** Tracking participant adherence with a digital, timestamped audit trail.
π§ What You'll Need
Required Integrations
WATI** β To deliver medication reminders and process patient responses. Google Sheets** β To store the master medication list, adherence logs, and snooze queue.
Optional Customizations
AI Analysis:** Integrate OpenAI to answer patient questions about specific medication side effects. Emergency Escalation:** Add a voice call node if a high-priority medication is missed 3 times in a row.
π Quick Start
Import Template β Copy the JSON and import it into your n8n instance. Set Credentials β Connect your WATI and Google Sheets accounts. Configure Sheets β Ensure your Google Sheet has three tabs:
Medications:
phone, patientName, medName, dosage, frequency, timeSlots, status, caregiverPhone
AdherenceLog:
logKey, phone, patientName, date, slot, status, sentAt, respondedAt, caregiverPhone
SnoozeQueue:
phone, patientName, followUpAt, snoozedAt, status
Test Reminders β Add a test row to your sheet and manually trigger the 8 AM node. Simulate a Reply β Reply taken or mystats to your WATI number to see your report generated live.
π¨ Customization Options
Custom Time Windows:** Modify the Filter Medications by Time Slot code to align with specific clinic hours. Empathetic Messaging:** Customize the reinforce messages in the Process Taken and Process Skip nodes to match your brand voice. Adherence Thresholds:** Adjust the caregiver alert logic to trigger after 1 hour or 4 hours depending on medication sensitivity.
π Expected Results
95% adherence transparency for caregivers and family members. Reduced health risks by identifying missed doses within a 2-hour window. Improved patient morale through positive streak reinforcement and visual progress. Efficient monitoring: One caregiver can monitor dozens of patients through a single WhatsApp interface.
Ready to launch your digital health assistant? Import this template and connect your Google Sheets to start improving patient adherence today!
Related Templates
Send Daily Weather Forecasts from OpenWeatherMap to Telegram with Smart Formatting
π€οΈ Daily Weather Forecast Bot A comprehensive n8n workflow that fetches detailed weather forecasts from OpenWeatherMap...
Lookup IP Geolocation Details with IP-API.com via Webhook
This n8n template enables you to instantly retrieve detailed geolocation information for any given IP address by simply ...
Send alert when data is created in app/database
This template shows how you can take any event from any service, transform its data and send an alert to your desired ap...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments