Discussions

Ask a Question
Back to All

Create a popup when a certain event occurs

Hi ServiceM8,
I have a phone system and when an operator answers a call, I would like to open a pop up with two buttons - 1st button creates a job with the data from the phone system and the second button to open the client information(if there is a client associated with this phone number or open the Create Client wizard with the data from the phone system).
At the moment, using the ServiceM8 API, I can check if a client exists with this phone number and get its data. Also I can create a job and a client. But I am not able to create this popup asynchronously(when the call is answered). Can you please help me with that?
Thanks in advance for the info.