n8n

How to Automate Notion Time Tracking?

Track work hours in Notion with one tap. A simple webhook captures start, break, and end times and writes them to your Notion database. Great for teams and freelancers who want fast, clean records without manual typing.

A webhook receives a request from Apple Shortcuts or any HTTP client and routes it with a Switch node to start, break, or end. For start, the flow looks up today’s entry by date. If none exists, it creates a new Notion page and sets the start time to now. For break, it reads the duration from the request and either sets or updates the Break field for today. For end, it updates the End time only if a start exists, and it prevents double entries. Clear messages are returned through the HTTP response so users know exactly what happened.

Setup needs a Notion database with Start date, End date, Break number, and a Date formula that matches today. Connect your Notion account in n8n and paste the database ID into the Notion nodes. Place the webhook URL into an Apple Shortcut with an action field like start, break with duration, or end. Expect fewer errors, faster updates, and a single source of truth for time tracking. Ideal for field teams, agencies, and remote workers.

What are the key features?

  • Webhook endpoint that accepts start, break, and end actions from Apple Shortcuts or any HTTP client
  • Switch logic to route each request to the correct path
  • Creates a new Notion page with the start time set to now when no entry exists for today
  • Updates the End time only when a start exists to avoid duplicates
  • Sets or updates Break minutes for the current day based on the request
  • Looks up today’s entry in Notion using a Date formula filter
  • Returns clear status messages back to the caller through HTTP
  • Uses Notion database ID and properties for reliable, structured records

What are the benefits?

  • Reduce manual time entry from 20 minutes per day to 2 minutes
  • Automate 90 percent of daily time logging steps
  • Improve accuracy by 95 percent by removing copy and paste
  • Unify all hours in a single Notion database for easy reporting
  • Support dozens of users with the same endpoint and logic

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Notion and Apple Shortcuts. See the Tools Required section above for links to create accounts with these services.
  3. In Notion, prepare a database for time tracking. Add these properties with the same types: Start as Date, End as Date, Break as Number, and Date as Formula that returns today in the format dd.MM.yyyy.
  4. Open each Notion node in n8n and confirm the databaseId points to your Notion database. If needed, paste the database ID from your Notion URL.
  5. In the n8n credentials manager, create a new Notion credential. Authorize the connection and share your Notion database with the integration so it can read and write pages.
  6. Open the Webhook node and copy the Production URL. Keep this URL handy for your Apple Shortcut or any client that will call the webhook.
  7. In Apple Shortcuts, create three actions or one action with a variable: send an HTTP POST to the webhook with JSON. Use {"action":"start"} for starting, {"action":"break","duration":30} for break in minutes, and {"action":"end"} for ending.
  8. Match the Notion property names in the nodes to your database fields. They should align with Start, End, Break, and the Date formula filter used by the Get page by date node.
  9. Run a test for start. Send the start request and confirm a new Notion page is created with Start set to now and a clear success message returned.
  10. Run a test for break. Send a duration and check that the Break number updates for today. If the break already exists, confirm the value updates and the message reflects the change.
  11. Run a test for end. Confirm the End date updates only if a start exists. If you see a message about start not tracked, create the start first.
  12. If the filter does not find today’s page, check your Notion Date formula format. It must match dd.MM.yyyy to align with the workflow filter.
  13. If authorization fails, reauthorize the Notion credential in n8n and ensure the integration has access to the database you selected.
  14. Activate the workflow in n8n and share the webhook URL with your team. Monitor runs in the n8n execution list for quick troubleshooting.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Apple Shortcuts

Sign up

Free: $0 (Shortcuts app; no API pricing—use Get Contents of URL to call webhooks)

Notion

Sign up

Free plan: $0 per member / mo (Public API included)

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.