Patent attributes
Methods and apparatuses are described for capturing and utilizing context data in virtual assistant communication sessions. A chat-based communication session is established between a virtual assistant application and a remote device. An event manager captures a first data event of the virtual assistant application. A parent software application receives the first data event and selects one or more session context data elements using a callback function of the first data event. The event manager captures a second data event of the parent software application comprising the session context data elements. The virtual assistant receives the second data event and inserts one or more messages comprising the session context data elements from the second data event into the chat-based communication session.