Skip to main content

email-terminated-cc-v1 Event

The email-terminated-cc-v1 event is triggered when an email interaction ends in 8x8 Contact Center agent panel.

Properties

Object containing the following properties:

PropertyDescriptionType
eventId (*)Unique Id generated for each event at runtimestring
method (*)Events published to third party are named as mapEvent'mapEvent'
direction (*)When agent receives an email from customer,here it is inbound'inbound' | 'outbound'
media (*)The media type, here it is email'email'
searchContext (*)It will hold the customer's email address for fresh inbound email or
mainNumberId for reply email
string
mainNumberId (*)Id assigned to fresh emailstring
childNumberIdId assigned to reply emailstring
url (*)Email url where it is stored on serverstring
isReplyEmail (*)It will hold true when it is reply email, here it can be true/falseboolean
isStandAloneTerminated (*)It will hold true when an agent replies to customer email from saved drafts.boolean
contact (*)It will hold contact details of customer such as emailAddress, firstName and LastNameObject with properties:
  • emailAddress (*): string - Email address of customer
  • firstName: string - First name of customer
  • lastName: string - Last name of customer
eventName (*)Name of the event'terminated'
schemaVersion (*)Current schema version of the event'1.0.0'

(*) Required.

Event Emission

The email-terminated-cc-v1 event is emitted by the 8x8 Mashell UI component when an email interaction ends.

Listeners

The event is consumed by the third-party system, which processes it accordingly.

Additional Information

Sample event payload:

{
eventType: "mashell-email-terminated-cc-event-v1",
status: "success",
data: {
eventName: 'terminated',
eventId: 'eventIDString',
method: 'mapEvent',
direction: 'inbound/outbound',
media: 'email',
searchContext: 'test@email.com',
mainNumberId: '1234',
childNumberId: '',
url:'http://<vccCssServerURL>/presignedURL',
isReplyEmail: true/false,
isStandAloneTerminated: true/false,
contact: {
emailAddress: 'test@email.com',
firstName: '',
lastName: ''
}
}
}