🔬 Student absence alerts via email & WhatsApp with attendance tracking

982 views · 🔬 Document Extraction & Analysis

Description

📘 Student Absence Alerts & Attendance Tracking Automation

Automatically alerts parents about student absences and tracks 30-day attendance patterns to identify risks and trends.

🔧 Main Components

⚠️ Alert Logic

Based on the past 30-day absence pattern, the system classifies students into:

LevelAbsences in 30 DaysStatus
🔴 High5+Critical Alert
🟡 Medium3–4Warning
🟢 Low1–2Low Risk

📊 Tracking Features

✅ Essential Prerequisites

📁 Required Excel File Structures

Attendance Sheet (daily_attendance.xlsx)

Student IDDateStatus
ST1012025-08-06Absent

Contacts Sheet (student_contacts.xlsx)

Student IDNameEmailPhone
ST101Aryan Shaharyan@example.com+919123456789

🧾 Expected Input Format Example

{
  "studentId": "ST101",
  "name": "Aryan Shah",
  "email": "aryan@example.com",
  "phone": "+919123456789",
  "status": "Absent",
  "date": "2025-08-06"
}

🚀 Key Features

⚙️ Quick Setup Guide

  1. Import Workflow JSON into n8n.
  2. Configure schedule trigger at 10:30 AM.
  3. Set Excel file paths in “Read Today’s Attendance” and “Read Student Contacts”.
  4. Customize absence thresholds in the “Process Absent Students” node.
  5. Add SMTP details for the “Send Absence Email” node.
  6. Integrate WhatsApp API in the “Send Absence WhatsApp” node.
  7. Test with mock data and review reports.
  8. Activate the workflow.

🔧 Parameters to Configure

ParameterDescription
attendance_file_pathPath to today’s attendance records
contacts_file_pathPath to student contacts sheet
smtp_userEmail username for SMTP server
smtp_passwordPassword for SMTP server
whatsapp_api_urlEndpoint for sending WhatsApp messages
alert_thresholdsAbsence count thresholds for alerts

🔗 Nodes Used

Send Email, HTTP Request, Microsoft Excel 365, Schedule Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup