Getting undefined when trying to access data[0].metrics in the v2.analytics.conversation.aggregate webhook payload. The structure seems different than the docs suggest. Here’s the relevant part of the event body:
{
"eventType": "v2.analytics.conversation.aggregate",
"data": {
"metrics": {}
}
}
My Node.js consumer expects an array at data, but it’s hitting an object directly. Is the SDK flattening this or is my parser wrong? Need to extract totalHandleTime.