Recent searches
No recent searches
agent_message_count and agent_replies_count are always 0
Posted Feb 19, 2025
I'm testing out EAP Engagement Reporting and noticed no matter how many message I send as the agent from the interface through Messaging (and I went back and forth between the agent and diner for a while), both agent_message_count and agent_replies_count are always 0 in the response I get back both on the list engagements API and get engagement by ID.
While we're at it, can you please explain what is the difference between agent_message_count and agent_replies_count?
0
3
3 comments
Sarah Darmawan
Hi Vlad,
Could you please send me the ticket ID associated with that API response, along with the subdomain you used for the API? You can email it to me, and we'll investigate the issue.
As for the difference between those metrics:
Please let me know if there's anything else our team will be able to help with as you continue testing out the API.
Best,
Sarah D.
0
Vlad Luca
Hi Sarah,
Sent the subdomain and sample ticket ids via email.
Alright so let's say we have a ticket that got transferred from one agent to another. I would expect to see an engagement with first agent, let's say he sent 5 messages, having (I think) agent_message_count and agent_replies_count both with the value of 5.
Then, the ticket gets transferred, let's say the second agent sends 7 messages so the second agent's engagement for the same ticket agent_message_count would be 7 but agent_replies_count would be 12 as it sums up also with message counts from previous agents? Would that be correct?
Or would you expect for the first agent to also say agent_replies_count 12? I kind of assume since by the time the first agent's engagement ends we will only count messages up to that point in time?
Kind regards,
Vlad
0
Sarah Darmawan
Thanks Vlad - got them and we will get back to you on that email thread on those tickets!
In the scenario you've outlined:
The metrics would be computed for any given Engagements and in what you've outlined, there are 2 separate Engagements given the ticket had been transferred to another agent and the ticket has changed assignees (more details on what an Engagement is in this article).
If instead Agent #2 had been added to the Messaging ticket via an invitation to collaborate, then you can expect that Agent #1 will have an agent_message_count = 12 (this is because the Engagements will only count towards the assignee on the ticket).
Hope this clarifies!
Best,
Sarah D,
0