Explore is designed to slice and dice data by categories and fields, but sometimes you need a random selection of tickets to undertake an audit. This recipe uses the Support: Tickets dataset to pull a random selection of tickets, which you can then use to audit individual agents or ticket groups.
This article contains the following topics:
- What you'll need
- Returning a random selection of tickets
- Auditing individual agents
- Auditing ticket groups
- Next steps
What you’ll need
技术水平:Intermediate
Time required:15 minutes
- Zendesk Explore Professional or Enterprise
- Editor or Admin permissions (seeGiving agents access to Explore)
- Ticket data in Zendesk Support
Returning a random selection of tickets
- In Explore, click the reports () icon.
- In the Reports library, clickNew report.
- On theSelect a datasetpage, clickSupport>Support - Tickets,然后单击Start report. The report builder opens.
- Click theCalculations() menu >Standard calculated metric.
- Name this metricRandom.
- In theFormulafield, enter the following:
RANDOM()
Tip:If you're working in a language other than English,read this articleto help you enter Explore formulas in your language. - ClickSave.
- Apply any necessary filters, like date range, group, channel, or satisfaction rating.
- In theMetricspanel, clickAddand add your calculated metric.
From here, you can auditindividual agentsorentire ticket groups根据你的需要s.
Auditing individual agents
- In theRowspanel, clickAddand addAssignee name.
- Next toFilters, clickAddand addAssignee role.
- Click theAssignee rolefilter (the gray box) and selectAgentand/orAdminas appropriate based on your auditing needs.
- From theResult manipulation() menu, selectTop/bottom.
- In theTopfield, specify how many results you want per assignee.
- In theStrategyfield, selectPer block on rows.
- In theRowspanel, clickAddand addTicket ID. This gives you a "top X" tickets per person based on your random metric.Note:Adding any other metric or attribute will change the ticket IDs displayed.
From here, you can click the ticket ID and selectOpen linkto look at the ticket. Alternatively, you can click the drop-down arrow next toSaveand chooseExportto create a CSV or Excel file with your results.
Auditing ticket groups
- In theRowspanel, clickAddand addTicket group.
- From theResult manipulation() menu, selectTop/bottom.
- In theTopfield, specify how many results you want per group.
- In theStrategyfield, selectPer block on rows.
- In theRowspanel, clickAddand addTicket ID. This gives you a "top X" tickets per group based on your random metric.Note:Adding any other metric or attribute will change the ticket IDs displayed.
From here, you can click the ticket ID and selectOpen linkto look at the ticket. Alternatively, you can click the drop-down arrow next toSaveand chooseExportto create a CSV or Excel file with your results.
Next steps
For more information about the metrics and attributes you can use with the Tickets dataset, seeMetrics and attributes for Zendesk Support.
4 Comments
This is great - how would we "delay" the random list of tickets? Every time i refresh the page, the tickets re-randomize. Could I bake in a time delay to only refresh once every hour?
Hi Bobby,
It's not possible to "freeze" the results for a certain amount of time while refreshing.
Performing a refresh means that the function runs again, giving a new set of random data.
One thing that I can advise here, is toexport your querythe first time you run it. By doing this you'll be able to have that results saved and go back to it whenever you want to.
Hope that helps! :)
HiyaMaude Joly! thanks for the reply - appreciate you.
I think where this turns into an issue is with email deliverability. We have a group of team leads that are supposed to audit these tickets, but we need them to all receive the same tickets, without creating a group. right now, if I set a schedule to send to you and me (not tied to a group) it will generate two completely separate lists of tickets. Just some feedback as it would be nice to be able to randomize on a schedule to avoid inconsistencies. i am sure there is a counter argument as well!
Cheers, Bobby
Is there a way that I can extract or limit the number of random tickets? for example I want to only get 10% of the total solved for the week
Pleasesign into leave a comment.