Clockify
Google Sheets + Clockify Integration
Query from Clockify into Google Sheets
What is Sheet Director?
Sheet Director is a Google Workspace add-on that helps to manage and control bi-directional data flow between Google Sheets and several other applications like Google Calendar, Tasks, Contacts, Sheets, QuickBooks, FreshBooks, Zoho, PayPal, etc.
It is available in the Google Workspace Marketplace. Please check the Installation instructions to install the add-on.
What is Clockify?
Clockify is the only completely free time tracking software for teams. It's a simple time tracker and timesheet app for tracking work hours across projects.
Clockify to Google Sheets: Use Case(s)
> Pull data from Clockify objects and store it into a spreadsheet - Query
Clockify
Sheet Director
Google Sheets
Demo Video: How to integrate Google Sheets & Clockify?
Table Of Contents
Setting up Clockify in Sheet Director
Choose App and Service:
Select Clockify from the list of applications.
Select service as Query.
Clockify Configuration
Enter your Clockify API key
Click on connect to Clockify to connect to Clockify so that you can pull data.
To get API Key
On your clockify application go to "Profile settings"
Down you can get your API key
Once Clockify is connected successfully the following screen appears.
Select the required Workspace.
Select the source as required Entities or Reports.
Reports
Select a report.
Select the required groups.
Sheet Director allows you to select only 3 groups.
Select the required parameters for Filter.
Mention the required Start Date.
Mention the required End Date.
Click "+" to add more Filters.
Select the required Sorting order. It may be Ascending or Descending.
Entities
Once Clockify is connected successfully the following screen appears.
Select the required Workspace.
Select the source as required Entities or Reports.
Select the source as Entities.
Select the required Fields.
Select the required Filters.
Select the required Field, operator & value.
Select the required User.
Click "+" to add more Filters.
Mention the maximum result required.
Destination Settings:
Configure the destination settings to save the executed data.
Scheduler Settings:
Switch on Run automatically to execute services automatically in background.
Notification Settings:
Configure the Notification settings to setup the email templates and add attachments.
Click on execute to pull the data into sheet
Click save to save the service
Sample Output
Reports
Summary Report
Entities
Time Entries
Google Sheet to Clockify - Post
Source Sheet
Choose the sheet that contains post records.
Enter the Start at cell value
(the default value is A1, if you change the value you need to refresh the header by clicking on refresh icon on side)
Select the Status column
If status column is not there, simply click the +button to add the status header on your sheet(A status column will be created in Spreadsheet)
Select the Result column
If result column is not there, simply click the +button to add the result header on your sheet(A result column will be created in Spreadsheet)
Mapping
After selecting the entity it will ask for intelligent mapping
If you need to do intelligent mapping click on yes
Intelligent mapping will map the matching fields automatically
You can do manual mapping by selecting Column drop down
You can delete the field by click on delete icon on top of each filed map
You can't delete mandatory* fields
Click on execute will ask for confirmation
Click save to save the service
It will show number of records ready to post
Click post now to post the records on Clockify
Sample Output
It will show the count of number of records posted successfully and failed to post.
Google Sheet to Clockify - Sync
Select service as Synchronize Clockify.
Select the Max results required.
Synchronize settings:
Synchronization Keys:
The keys will be used for matching rows in Google Sheets with data in Clockify.
Conflict Resolution:
When Synchronization happens, there could be a conflict of data between Google Sheets and Clockify.
Clockify Wins
Google Sheet Wins
Clockify Wins: Latest data from Clockify will be updated in Google Sheets.
Google Sheet Wins: Latest data from Google Sheets will be updated in Clockify.
Note: The major requirement in synchronization is the synchronize keys. If any of the keys is not having a value in the Google Sheet then Sheet Director will create it first and then the service will be executed.
Clockify Wins
Select Clockify.
The latest updated data from Clockify will be updated in Google Sheets.
Choose the spreadsheet to store data.
Select the required cell value.
Select the Status column
If the status column is not there, simply click the +button to add the status header on your sheet(A status column will be created in the Spreadsheet)
Select the Result column
If the result column is not there, simply click the +button to add the result header on your sheet(A result column will be created in the Spreadsheet)
Click Execute to execute the data.
The number of records that are ready to be synchronized will be shown.
It will also show all the data that are ready to be updated.
Also, the number of data that needs to be updated into Clockify will also be updated.
Click on Sync Now to sync all the data and update it into Google Sheets.
Click on the Refresh icon to refresh the data.
If the data are synced successfully the following screen appears.
Click on Close to close the configuration.
Sample Output
The Status column in the Google Sheets shows the status of the data.
The newly updated data will be marked as Synced Successfully.
The old data that already exists will be marked as Already Synchronized.
Google Sheet Wins
Select Google Sheet Wins.
The latest updated data from Google Sheet will be updated into Clockify.
Select the sheet to store the output.
Select the Status column
If the status column is not there, simply click the +button to add the status header on your sheet(A status column will be created in the Spreadsheet)
Select the Result column
If the result column is not there, simply click the +button to add the result header on your sheet(A result column will be created in the Spreadsheet)
Click Execute to execute the data.
Click Save to save.
The number of records that are ready to be synchronized will be shown.
It will also show all the data that are ready to be updated.
Also, the number of data that needs to be updated into Clockify will also be updated.
Click on Sync Now to sync all the data and update it into Google Sheets.
Click on the Refresh icon to refresh the data.
If the data are synced successfully the following screen appears.
Click on Close to close the configuration.
Sample Output
The Status column in the Google Sheets shows the status of the data.
The newly updated data will be marked as Synced Successfully.
The old data that already exists will be marked as Already Synchronized.
FAQ
While quering Report from Clockify app in Sheet Director I'm getting the following error. How to resolve it?
Error: [ERROR-INFO] URL: https://reports.api.clockify.me/v1/workspaces/{works[ace_id}/reports/detailed. Message: {"code":501,"message":"You don't have permission to see billable rates."}
It gives the above error because the fields do not have permission to get into your environment. Typically getting admin permissions or higher permission that allows you to see or manage the billing rates will resolve this problem. Please enhance your permission in Clockify and try again.