Call Center Ingest Events
Causal Foundry SDK Call Center Module consists of events for such platforms which involves communication from a central station to/from patient. The goal is to track the usage of such platforms and the operators too.
List of Events
Event Name | Type | Description |
---|---|---|
Break | break |
Track actions regarding break events of the platform user. |
Contact | contact |
Track events regarding contact with the patient/representative, can be a phone call, email, SMS, etc. |
OpsScorecard | ops_scorecard |
Track stats of the platform user. |
Break Event
To log user break timings and duration. This event is used to track the time when the user is on break or returns.
Format
Param | Usability | Format | Enum Values | Description |
---|---|---|---|---|
type | REQUIRED | STRING | bio_break, feedback, meeting, meal, tea, other | Type of the break. |
sub_type | OPTIONAL | STRING | --- | Sub-type of the break. |
action | REQUIRED | STRING | view, start, end, pause, resume, other | Action applied for the break. |
total_time | REQUIRED | FLOAT | --- | Total time allocated for the break in seconds. |
consumed_time | REQUIRED | FLOAT | --- | Consumed time for the break in seconds. |
meta | OPTIONAL | ANY | --- | Any additional value that is sent with the log. |
Usage
Contact Event
To log actions related to Contact event. Which includes events related to attending, declining, transferring a call, etc.
Format
Param | Usability | Format | Enum Values | Description |
---|---|---|---|---|
action | REQUIRED | STRING | view, add, update, remove, start, end, pause, resume, attend, decline, terminate, transfer, skip, other | Action applied on the contact/call/sms/email. |
details | REQUIRED | OBJECT (Contact Details Object) | --- | Details about the contact. |
transfer | OPTIONAL | OBJECT (Transfer Object) | --- | Transfer details about the contact if any. |
meta | OPTIONAL | ANY | --- | Any additional value that is sent with the log. |
Usage
let contactEvent = {
action: CallCenterAction.Attend,
details: {
id: "contactId",
channel: ContactChannel.Call,
type: ContactType.FollowUp,
sub_type: "Some Sub Type",
is_transfer: false,
customer_type: "Some Customer Type",
duration: 100,
is_priority: false
},
transfer: {
id: "transferId",
destination: "Some Destination",
}
}
CfCallCenter.logIngestEvent(CallCenterEventType.Contact, contactEvent)
OpsScorecard Event
To log actions related to the platform user's performance.
Format
Param | Usability | Format | Enum Values | Description |
---|---|---|---|---|
quality_traits | REQUIRED | (Quality Traits Object) | --- | Tracking quality traits for the logged in user. |
meta | OPTIONAL | ANY | --- | Any additional value that is sent with the log. |