Backup Clockify to Github based on monthly reports

Nodes

a0d93eb1-bb23-4c69-815f-fe01a740b02c1750b6d1-d124-4217-a0ab-3402db821b80083a55c9-df56-4154-959f-52737890cad0dd1fc587-e478-4b7f-8d59-098a8d7b2e283b9f1b78-6b80-4575-aa6c-966987000389+4

Created by

MaMario

Last edited 39 days ago

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

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!