Recent searches


No recent searches

Automatically tagging tickets from specific users and organizations



Edited Jun 21, 2024


10

11

11 comments

Hi,

Don't know if anyone can help, but can you apply a user tag to customers that come from a specific channel - e.g. new Twitter customers? Either within Support settings or via API. 

Essentially, I'd like to bulk delete these users after a certain time period so that we're not storing data for customers longer than is needed. I think I could maybe bodge this by applying a tag to a ticket then finding all of these tickets after say 1 year then matching it against user data but it's a lot more work. 

0


Hello @...,

Please note that you may do that either manually or via API, but not directly via triggers or automations in Support.

If you are doing it with an API, you would search for the channel in the "via" object.

Once you have detected which channel the ticket has, you can look for the requester id in the ticket and look up their profile and tag them using the Users API.

For more info:

Adding tags to users and organizations

Tickets API

Via object reference

Users API

Hope that helps!

 

0


Is it possible to add a tag based on a custom text field from the organization record?

I am trying to create a view based on a custom field on the organization record that is synced from Salesforce. The custom field is the organization’s account executive (AE).  The AE’s need to see all their clients ’ opened tickets in one view. I am not sure how I can use tags since the AEs on the organization could change from time to time and when a change occurs, any opened tickets would end up with 2 tags on them.

Note: the custom field is a text field, and from it appears you can not create a tag based on a text field. 

Any ideas would greatly be appreciated!

0


Is there a way to get a report of Agents with X tag regardless if they have Tickets or not?

 

We added Tags to Agents to identify the supervisor they work under.  We want a report that shows the Agents name and the tag of the supervisor.  I don't care if they have tickets or not.

0


Hi Dana,

While we have option to report on user data in Explore, if you are simply after pulling a list of your agents with their tags, you can also use the Search Users API end-point to get a list of agents in a JSON format file. Below is an example call using this endpoint to get the list of your agents:

https://yoursubdomain.zendesk.com/api/v2/users/search.json?role=agent

To include both your agents and admins, you can use:

https://yoursubdomain.zendesk.com/api/v2/users/search.json?role[]=agent&role[]=admin

You can then parse and export the response as JSON file then convert to CSV or XSL file using a third-party converter. The article on How do I export a list of users? will give you additional options on how you can export your users.

Hope this helps!

0


How do I stop Account Names from automatically becoming tagged under "Tags"?

 

0


Hi Kara, and welcome to the community!
 
Sounds like you may have automatic ticket tagging turned on -- here's how you can turn that off: Enabling and disabling automatic ticket tagging

0


Hi Dave,  

Thanks for your reply.  No, we don't - the setting we have on is "enable tags on tickets", which we want.  We just don't want the account name to automatically become a tag. 

 

0


Thanks Kara -- are you able to see how that tag is being added in the ticket events list? Viewing all events of a ticket

0


Is it possible to add and capture the tag from the trigger but based on the ticket assignee?

0


image avatar

Zsa Trias

Zendesk Customer Care

Hello Riah,

Tags from assignee aren't automatically added to tickets assigned to them, unfortunately, but yes, you should be able to add tags via triggers using the condition "Assignee is: <agent name>"



0


Please sign in to leave a comment.