Primetric and Clockify integration with Power Automate
In this article, we’ll share knowledge on how to integrate two complementary and popular tools – Clockify and Primetric into one cohesive system that allows you to manage resources, talent, and profitability in your company, all with the help of Power Automate.
Challenges arising from using two different systems
Clockify is a widely used tool for reporting hours spent on projects. It’s a good solution for post-factum analysis and detailed settlements. It also has a standard integration with another app – Primetric – for tracking and forecasting the availability of developers so that work on project implementation can be well planned.
“The hours we have in Clockify automatically transfer to the projects being executed and planned in Primetric. This allows us to track the plan and verify its implementation in real-time. We immediately see any discrepancies, such as someone being assigned to a project for 8 hours but reporting 10, or vice versa. However, there is one thing missing – the transfer of absence information and all vacation requests from Clockify.” – says Adrian Wieczorek, Chief Delivery Officer at Netwise.
“We decided that since the out-of-the-box integration between Clockify and Primetric doesn’t allow for this, we could do it using Power Automate and the APIs of both platforms. So, we created a flow that transfers and updates this data in real-time. Everything works as we planned, and the coolest part is that we didn’t use a single line of code. Literally, we clicked it together on the low-code platform and supplemented the functionality with the missing integration element.” – Adrian Wieczorek adds.
How did we connect Clockify and Primetric using Power Automate?
First, HTTP requests are sent to fetch data from a specified date range. Data from Clockify and Primetric are fetched concurrently through their APIs, and the integration between the systems is unidirectional – records are created and updated only on the Primetric side. To make this possible, the “id” field for Clockify and the “employee_note” field for Primetric were used to link records together, populated at the time of record creation. Then, they are sorted and joined together by the “id” and “employee_note” fields, which were used as primary keys for integration purposes.
The entire flow isn’t that simple, as it consists of multiple steps and conditions. However, thanks to Power Automate, there was no need to write code for this purpose:
To obtain a more complete data structure, additional employee data is fetched from Primetric and linked by email address to the vacation records in Clockify. An attribute “p_uuid” is added, which corresponds to the “uuid” attribute from Primetric.
How does it work now?
After creating the solution, if anyone requests time-off or wants to report an absence and submits such a request in Clockify, the project consequences of accepting the request are immediately visible in Primetric. The Project Manager can see whether they need additional help, whether a slight modification to the plan within the sprint is sufficient, or if adjustments are necessary.
Agile thinking, ingrained in Netwise’s DNA, always guides us towards the simplest and most effective solutions. Combined with knowledge and skills, we manage to maximize the potential of the tools we use. Not only familiarity with the systems we work with is essential, but also creativity to know how to utilize them, and the courage not to be afraid to try.
See more great articles:
News in Microsoft Dynamics 365 Marketing – Wave 2 2022
The starting point for the changes introduced by Microsoft in Dynamics 365 Marketing is still the ongoing adaptation to the new normal.
NetwiseTeam: Low-Code solution experts
Kamil Kłosiewicz is a Team Leader at Netwise and one of the experts who were invited last year to speak at the Microsoft Power Platform Conference. He shared his knowledge and experience in creating bold solutions that allow companies to revolutionize their market.
Jakub Skałbania’s Presentation at Microsoft Power Platform Conference 2023 drew crowds
The Microsoft Power Platform Conference is a global event bringing together top experts in the Power Platform field. Filled with workshops, presentations, and educational sessions led by individuals with vast experience and achievements, it serves as a hub for knowledge exchange. One of the speakers at the conference held in Las Vegas was Jakub Skałbania, the founder and CGO of Netwise. His session, "Next gen GPT automation with AI Builder and Power Automate," was the most sought-after presentation during the second day of the MPPC.