Track student attendance from CSV, email parents, and build an HTML dashboard — n8n 工作流

复杂度 定时18 个节点🏷️ Miscellaneous👁 1 次查看作者:Tejasv Makkar

概览

🚀 Overview

Automatically monitors daily student attendance from CSV files, identifies absent students, sends parent email alerts via SMTP, calculates risk scores, and generates an interactive HTML dashboard — all on a weekday schedule with no manual work needed.

⚙️ How it works

Schedule trigger — runs Monday–Friday at 17:30 Data ingestion — reads student_attendance.csv and filters to today's records only Absence check — splits students into Absent / Present branches Contact merge — matches ab

使用的节点

Send EmailCode

工作流预览

How it works
1. Runs every weekday at 17:30 (Mon–Fri)
2. Reads `student_attendance.csv` and filters to today'
3. Splits students into Absent / Present branches
4. Fetches parent cont
Trigger & data ingestion
Schedule trigger reads attendance CSV and filters to to
Absence routing & contact merge
Splits absent vs present students, fetches parent conta
Alert logic
Calculates risk level, attendance %, streak, and trend
Parent notifications
Generates and sends a colour-coded HTML email alert to
No absences branch
Skips email and dashboard when all students are present
Dashboard & report update
Builds interactive HTML dashboard and appends today's r
No Absences Today
R
Recurring Time Trigger
S
Student Attendance Data
E
Extract Attendance CSV
I
IF: Is Absent?
S
Students Contacts
E
Extract Contacts CSV
M
Merge Absent + Contacts
Alert Logic Block
Generate Absence Email
Build Dashboard and Report
Send Email
E
Existing Report History
E
Extract History CSV
Combine History + Build …
C
Convert Data
B
Build Visual Report and …
D
Date Filter
18 nodes19 edges

工作原理

  1. 1

    触发器

    工作流由 定时 触发器启动,按预定计划运行。

  2. 2

    处理

    数据流经 18 个节点, connecting code, converttofile, emailsend。

  3. 3

    输出

    工作流完成自动化并将结果发送到配置的目标。

节点详情 (18)

SE

Send Email

emailSend

#1
CO

Code

code

#2

如何导入此工作流

  1. 1点击右侧 下载 JSON 按钮保存工作流文件。
  2. 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入
  3. 3选择下载的 track-student-attendance-from-csv-email-parents-and-build-an-html-dashboard 文件并点击导入。
  4. 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
  5. 5点击 测试工作流 验证一切正常,然后激活它。

或直接在 n8n → 从 JSON 导入 中粘贴:

{ "name": "Track student attendance from CSV, email parents, and build an HTML dashboard", "nodes": [...], ...}

集成

codeconverttofileemailsendfilterifmergereadwritefilescheduletriggerspreadsheetfile

获取此工作流

一键下载并导入

下载 JSON在 n8n.io 上查看
节点18
复杂度high
触发器scheduled
查看次数1

创建者

Tejasv Makkar

Tejasv Makkar

@tmakkar

标签

codeconverttofileemailsendfilterifmergereadwritefilescheduletriggerspreadsheetfile

n8n 新手?

n8n 是一款免费开源的工作流自动化工具,支持自托管或使用云版本。

免费获取 n8n →

Related Miscellaneous Workflows