Emitted when an interaction is completed and fully closed.
The interaction will not emit further events. The payload's resolutionStatus field indicates whether the customer's issue was resolved.
resolutionStatus
interaction.subscribe(InteractionEventType.INTERACTION_COMPLETED, (event) => { console.log("Interaction completed:", event.payload.interactionId, "Resolution:", event.payload.resolutionStatus);}); Copy
interaction.subscribe(InteractionEventType.INTERACTION_COMPLETED, (event) => { console.log("Interaction completed:", event.payload.interactionId, "Resolution:", event.payload.resolutionStatus);});
The event type identifier.
The payload containing completion details.
The timestamp when the event occurred.
Emitted when an interaction is completed and fully closed.
The interaction will not emit further events. The payload's
resolutionStatusfield indicates whether the customer's issue was resolved.Example
See