Skip to main content

Backup Clockify to Github based on monthly reports

Workflow preview

Workflow preview
100%
Backup Clockify to Github based on monthly reports preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 endpo...

Best for

  • DevOps automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.extractfromfile, n8n-nodes-base.comparedatasets, n8n-nodes-base.stopanderror, n8n-nodes-base.set, n8n-nodes-base.splitout, n8n-nodes-base.filter, n8n-nodes-base.clockify, n8n-nodes-base.httprequest

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Mario.

Original n8n.io source

1.1 Workflow description

Title
Backup Clockify to Github based on monthly reports
Workflow name
Backup Clockify to Github based on monthly reports

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 time entries
  • A report file is being retrieved for every month starting with the current one, going back 3 month in total by default
  • If changes happened during a day to any report, it is being updated in Github

Prerequisites

  • Create a private Github repository
  • Create credentials for both Clockify and Github (make sure to give permissions for read and write operations)

Setup

  • Clone the workflow and select the belonging credentials
  • Follow the instructions given in the yellow sticky notes
  • Activate the workflow

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Extract from File

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 2 - Compare Datasets

Type / Role
n8n-nodes-base.compareDatasets - compareDatasets
Config choices
Version 2.3

Block 3 - Stop and Error

Type / Role
n8n-nodes-base.stopAndError - stopAndError
Config choices
Version 1

Block 4 - Globals

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Set month indexes

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Split Out indexes

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 7 - Set intervals

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Skip empty reports

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 9 - Get first workspace

Type / Role
n8n-nodes-base.clockify - clockify
Config choices
Version 1

Block 10 - Get detailed monthly report

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Check if file exists in GitHub

Type / Role
n8n-nodes-base.github - github
Config choices
Version 1

Block 12 - Point to new data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 13 - Check for 404 error message

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 14 - Update file in GitHub

Type / Role
n8n-nodes-base.github - github
Config choices
Version 1

Block 15 - Create file in GitHub

Type / Role
n8n-nodes-base.github - github
Config choices
Version 1

Block 16 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 17 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Backup Clockify to Github based on monthly reports
Complexity advanced
Nodes 21
Categories DevOps
Author Mario
Published 12 Mar 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3147/3147.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Backup Clockify to Github based on monthly reports do?

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 endpo...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps use case.