← All N8N workflows
Automation & utilitiesClockifyCompare DatasetsHTTP RequestIfLimit

Notion to Clockify Sync Template

Configured with Clockify, Compare Datasets, HTTP Request, Limit, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TriggerWebhookWebhookTransformGlobalsEdit FieldsTriggerSchedule TriggerSchedule TriggerIntegrationGet first workspace IDClockifyTransformCompare DatasetsCompare DatasetsRoutingStop and ErrorStop And ErrorRoutingStructure outputNo OpTransformMap valuesEdit FieldsTransformMap values1Edit FieldsRoutingNo OperationNo OpIntegrationGet active Clients fromNotionNotionIntegrationGet active Clients fromClockifyClockifyRoutingIf unmapped in NotionIfTransformSet new valuesEdit FieldsIntegrationUpdate Client inClockifyClockifyIntegrationGet archived Clientfrom NotionNotionIntegrationCreate Client inClockifyClockifyIntegrationStore Clockify ID inNotionNotionIntegrationRemove Client fromClockifyClockifyTransformMergeMergeRoutingNo Operation, donothingNo OpIntegrationGet active Projectsfrom NotionNotionIntegrationGet active Projectsfrom ClockifyClockifyWeb / APIUpdate Project inClockifyHTTP RequestIntegrationGet completed Projectfrom NotionNotionWeb / APICreate Project inClockifyHTTP RequestIntegrationRemove Project fromClockifyClockifyRoutingStructure output1No OpRoutingNo Operation1No OpTransformMap values2Edit FieldsTransformMap values3Edit FieldsTransformCompare Datasets1Compare DatasetsRoutingIf unmapped in Notion1IfTransformSet new values1Edit FieldsIntegrationStore Clockify ID inNotion1NotionRoutingStop and Error1Stop And ErrorTransformMerge1MergeRoutingNo Operation, donothing2No OpIntegrationGet active Tasks fromNotionNotionIntegrationGet active Tasks fromClockifyClockifyIntegrationUpdate Task in ClockifyClockifyIntegrationGet completed Task fromNotionNotionIntegrationCreate Task in ClockifyClockifyIntegrationRemove Task fromClockifyClockifyRoutingStructure output2No OpRoutingNo Operation2No OpTransformMap values4Edit FieldsTransformMap values5Edit FieldsIntegrationGet active Projectsfrom Clockify1ClockifyTransformCompare Datasets2Compare DatasetsRoutingIf unmapped in Notion2IfTransformSet new values2Edit FieldsIntegrationStore Clockify ID inNotion2NotionRoutingStop and Error2Stop And ErrorTransformLimitLimitTransformLimit1Limit

Node categories in this workflow

  • Trigger
  • Transform
  • Integration
  • Routing
  • Web / API

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
WebhookTriggerWebhookSee node parameters
GlobalsTransformEdit FieldsSee node parameters
Schedule TriggerTriggerSchedule TriggerSee node parameters
Get first workspace IDIntegrationClockifyworkspace
Compare DatasetsTransformCompare DatasetsSee node parameters
Stop and ErrorRoutingStop And ErrorSee node parameters
Structure outputRoutingNo OpSee node parameters
Map valuesTransformEdit FieldsSee node parameters
Map values1TransformEdit FieldsSee node parameters
No OperationRoutingNo OpSee node parameters
Get active Clients from NotionIntegrationNotiondatabasePage / getAll
Get active Clients from ClockifyIntegrationClockifyclient / getAll
If unmapped in NotionRoutingIfSee node parameters
Set new valuesTransformEdit FieldsSee node parameters
Update Client in ClockifyIntegrationClockifyclient / update
Get archived Client from NotionIntegrationNotiondatabasePage / getAll
Create Client in ClockifyIntegrationClockifyclient
Store Clockify ID in NotionIntegrationNotiondatabasePage / update
Remove Client from ClockifyIntegrationClockifyclient / delete
MergeTransformMergeSee node parameters
No Operation, do nothingRoutingNo OpSee node parameters
Get active Projects from NotionIntegrationNotiondatabasePage / getAll
Get active Projects from ClockifyIntegrationClockifygetAll
Update Project in ClockifyWeb / APIHTTP RequestPUT
Get completed Project from NotionIntegrationNotiondatabasePage / getAll
Create Project in ClockifyWeb / APIHTTP RequestPOST
Remove Project from ClockifyIntegrationClockifyclient / delete
Structure output1RoutingNo OpSee node parameters
No Operation1RoutingNo OpSee node parameters
Map values2TransformEdit FieldsSee node parameters
Map values3TransformEdit FieldsSee node parameters
Compare Datasets1TransformCompare DatasetsSee node parameters
If unmapped in Notion1RoutingIfSee node parameters
Set new values1TransformEdit FieldsSee node parameters
Store Clockify ID in Notion1IntegrationNotiondatabasePage / update
Stop and Error1RoutingStop And ErrorSee node parameters
Merge1TransformMergeSee node parameters
No Operation, do nothing2RoutingNo OpSee node parameters
Get active Tasks from NotionIntegrationNotiondatabasePage / getAll
Get active Tasks from ClockifyIntegrationClockifytask / getAll
Update Task in ClockifyIntegrationClockifytask / update
Get completed Task from NotionIntegrationNotiondatabasePage / getAll
Create Task in ClockifyIntegrationClockifytask
Remove Task from ClockifyIntegrationClockifytask / delete
Structure output2RoutingNo OpSee node parameters
No Operation2RoutingNo OpSee node parameters
Map values4TransformEdit FieldsSee node parameters
Map values5TransformEdit FieldsSee node parameters
Get active Projects from Clockify1IntegrationClockifygetAll
Compare Datasets2TransformCompare DatasetsSee node parameters
If unmapped in Notion2RoutingIfSee node parameters
Set new values2TransformEdit FieldsSee node parameters
Store Clockify ID in Notion2IntegrationNotiondatabasePage / update
Stop and Error2RoutingStop And ErrorSee node parameters
LimitTransformLimitSee node parameters
Limit1TransformLimitSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. 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

  • clockifyApi
  • notionApi

Workflow notes

Set Globals (optional)

Set Globals (optional)

By default the fist available workspace ID is set. This can be overridden here.

Set triggers

Set triggers

By default this workflow runs once a day. Additionally a webhook allows for manual calls using a Notion button.

Select database

Select database

Choose the tasks database.

Select database

Select database

Choose the clients database.

Select database

Select database

Choose the projects database.

Setup

Setup

Prerequisites

This workflow expects a database structure with at least having the structure mentioned below. Alternatively start with this Notion Template

Clients

  • Name (Text)
  • Archive (Checkbox)
  • Clockify Client ID (Text)

Projects

  • Name (Text)
  • Status (Status)
    • required options: "Done", "Obsolete" and at least one more
    • recommended options: "Backlog", "In progress", "On hold"
  • Clockify Client ID (Rollup: Clients -> Clockify Client ID)
  • Clockify Project ID (Text)

Tasks

  • Name (Text)
  • Status (Status)
    • required options: "Done", "Obsolete" and at least one more
    • recommended options: "Backlog", "In progress", "On hold"
  • Clockify Project ID (Rollup: Projects -> Clockify Project ID)
  • Clockify Task ID (Text)
  • Clients (Rollup: Projects -> Clients)

Update this workflow

  • Set the credentials accordingly
  • Check for all other yellow sticky notes

Add report button in Notion (optional)

Add a Formula field named "Clockify Report" or similar to the projects database and insert the following value: if(prop("Clockify Project ID").length() > 0, link(style("⏱️ View open time logs", "grey_background"), "https://app.clockify.me/reports/detailed?start=" + formatDate(dateSubtract(today(), 1, "years"), "YYYY-MM-DD") + "T00:00:00.000Z&end=" + formatDate(today(), "YYYY-MM-DD") + "T23:59:59.999Z&filterValuesData=%7B%22tags%22:%5B%2267c381166730bf39cdcce516%22%5D,%22projects%22:%5B%22" + prop("Clockify Project ID") + "%22%5D%7D&filterOptions=%7B%22tags%22:%7B%22status%22:%22ACTIVE%22,%22contains%22:%22DOES_NOT_CONTAIN%22%7D,%22projects%22:%7B%22status%22:%22ACTIVE%22%7D%7D&page=1&pageSize=50"), "")

Add sync button to Notion (optional)

This requires a paid Notion plan

  • Grab the production URL of the Webhook Node
  • Create a button in Notion next to a view of the Clients Database
  • Add a webhook call action and paste copied URL
  • Name the button "Sync to Clockify" or similar
Notion to Clockify Sync Template

Notion to Clockify Sync Template

Purpose and structure

This folder contains the Notion to Clockify Sync Template workflow. Its executable nodes use clockify, compareDatasets, httpRequest, if, limit, merge, noOp, notion, scheduleTrigger, set, stopAndError, 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, Schedule Trigger

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/Stopanderror/1498_Stopanderror_Limit_Sync_Webhook.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • Sync Clients
  • Sync Projects
  • Sync Tasks

More in Automation & utilities