Automated Work Attendance with Location Triggers
Configured with Google Drive, Google Sheets, Webhook. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Files / media
- Data store
- Code
- Routing
- Transform
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Webhook | Trigger | Webhook | See node parameters |
| Google Drive | Files / media | Google Drive | fileFolder |
| Create Worksheet | Data store | Google Sheets | spreadsheet |
| Return if Null | Code | Code | See node parameters |
| Doesn't exist? | Routing | If | See node parameters |
| Set Logging Details | Transform | Edit Fields | See node parameters |
| Create Log | Data store | Google Sheets | append |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
googleDriveOAuth2ApigoogleSheetsOAuth2Api
Workflow notes
Location-Based Time Tracking
Location-Based Time Tracking
This automation streamlines your time tracking by using location triggers. Here's how it works:
Create two shortcuts in the iPhone Shortcuts app:
Name one "Check-In" and the other "Check-Out." Within each shortcut, use the "Get Content from URL" action to call the Webhook. Set the Header Direction for "Check-In" or "Check-Out"
Now, whenever you enter or exit the specified location, your iPhone will automatically record the time in your Google Sheet. This creates a seamless and accurate log of your work hours or time spent at a particular place.
Automated Work Attendance with Location Triggers
Automated Work Attendance with Location Triggers
Purpose and structure
This folder contains the Automated Work Attendance with Location Triggers workflow. Its executable nodes use code, googleDrive, googleSheets, if, set, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Webhook
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Code/2008_Code_Webhook_Automate_Webhook.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- Check if the Worksheet Exists
- Log Check-In or Check-Out