Figuring out the best way to set up triggers, automations, views, and tags to track autoreply usage can be confusing for many users. In this article, contains recommendations for the following situations:
- Automatic tagging
- Viewing tickets marked helpful
- Removing the tags from reopened autoreply tickets
- Following up with customers who self-solve
- Creating an autoreply trigger for follow-up tickets
- Suppressing CSAT surveys on autoreply tickets
Automatic tagging
There are five tags that the autoreplies feature automatically adds to tickets to simplify setting up of new triggers and automation.
Ticket tag name |
When is it added? |
ar_suggest_false |
Added when a suggestion is successfully triggered but failed to find any matching articles |
ar_suggest_true |
Added when a there is a successful article suggestion |
ar_marked_unhelpful |
Added when the end user indicated that the suggestion was unhelpful |
ar_marked_helpful |
Added when the end user marks the suggestion as helpful |
ai_agent_automated_resolution |
Added when the ticket is automatically resolved by an AI Agent using autoreply with articles (learn more) |
Note that if you use the answer_bot_fired tag, your existing triggers will continue working as they do today.
To optimize how triggers are fired, set up new triggers to take new actions, or change automations, you have to start with some basic tag manipulation:
- In Admin Center, click
Objects and rules in the sidebar, then select Business rules > Triggers.
- For every trigger listed in the Answer Bot trigger section, select Edit.
- Scroll down to the bottom of the trigger, to the Actions section and select Add Action.
- Select Add tags from the drop-down list and then insert the tag answer_bot_fired.
- Save the trigger.
Now all tickets autoreplies have fired on will have the answer_bot_fired tag, and you can easily create a view to see them:
- In Admin Center, click
Workspaces in the sidebar, then select Agent tools > Views.
- Click Add view.
- Create a new view with these conditions:
- Status | Less than | Closed
- Tags | Contains at least one of the following | answer_bot_fired
Viewing tickets marked helpful
You can create a view to see all tickets that an end user has marked helpful based on an autreply suggestion. Tickets an end user has marked as helpful by an autoreply suggestion are automatically given the ar_marked_helpful tag.
- In Admin Center, click
Workspaces in the sidebar, then select Agent tools > Views.
- Click Add view.
- Create a new view with these conditions:
- Status | Greater than | On-hold (or Pending, if On-hold status is not available for your account)
- Tags | Contains at least one of the following | ar_marked_helpful
Removing tags from reopened autoreply tickets
You could even take this one step further and add another trigger to remove the ar_marked_helpful tag, if a ticket is reopened:
- In Admin Center, click
Objects and rules in the sidebar, then select Business rules > Triggers.
- On the triggers page, click the Ticket tab, then click Create trigger.
- Set the conditions:
- Status | Changed from | Solved
- Status | Not changed to | Closed
- Tags | Contains at least one of the following | ar_marked_helpful
- Add the actions:
- Select Add tags from the drop-down list and then insert the tag answer_bot_reopen.
- Select Remove tags from the drop-down list and then insert the tag ar_marked_helpful.
- Save the trigger.
Following up when customers self-solve
Extending on the previous steps, you can also add another action to send the requester a follow-up email to confirm that their request has been marked as solved.
- In Admin Center, click
Objects and rules in the sidebar, then select Business rules > Triggers.
-
Create the trigger in the previous section, with these additional actions:
- Email user | (requester)
- Enter an email subject and body
- Save the trigger.
Creating an autoreply trigger for follow-up tickets
In some situations, you may want to check in on a closed ticket. Closed tickets cannot be reopened, so to continue the conversation (rather than starting a new one) you need to create a follow-up ticket.
When you create a follow-up ticket, all of the closed ticket's information, including tags, is carried over into the new ticket. That means that the default ar_marked_helpful tag is applied to the follow-up ticket, which prevents autoreplies from firing on the new ticket. If you want to include article suggestions in the ticket notifications, you'll need to remove the ar_marked_helpful tag.
- In Admin Center, click
Objects and rules in the sidebar, then select Business rules > Triggers.
- On the triggers page, click the Ticket tab, then click Create trigger.
- Set the conditions:
- Ticket | Is | Created
- Channel | Is | Closed ticket
- Tags | Contain | ar_marked_helpful
- Add the actions:
- Remove tags | ar_marked_helpful ar_suggest_false ar_suggest_true ar_marked_unhelpful
- Save the trigger.
Suppressing CSAT surveys on autoreply tickets
Customer Satisfaction (CSAT) surveys were designed primarily for when human agents have been involved in solving the ticket. Many customers choose to disable satisfaction surveys for autoreply tickets. This assumes that you are tagging tickets solved by an autoreply suggestion with the answer_bot_solved tag.
- In Admin Center, click
Objects and rules in the sidebar, then select Business rules > Automations.
- Open the automation that's been set up to send CSAT surveys
By default it's called Request customer satisfaction rating (System Automation). - Add a new condition:
- Tags | Contains none of the following | answer_bot_solved
- Save the automation.
8 comments
Luke Alexander
This set of conditions for tagging tickets as solved doesn't work for me:
Reason being that ticket events states that Zendesk adds ab_resolved in a separate action to the user changing ticket status to solved. Further to this, when Zendesk adds the tag rather than the user, it doesn't always count as a ticket update for some reason so it's impossible to build a trigger around the ab_resolved tag: a vast majority of the time it just won't fire until the ticket updates on close. I wish that this whole feature were baked in rather than organised via triggers. It's so inconsistent.
1
Orin
Any Update on this as using the flow to add the tag answer_bot_solved does not work, when I reached out to Zendesk support and they let me know I have my triggers set correctly but not sure "why trigger didn't fire as expected although I understand that these conditions are in our article"
My question is, can you add a trigger based off the system created triggers ( ab_resolved ) when no agent touches the ticket?
As this trigger doe snot work at all and will not add the tag answer_bot_solved to a ticket solved by an end-user.
0
Joyce
Hey Orin,
I can see that you have an open ticket on this issue, which is actively being investigated by a member of our Advocacy team.
You will receive an email update on the status of the request.
-1
Riah Lao
Hi,
Has this issue reported above been resolved?
0
Cheeny Aban
Do you have a trigger with the exact configuration, and it did not fire on a ticket? If yes, I suggest that you initiate a conversation with us so we can further review the ticket events.
-1
Dan Cooper
This article looks like it could use some attention. There are some best practice that seem to be nullified based on the addition of automatic tags as indicated here: https://support.zendesk.com/hc/en-us/articles/4408829637658-Announcing-latest-enhancements-to-Zendesk-Answer-Bot-
I'm finding the best practices suggestions for answer_bot_solved and answer_bot_fired are redundant with the ab_resolved and ab_suggest_* tags.
0
Rob Larsen
Orin / Riah Lao
After doing some work with this today I was able to successfully get a series of events to occur similar to what the article mentions but, as you noted, there does appear to be some logic errors above.
Over the course of two triggers I was able to make the Solve and Reopen logic work, with notifications to the end user as follows:
Trigger One - AnswerBot - Tagging Solved Tickets
Meet ALL of the following conditions
Actions
First trigger ends
Trigger Two - AnswerBot - Tag Tickets as Reopen
Meet ALL of the following conditions
Actions
Second trigger ends
--
As Dan Cooper notes above there is a bit of duplication in the automatically assigned tag for ab_resolved and the secondary tag answer_bot_solved however from a reporting standpoint in the future I could see a world where, in Zendesk Explore, we want to report on all tickets marked as solved by AnswerBot, regardless of the end outcome. By leaving ab_resolved we allow for that possibility. In my eyes this does run along side (but does not replace) answer_bot_fired style triggers because in this case I'm specifically trying to look at all tickets where AnswerBot marked the issue as resolved, and I could build a report out to cross reference that with tickets also tagged answer_bot_reopened or any other tag I wanted to reference in combination.
Overall though, this allows us to let a requester know that they marked their answer as solved and lets them follow up on the ticket if that is not the case or they have additional questions, then updating the tagging correctly and optionally routing it directly to a group. If you wanted these tickets to go directly to a Tier 2 group as an example because the user may already have some frustration at this process or the original solution not working you could do something along the lines of:
As our last step and have any other triggers applied to any Ticket | is | Updated workflows/notifications fire off internally as expected.
Hopefully this helps with the logic you were looking to get going.
--
Rob Larsen
Implementation Consultant
Envoy Studios
1
Aaron C.
I had to update my trigger that follows up with customers who self serve. If you have the default automation that sets solved tickets to closed after 4 days, it fires the trigger that updates customers who self-serve again. So they will get that email twice, once when they self-serve and once when the ticket closes.
I would consider adding a condition that nullifies this trigger from firing more than once.
0