Case Deflection - Event Listener Information | Yext Hitchhikers Platform
The Yext Case Deflection component listens for an Aura event named selfService:caseCreateFieldChange
from a Contact Support form on the same page. This event should have the following parameters:
{
eventType: <eventType>,
modifiedField: <modifiedField>,
modifiedFieldType: <modifiedFieldType>,
modifiedFieldValue: <modifiedFieldValue>
}
Case Deflection Signal
If (1) the value of the modifiedField parameter is Subject
, and (2) the value of the modifiedFieldType parameter is selfService:caseSubject
, then the Case Deflection component will populate the search bar with the value of the modifiedFieldValue parameter.
Case Submission Signal
If (1) the value of the eventType parameter is caseCreated
, we will count this as a case submission in our call to the Yext Analytics API.
<% elem.innerText %>