Hello everyone,
I am currently facing difficulties integrating webhooks into our application. To provide some context, we are trying to integrate Clockify into our project management system to assist with tracking projects. I have created the necessary API calls in Postman and within our application.
The goal is to receive webhooks when a new project is created, when time is captured, etc. While I was able to make it work using https://webhook.site/, I have been encountering issues while attempting to set it up in OutSystems.
I have reviewed the following thread: https://www.outsystems.com/forums/discussion/26091/how-to-setup-webhooks-in-outsystems/#, but I have been unable to make it work.
I am not certain if anyone else has encountered this issue before and attempted to solve it. If so, could you kindly share your experience or suggestions?
Thank you for looking.
Hi @André Smit ,
Have tested your oml, which I can get the data from the webhook without any issue.
May I know what's the URL you're using in your Clockify webhook?
I suspect you're using a wrong URL for the webhook, which is why the data seems didn't return back to your OS application.
The URL I'm using for the webhook is :
https://<your environmenturl>/ClockifyWebhook/rest/Webhook/ClockifyWebhook
Uploaded the updated oml file for you reference.
Hope this help :)
p.s. remember to put back your api key and workspaceId in the site property, cuz I removed mine one :P
Hi Andre,
Is that possible to share the error message or any parts that contain the errors, so we could narrow down the issue of your applications?
Thanks :)
I intend to set up a personal Clockify workspace and develop a basic API demonstration later today, which I hope will provide more clarity on the topic.
Hello, @Kay Lun. Kindly take a look at the OML attached.
In this demo, I am aiming to capture the webhook only when a new project is created, but it seems that my approach is not correct since the REST API that is exposed is not being called when you save a project.
I hope this explanation is helpful. If you have any questions or if there's anything that needs clarification, please don't hesitate to let me know.
Thanks @Kay Lun and you were right, I was using in the incorrect URL for the webhook... Appreciate your help on this matter.