Templates / Track repeat absences and send approval-based alerts via Google Sheets and Gmail

Track repeat absences and send approval-based alerts via Google Sheets and Gmail

Ready for 3.0

by AYLA BATOOL ✓ · 2 views · created 2026-09-27 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 12 nodes and runs on a schedule (cron 0 8 * * 1-6). Along the way it connects Google Sheets and Gmail.

How it runs

Trigger: On a schedule (cron 0 8 * * 1-6).

  1. Read Attendance from Google Sheets (Google Sheets): uses Google Sheets
  2. Calculate Absence Thresholds (Code): runs custom JavaScript code
  3. Build Approval Batch (Code): runs custom JavaScript code
  4. Request Administrator Approval (Gmail): send and wait for a reply
  5. Is Initial Approval Granted (If): checks a condition and branches into true / false
  6. Merge: merges the data from its input branches
  7. Retry Approval Request (Gmail): send and wait for a reply
  8. Send Approved Gmail Notifications (Gmail): uses Gmail
  9. Is Retry Approved (If): checks a condition and branches into true / false
  10. Log Approval Outcome (Code): runs custom JavaScript code

…plus 1 more step. See the full node list below.

Services it uses

Google SheetsGmail

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Quick overview This workflow runs every morning at 8:00 (Mon–Sat, Asia/Karachi), reads attendance records from Google Sheets, detects repeat absences based on consecutive days and monthly totals, and sends a Gmail approval request to an administrator before…

Excerpt from AYLA BATOOL's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.