Explore recipe: Finding the agent who made the first public reply

Return to top

7 Comments

  • Kitty Lee

    Hi,

    I followed your instruction but received the following error -

    "The set of calculations isn’t valid. The calculated attribute "firstpublicreplyagent-a35b7392a0" references "Comment public" which is as an unknown attribute. Adjust the calculation and try again. (Error code: 11c3fd53)"

    What can I do to fix it?

    0
  • Cheeny Aban
    Zendesk Customer Care

    Hi Kitty,

    We suggest that you reach out to ourCustomer Supportso we can have a closer look at the Query that you are working on

    0
  • Chris Gould

    We just used DATE_FIRST_FIX function to find thetime the first callwas madeagainst a ticket ID, given a ticket can have multiple calls, DATE_FIRST_FIX was ideal.

    We were able to nest this into a DATE_DIFF to find the length in time between theticket creation and the first call.You can then aggregate any way you like as there is only one value provided per ticket ID.

    DATE_DIFF(DATE_FIRST_FIX([Call - Timestamp], [Ticket ID]), [Ticket created - Timestamp], “nb_of_minutes”)

    0
  • Patrick Lieu

    这是伟大的Nhia !

    我只是有问题以下步骤:

    13. In theFilterspanel, add theFirst public reply agentattribute and configure this to excludeNULL.

    I'm running into the below error:

    Any idea on how to fix this or how to edit the query in such a way that it doesn't pull up every single updater's name in our database?

    0
  • Nhia Lor
    Zendesk Customer Care

    Hey Patrick,

    If you're finding that the custom attribute "First Response Agent" is taking too long to load then its potentially due to the increased amount of real attribute or NULL values which can sometimes result in that particular error.

    To get around this I can also recommend creating a custom metric that implicitly excludes the NULL values then applying a metric filter. In the case of this recipe as we're using the default metric "Tickets updated w/public comment" the custom metric would be something like this:

    IF ([Comment present] = TRUE AND [Comment public] = TRUE AND [First public reply agent]!=NULL)
    THEN [Update ticket ID]
    ENDIF

    And then you would just need to apply the query metric filter underResult manipulation > Metric filter. And ensure it's set to at least "1".

    Alternatively you could always specify and hardcode your agents names into the custom metric itself as well so hopefully these suggestions help to overcome the difficulty you've encountered there!

    0
  • Judy Correia

    My report seems to include the originating ticket comment (when ticket was created by a customer) in this report. I'd expect to see only agent first replies. why would the originating comment be included? Should the report not show firstagentreplies after the ticket was originally logged?

    0
  • Tony
    Hi Judy,
    We suggest that you reach out to ourCustomer Support, so we can have a closer look at the query that you are working on.

    I see you created a ticket with us already. We will get back to you as soon as possible,

    Thanks!
    0

Pleasesign into leave a comment.

Powered by Zendesk