Emitted when the classification type or result for an interaction is updated.
Fired after a successful Interaction.setClassificationType or Interaction.setClassificationResult call. The payload contains the updated classification fields; absent fields were not changed in this update.
interaction.subscribe(InteractionEventType.INTERACTION_CLASSIFICATION_UPDATED, (event) => { const { classificationType, classificationResult } = event.payload; console.log("Classification type:", classificationType?.name, "Result:", classificationResult?.name);}); Copy
interaction.subscribe(InteractionEventType.INTERACTION_CLASSIFICATION_UPDATED, (event) => { const { classificationType, classificationResult } = event.payload; console.log("Classification type:", classificationType?.name, "Result:", classificationResult?.name);});
The event type identifier.
The event payload containing event-specific data.
The timestamp when the event occurred.
Emitted when the classification type or result for an interaction is updated.
Fired after a successful Interaction.setClassificationType or Interaction.setClassificationResult call. The payload contains the updated classification fields; absent fields were not changed in this update.
Example
See