n8nflow.net logo

Track Student Attendance with Mobile App, Google Sheets, and Email Alerts

by Oneclick AI SquadUpdated: Last update 2 months agoSource: n8n.io

Getting Started

A lightweight no-code workflow that captures student check-in data via a mobile app or webhook, stores it in a Google Sheet, and instantly notifies the class teacher via email.

🎯 What This Does

  • Students check in using a mobile app or QR code
  • Their data is formatted and saved to a Google Sheet
  • A notification email is sent to the class teacher in real time

🔧 Workflow Steps

StepDescription
Student Check-in (Webhook)Triggered via POST request from mobile app or QR scanner
Format DataCleans and prepares incoming JSON into structured format
Append or Update RowSaves student check-in data into Google Sheets
Email TeacherSends formatted check-in email to the class teacher
Success ResponseReturns a confirmation response to the mobile app or system

📱 Example Check-in Input (Webhook Body)

{
  "student_name": "Aarav Mehta",
  "student_id": "STU025",
  "class_name": "Grade 6B"
}

📊 Google Sheets Format

Student NameStudent IDClassDateTime
Aarav MehtaSTU025Grade 6B2025-08-0608:35

Date and time are added dynamically in the workflow.

⚙️ Setup Requirements

  • n8n Instance – Deployed with public webhook support
  • Google Sheets – Sheet with columns as shown above
  • Email SMTP Settings – For sending teacher notification

✅ Quick Setup Instructions

  1. Import the workflow into your n8n instance
  2. Replace the webhook URL in your mobile app
  3. Set your Google Sheet ID and range
  4. Enter the teacher’s email in the “Email Teacher” node
  5. Test with mock data
  6. Deploy and use live!