Question
How can I automatically assign a follow-up ticket to the agent that was assigned when the ticket closed?
Answer
By default, you can not assign a follow-up ticket to the assignee of the ticket at the moment they closed. As a workaround, create a workflow through the use of triggers and tags for each agent to achieve this goal.
To set up this workflow you need to create three triggers:
Adding agent tags to tickets
The first trigger you need to set up adds agent tags to tickets automatically.
To add agent tags to a ticket with a trigger
- Create a new trigger.
- Add the following conditions under Meet ALL of the following conditions:
- Ticket | Is | Updated
- Assignee | Changed to | (agent name)
- Add the following actions under Actions:
- Add tags | (agent name)
Find below an example of what your trigger looks like.
Auto-assigning a follow-up ticket
Create a trigger that auto-assigns any follow-up ticket to the desired agent. This trigger utilizes the tag that your first trigger applies to indicate who the ticket should be assigned to.
To auto assign a follow-up ticket with a trigger
- Create a new trigger.
- Add the following conditions under Meet ALL of the following conditions:
- Ticket | Is | Created
- Channel | Is | Closed ticket
- Tags | Contains at least one of the following | (agent name)
- Add the following action under Actions:
- Assignee | (agent name)
Find below an example of what the trigger looks like.
Removing a tag from an agent
The last trigger is designed to remove an agent tag, in the event that the ticket gets reassigned to a different agent.
To remove a tag from an agent using a trigger
- Create a new trigger.
- Add the following conditions under Meet ALL of the following conditions:
- Ticket | Is | Updated
- Assignee | Changed from | (agent name)
- Add the following action under Actions:
- Remove tags | (agent name)
Below is an example of what your trigger could look like:
6 Comments
Do you have to create this set of triggers for each agent?
Or is there a way to dynamically add/remove a tag that I am missing?
Welcome to the community! Unfortunately, you'd have to do this separately for each agent.
Hello Brandon, you may be able to do part of this using (our) Agent Activity Tags app. This will add tags for every agent updating the ticket, and you would need modify this behaviour by perhaps removing all agent tags when the ticket is reassigned or something. Might help - just an idea.
Hi Zendesk Team,
Are there any plans to implement assignee retention on follow up tickets in 2022? For companies of scale who pass tickets between agents frequently, setting up tags and nullifiers for each individual agent seems unnecessarily inefficient.
No plans that I'm aware of, but this product feedback thread is the best place to follow when we do have information: Preserve Group and Assignee for user-generated follow-up tickets
There should be a more straightforward and seamless solution to a basic problem. Having to tag a ticket with the original agent's name seems a little silly.
Please sign in to leave a comment.