Skip to main content

Set up

Please reach out to your CSR to grant access to the cozmox dashboard. In the settings, you will be able to add a global webhook.

Available events

We currently offer the following webooks For the global webhook specified, we POST the following body:
{ 
    "call_id": "string", // ID to be used to fetch the call details
    "event": "string" // call_analyzed, call_started, call_ended
}
For call_analyzed you will have the following additional fields:
NameDescriptionType
transcriptFull text transcript of the callstring
sentimentOverall sentiment score of the callstring
summaryBrief summary of the callstring
custom_analysisArray of Analysis objects defined on the agent level via the dashboardRecord<string, any>

Analysis

Custom analysis properties are allowed to be set on an agent level that is resolved during analysis
interface AgentAnalysisConfig {
    description: string // Used to prompt against the transcript
    id: string
    type: 'boolean' | 'number' | 'string'
    value: 'boolean' | 'number' | 'string' // the resolved analysis value
}
Example
{
    id: 'require_email_follow_up',
    description: 'Require email follow up: the prospect agreed to get an email sent about the details',
    type: 'boolean',
    value: false
}