Hello @Janak_Mer I believe you would need to install the application into your sandbox for the application to actually function. Or use the webtest serverless events to trigger your onAppointmentCreate event.
Here is a similar thread that explains how product events work. Hope this helps