Skip to main content

Student absence alerts via email & WhatsApp with attendance tracking

Workflow preview

Workflow preview
100%
Student absence alerts via email & WhatsApp with attendance tracking preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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...

Best for

  • Document Extraction automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.microsoftexcel, n8n-nodes-base.code, n8n-nodes-base.emailsend, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oneclick AI Squad.

Original n8n.io source

1.1 Workflow description

Title
Student absence alerts via email & WhatsApp with attendance tracking
Workflow name
Student absence alerts via email & WhatsApp with attendance tracking

📘 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

  • 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.

⚠️ Alert Logic

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

📊 Tracking Features

  • 🔢 Attendance Rate Calculation – Tracks each student's attendance percentage
  • 🔍 Pattern Analysis – Detects recurring absenteeism trends
  • 🚨 Risk Identification – Flags high-risk students for early intervention
  • 📈 Historical Reporting – Maintains daily logs for future reference

✅ Essential Prerequisites

  • Excel sheet or database with daily attendance logs
  • Excel sheet or database with student contact details
  • SMTP credentials for sending emails
  • WhatsApp API integration (e.g., Facebook Graph or Twilio)
  • Storage access for saving attendance reports

📁 Required Excel File Structures

Attendance Sheet (daily_attendance.xlsx)

Student ID Date Status
ST101 2025-08-06 Absent

Contacts Sheet (student_contacts.xlsx)

Student ID Name Email Phone
ST101 Aryan Shah [email protected] +919123456789

🧾 Expected Input Format Example

{
  "studentId": "ST101",
  "name": "Aryan Shah",
  "email": "[email protected]",
  "phone": "+919123456789",
  "status": "Absent",
  "date": "2025-08-06"
}

🚀 Key Features

  • Scheduled Daily Execution – Automated tracking at 10:30 AM
  • ✉️ Multi-Channel Notifications – Email + WhatsApp alerts to parents
  • 📊 Absence Pattern Monitoring – 30-day trend analysis
  • 🧠 Risk-Based Alerts – Smart classification into alert levels
  • 🗂️ Daily Reports – Easy to audit attendance summary logs

⚙️ 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

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Daily Attendance Check - 10:30 AM

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Read Today's Attendance

Type / Role
n8n-nodes-base.microsoftExcel - microsoftExcel
Config choices
Version 2

Block 3 - Read Student Contacts

Type / Role
n8n-nodes-base.microsoftExcel - microsoftExcel
Config choices
Version 2

Block 4 - Process Absent Students

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Prepare Absence Email

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Prepare Absence SMS

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Send Absence Email

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 8 - Send Absence WhatsApp

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Generate Attendance Report

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Save Attendance Report

Type / Role
n8n-nodes-base.microsoftExcel - microsoftExcel
Config choices
Version 2

Block 11 - Workflow Info

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Student absence alerts via email & WhatsApp with attendance tracking
Complexity intermediate
Nodes 11
Categories Document Extraction
Author Oneclick AI Squad
Published 06 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7042/7042.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Student absence alerts via email & WhatsApp with attendance tracking do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction use case.