Automatically alerts parents about student absences and tracks 30-day attendance patterns to identify risks and trends.
Daily Attendance Check – 10:30 AM
Triggers the workflow every day at 10:30 AM.
Read Today’s Attendance
Retrieves current-day attendance records from the source Excel or database.
Read Student Contacts
Reads contact details (email, phone) of students for alert delivery.
Process Absent Students
Identifies students who are absent and unexcused for the day.
Prepare Absence Email
Generates customized email content for absent students.
Send Absence Email
Sends an absence alert email to the student’s parent/guardian.
Prepare Absence SMS
Formats WhatsApp-friendly message for alerts.
Send Absence WhatsApp
Sends the WhatsApp message using API (e.g., Facebook Graph).
Generate Attendance Report
Prepares a daily attendance summary with absence level classifications.
Save Attendance Report
Appends the generated report to a historical attendance sheet.
Based on the past 30-day absence pattern, the system classifies students into:
Level | Absences in 30 Days | Status |
---|---|---|
🔴 High | 5+ | Critical Alert |
🟡 Medium | 3–4 | Warning |
🟢 Low | 1–2 | Low Risk |
daily_attendance.xlsx
)Student ID | Date | Status |
---|---|---|
ST101 | 2025-08-06 | Absent |
student_contacts.xlsx
)Student ID | Name | Phone | |
---|---|---|---|
ST101 | Aryan Shah | [email protected] | +919123456789 |
{
"studentId": "ST101",
"name": "Aryan Shah",
"email": "[email protected]",
"phone": "+919123456789",
"status": "Absent",
"date": "2025-08-06"
}
Parameter | Description |
---|---|
attendance_file_path |
Path to today's attendance records |
contacts_file_path |
Path to student contacts sheet |
smtp_user |
Email username for SMTP server |
smtp_password |
Password for SMTP server |
whatsapp_api_url |
Endpoint for sending WhatsApp messages |
alert_thresholds |
Absence count thresholds for alerts |