When creating a new ticket, the agent has the option of creating it 'As a user' or 'Send an email.' You may wonder if a report can be generated to show this data.
Yes, a KQL query can be generated to pull tickets created by staff with the 'As a user' or 'Send an email' option. This article provides the steps on how to generate this report using a custom KQL query.
To generate the report:
Log in to your Kayako Staff Control Panel, i.e.,
On the Staff Control Panel, go to Reports, and then click New Report.
On the New Report form, type in the desired Title.
On the Primary Source, select Tickets from the drop-down list.
Select a Category of your choice.
- Click Next, and enter the following KQL query.
SELECT 'Tickets.Ticket ID',
IF('Tickets.Creator' = 'User', 'As a User', 'Send an email') AS METHOD
WHERE 'Tickets.Creation Mode' = 'Staff Control Panel'
- Click the Run Report button.
The generated report should look like the one shown below. You may print, export, or schedule when to run this report as desired.