Developer & DevOps

Track working and pause time

30 nodes 199 126 Webhook
Download

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. 1.Receive webhook data and convert it into processable variables for the workflow
  2. 2.Validate request status using if and switch nodes to distinguish between work and break periods
  3. 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

Notion

Details

Trigger Webhook
Nodes 30
Apps 1
Views 199
Downloads 126

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (30)

/

Create new page

Notion

#1

Update page with end date

Notion

#2

If pause_in_minuten is empty

If

#3

If page responded

If

#4

If page exist

If

#5

If page exist1

If

#6

If

If

#7

Set Break Duration

Set

#8

Update break duration for current day

Notion

#9

Set break duration for current day

Notion

#10

Get notion page by date

Notion

#11

Set Message - End time already tracked

Set

#12

Set Message - End time tracked

Set

#13

Set Message - Start time not yet tracked

Set

#14

Set Message - Start not yet tracked

Set

#15

Set Message - Break time tracked

Set

#16

Set Message - Break time updated

Set

#17

Set Message - Start time already tracked

Set

#18

Set Message - Start time already tracked1

Set

#19

Get notion page with todays date

Notion

#20

Switch

Switch

#21

Get notion page with todays date1

Notion

#22

Sticky Note

Sticky Note

#23

Sticky Note1

Sticky Note

#24

Sticky Note2

Sticky Note

#25

Sticky Note3

Sticky Note

#26

Sticky Note4

Sticky Note

#27

Respond to Webhook

Webhook

#28

Sticky Note5

Sticky Note

#29

Webhook - Track Time

Webhook

#30