Trigger UiPath job in IBM Watson Assistant

Hi, We have created a bot to book appointment for the customer as part of our project and now we have to call this job in a chatbot agent which is IBM Watson. I know that there is an option in webhooks of watson assistant where we can call in the http request along with parameters but I am not sure how to write a IBM cloud function to trigger the UiPath job.

Is there any reference which I can use to write the nodejs code for UiPath job trigger?