Learn more about how to use Event Listeners with Jovo.
Event Listeners are a type of routing that get triggered when a specific event occurs, for example at the time a request (
onRequest) or response (
onResponse) happens, as shown below.
onRequest listener gets triggered with every request your voice application gets. This can be used for certain features, like getting data that needs to be used for every request, or logging.
onRequest is the listener equivalent to the
'ON_REQUEST' intent in your handler.
onResponse listener gets triggered with every response your voice application sends.