Track working and pause time
Workflow Description
An automation template that tracks work and pause periods via webhooks and records time logs in Notion. Receives web requests, processes them with conditional logic, and automatically updates time records with precise timestamps.
How it works
- 1.Receive webhook data and convert it into processable variables for the workflow
- 2.Validate request status using if and switch nodes to distinguish between work and break periods
- 3.Log timestamps and status information to Notion database with automatic timestamping
Use cases
- Monitor employee working hours and break periods with minimal manual intervention
- Build accurate productivity reports by capturing detailed time-tracking data for team members
Requirements
- Active Notion account with a pre-configured database schema for time logging
- Reliable webhook source (web application or hardware device) sending requests at appropriate intervals
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (30)
Create new page
Notion
Update page with end date
Notion
If pause_in_minuten is empty
If
If page responded
If
If page exist
If
If page exist1
If
If
If
Set Break Duration
Set
Update break duration for current day
Notion
Set break duration for current day
Notion
Get notion page by date
Notion
Set Message - End time already tracked
Set
Set Message - End time tracked
Set
Set Message - Start time not yet tracked
Set
Set Message - Start not yet tracked
Set
Set Message - Break time tracked
Set
Set Message - Break time updated
Set
Set Message - Start time already tracked
Set
Set Message - Start time already tracked1
Set
Get notion page with todays date
Notion
Switch
Switch
Get notion page with todays date1
Notion
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Respond to Webhook
Webhook
Sticky Note5
Sticky Note
Webhook - Track Time
Webhook