Track Student Arrival with iOS Automation, Google Sheets & Email Alerts
This workflow automates **real-time student tracking** using **iOS Shortcuts and geolocation data**, notifying both **teachers and parents** based on geofenced logic. ## What This Workflow Does - Receives student **location updates via webhook** (iOS Shortcuts) - Detects if the student has **arrived at school** - Logs arrival data to Google Sheets - **Sends email alerts** to teachers and/or parents based on location ## Workflow Steps | Step | Description | | --------------------------- | -------------------------------------------------------- | | **Location Update Webhook** | Triggered via iOS Shortcut when student location updates | | **Process Location Data** | Extracts coordinates and metadata | | **Student Arrived?** | Checks if student entered school zone | | **Log School Arrival** | Adds arrival data to Google Sheet | | **At School?** | Double-checks geofence condition before notifying | | **Notify Teacher** | Sends email if student is confirmed at school | | **Notify Parent** | Sends email to parent (can vary based on geofence logic) | | **Success Response** | Returns a 200 response to the triggering device | ## How the Logic Works 1. The student's phone runs a shortcut when near school. 2. Sends coordinates to webhook. 3. Workflow compares coordinates with predefined geofence (e.g., radius around school). 4. If inside school zone: * Log arrival * Notify teacher and/or parent 5. Else: * Optionally notify parent only ## iOS Shortcut Sample (Trigger Setup) - **Automation Trigger**: Arrive at Location (e.g., School) - **Action**: Run Shortcut → Make Web Request (POST) **POST URL:** ``` https://your-n8n-instance.com/webhook/location-update ``` **Body Example:** ```json { "student_id": "SU042", "student_name": "Anaya Joshi", "lat": 19.0760, "lng": 72.8777, "timestamp": "2025-08-06T08:05:00" } ``` ## Google Sheets Logging | Student ID | Name | Date | Time | Status | | ---------- | ----------- | ---------- | ----- | ------- | | SU042 | Anaya Joshi | 2025-08-06 | 08:05 | Arrived | ## Setup Requirements - **n8n Instance** with webhook support - **Google Sheet** with appropriate columns - **iOS Shortcut** setup on student device - **Teacher and Parent Email Addresses** configured in workflow
- Platform
- n8n
- Category
- Education
- Price
- $9.99
- Creator
- Oneclick AI Squad
- if
- set
- webhook
- emailSend
- stickyNote
- httpRequest
- respondToWebhook
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Education workflows
- Learn JSON Basics with an Interactive Step-by-Step Tutorial for Beginners$14.99
- Learn n8n Expressions with an Interactive Step-by-Step Tutorial for Beginners$14.99
- Automated AI Degree Audit Using Google Sheets and OpenAI$9.99
- Learn API Fundamentals with an Interactive Hands-On Tutorial Workflow$24.99
- Master Webhook Integration and Security with Supabase in n8n$14.99
- Master JavaScript Code Node with Interactive n8n Tutorial$9.99
More from Oneclick AI Squad
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.