Please follow the below steps.
1.Goto Admin > Developer space --> Custom Functions > Global function > New > Paste the content from the attachment configuration.txt and save it with a name.
2.Update the URL and technician key in the script.
Refer to the below link.
3.Go to Admin --> Developer space --> Custom Functions --> Request --> Paste the content from the attachment (3. update duebytime onholdscheduler.txt) and save it with a name.
4. Modify the global function name in the script. Refer to the attached screenshot.
5. Configure Request custom trigger as in the attached screenshot.