wrap_up_code_analytics
Analyze wrap-up codes across conversations to quantify interaction types and volumes, with breakdowns by code, queue, and media type for reporting.
Instructions
Analyzes wrap-up codes from conversations to understand interaction types and volumes. Useful for answering questions like 'how many inquiries came today' or 'what types of calls did we receive'. Returns detailed breakdown by wrap-up code, queue, and media type.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "wrap_up_code_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | The end date/time in ISO-8601 format (e.g., '2024-01-07T23:59:59Z') | |
| queueIds | No | Optional: List of up to 100 queue IDs to filter by | |
| startDate | Yes | The start date/time in ISO-8601 format (e.g., '2024-01-01T00:00:00Z') | |
| mediaTypes | No | Optional: Filter by specific media types | |
| wrapUpCodes | No | Optional: List of specific wrap-up codes to filter by |