Block 1 - Webhook
- Type / Role
- n8n-nodes-base.webhook - webhook
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
This n8n workflow automates attendance tracking for construction workers at a designated site in Thaltej, Ahmedabad (GPS coordinates: 23.0489, 72.5118). Using geofencing technology, it logs "Punch ...
n8n-nodes-base.webhook, n8n-nodes-base.function, n8n-nodes-base.emailsend, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oneclick AI Squad.
Original n8n.io sourceThis n8n workflow automates attendance tracking for construction workers at a designated site in Thaltej, Ahmedabad (GPS coordinates: 23.0489, 72.5118). Using geofencing technology, it logs "Punch In" and "Punch Out" times when workers enter or exit a predefined 100-meter radius around the site, requiring no manual input. Attendance data is stored in Google Sheets for easy access and reporting, and error notifications are sent via email to ensure reliable operation.
Webhook Trigger:
/webhook/geofence-thaltej-attendance.{
"latitude": 23.0489,
"longitude": 72.5118,
"event": "enter", // or "exit"
"userId": "worker123"
}
Validate Geofence & Format Log:
latitude, longitude, event, userId).event ("enter" to "in", "exit" to "out") and formats the log with current date and time (e.g., Punch Type: "in", Punch Date: "2025-08-01", Punch Time: "11:53:07").Save to Google Sheets:
User ID, Punch Type, Punch Date, Punch Time.Error Notification via Email:
| User ID | Punch Type | Punch Date | Punch Time |
|---|---|---|---|
| worker123 | in | 2025-08-01 | 11:53:07 |
| worker123 | out | 2025-08-01 | 13:30:20 |
| worker123 | in | 2025-08-01 | 13:50:21 |
Import Workflow:
Configure GPS Tracking App:
/webhook/geofence-thaltej-attendance) with the payload:{
"latitude": 23.0489,
"longitude": 72.5118,
"event": "enter", // or "exit"
"userId": "worker123"
}
Set Up Google Sheets:
User ID, Punch Type, Punch Date, Punch Time.https://docs.google.com/spreadsheets/d/[your_sheet_id]/edit).sheetId in the workflow.Configure Email Notifications:
Activate Workflow:
Monitor and Verify:
radius value in the Function node (e.g., change from 100 meters to 200 meters).latitude and longitude in the Function node for a different site.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.
| Workflow | Automate construction site attendance tracking with geofencing, Google Sheets & email alerts |
|---|---|
| Complexity | intermediate |
| Nodes | 8 |
| Categories | HR |
| Author | Oneclick AI Squad |
| Published | 01 Aug 2025 |
Use the JSON export at /data/workflows/6774/6774.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
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.
This n8n workflow automates attendance tracking for construction workers at a designated site in Thaltej, Ahmedabad (GPS coordinates: 23.0489, 72.5118). Using geofencing technology, it logs "Punch ...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
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 HR use case.