Templates / Backup Clockify to Github based on monthly reports

Backup Clockify to Github based on monthly reports

Ready for 3.0

by Mario ✓ · 749 views · created 2025-03-12 · DevOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 16 nodes and runs on a schedule (every day at 05:00). Along the way it connects Clockify and GitHub.

How it runs

Trigger: On a schedule (every day at 05:00).

  1. Get first workspace (Clockify): work with workspace
  2. Globals (Edit Fields (Set)): sets 3 fields: workspace_id, github_repo.owner, github_repo.name
  3. Set month indexes (Edit Fields (Set)): sets 1 field: monthIndex
  4. Split Out: splits a list into separate items
  5. Set intervals (Edit Fields (Set)): sets 3 fields: reportName, startDate, endDate
  6. Get detailed monthly report (HTTP Request): calls an HTTP API (POST)
  7. Check if file exists in GitHub (GitHub): get (file)
  8. Point to new data (Edit Fields (Set)): sets 1 field: data
  9. Extract from File: extracts data from a file (from json)
  10. Check for 404 error message (If): checks a condition and branches into true / false

…plus 5 more steps. See the full node list below.

Services it uses

ClockifyGitHub

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

Purpose This workflow creates a versioned backup of an entire Clockify workspace split up into monthly reports. How it works - This backup routine runs daily by default - The Clockify reports API endpoint is used to get all data from the workspace based on…

Excerpt from Mario's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.