Event Listeners
Learn more about how to use Event Listeners with Jovo.
Introduction
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
The 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
The onResponse
listener gets triggered with every response your voice application sends.