Pop-up custom function

Pop-up custom function

I am trying to create a custom function in zoho desk to generate a pop-up or message to slack as soon as an agent makes a public comment using internal naming information. I really struggling with zoho's deluge script. Should I be using a webhook or is there another way to do this?