Once you’ve enabled Answer Bot, you can create triggers to direct Answer Bot to send results to your end users, and update existing triggers to do the same. Trigger conditions determine when Answer Bot's Article Recommendations are sent to an end user, and trigger actions determine what information is included in the email response.
This article discusses the following topics:
Related articles:
Creating new triggers for Answer Bot
If you're creating a new trigger, make sure you're familiar with the process. See Creating and managing triggers for information.
To create a trigger that includes Answer Bot
- In Admin Center, click the Objects and rules icon (
) in the sidebar, then select Business rules > Triggers.
- Click Add trigger.
- Create the trigger conditions. For example, you may want to have Answer Bot send an email with suggested articles to an end user as soon as they submit a help request, but only from a mobile device. That trigger would include the following conditions:
- Ticket | Is | Created
AND
- Requester: Role | Is | (end user)
AND
- Ticket: Channel | Is | Mobile
- Ticket | Is | Created
- Next, configure the trigger to perform the following action:
- Notifications: Answer Bot | (requester)
This establishes that all tickets that meet the above conditions will send your Answer Bot email (see below) to the ticket requester.
- Notifications: Answer Bot | (requester)
- When you select Answer Bot from the Actions drop-down, the Answer Bot email field appears:
- Fill out the subject and body text you want to include in the Answer Bot email. Use the following placeholders to customize the email text. You can also click View available placeholders to view and copy placeholder text:
-
{{answer_bot.article_list}}
Required. You must include this placeholder for the feature to work. This placeholder adds a list of up to three articles that best match the request, links to those articles, and inserts buttons the end user can use to choose which article solved the request.
Note: This placeholder includes two pieces of text that are determined by the user's profile language: The header Do any of these articles answer your question?, and the two buttons located underneath each suggested article Yes, close my request and View article. -
{{answer_bot.first_article_body}}
Optional. This placeholder renders the first matching article (full HTML) into the email body, allowing end users to read the article and solve their problem without needing to leave the email experience.
-
{{answer_bot.article_count}}
Optional. This placeholder allows you to create an optional condition to send different body copy to customers based on how many articles are returned, for example:
{% if answer_bot.article_count > 0 %} Here are some great articles that may help: {{answer_bot.article_list}} {{answer_bot.first_article_body}} {% endif %}
Note: Answer Bot is not compatible with the{{header}}
placeholder, which is an unsupported and deprecated placeholder that some customers may still be using in their HTML Email Template. The HTML Email template can be found in Admin Center, by clicking the Channels icon () in the sidebar, then selecting Talk and email > Email and scrolling to the Email templates section.
While this placeholder currently functions with standard email notifications, it produces a malformed header in Answer Bot Notifications. To resolve the issue, remove this{{header}}
placeholder from the Zendesk HTML Email template. To replicate the look and feel of this placeholder, you can add the following code (with appropriate styling added as desired) to the Email Body section of your account's Notify Requester triggers.<a href="{{ticket.link}}">Ticket #{{ticket.id}}: {{ticket.title}}</a>
-
{{answer_bot.article_list}}
- In the section Configure article labels and test Answer Bot, click Configure and test to filter the list of offered help center articles based on labels:
- Ticket brand: Use the drop-down to select a brand to run the test on. The brand selected here is purely for testing purposes, and will not be added to the trigger you are creating.
- Ticket subject: This field is used to test the articles returned when a ticket is filed with this subject.
- Ticket description: Enter a short description of seven or more words, written from the ticket submitter's perspective.
- Article restrictions by label: Enter labels you want to use to filter the articles. As you type into the tag field, autocomplete displays available labels beginning with the same word or characters. Any articles with any of these labels will be used as potential Answer Bot articles.
- Click Show suggested answers for a list of articles the user may receive if these labels are applied when submitting a similar ticket. If you approve, click Apply labels; if you don't, edit the entries and try again, or click Cancel.
- Click Submit.
The new trigger appears in the list on the triggers page, as well as on the Answer Bot admin page.
Converting an existing trigger for Answer Bot
If you're editing triggers, make sure you're familiar with the process. See Creating and managing triggers for information.
To convert an existing trigger for Answer Bot
- Click the Admin icon (
) in the sidebar, then select Business Rules > Answer Bot.
- Find the trigger you'd like to convert from the Recommended triggers list. If your trigger is not listed there, it likely doesn’t meet the essential conditions needed for Answer Bot triggers.
- When you've found the trigger you want to convert, click the Edit button. The trigger's edit page opens.
- In the triggers Actions section, click the Convert to Answer Bot button.
This updates the trigger, including adding the Answer Bot placeholders into the email body.
- Edit the email as needed, and click Save. The trigger now includes Answer Bot functionality.
18 Comments
Is there a way to remove or edit the "Do any of these articles answer your question?" header within the email?
Hello @...,
That is part of a pre-determined placeholder, answer_bot.article_list, and unfortunately cannot be edited or replaced, since it is required by the automation.
Hope that answers the question!
Hi everyone!
I've been configuring answer bot during these past weeks, and I'd like to know if there is any possibility to change the behavior of the button "yes, close my request" at the end of the article displayed in the email.
I'm talking about this one.
The change that we are thinking is about making that the button actually solves the ticket and doesn't redirect the user to the article on the help center. Is there a possibility to configure it like that on our end?
Thanks in advance.
Regards,
Hi Luis,
Thanks for reaching out to our Community!
I hate to be the bearer of bad news, but at the moment, it's not possible to customise the way the Answer Bot's suggestions are displayed in email notifications. The reason for this is that the message is returned by the Answer Bot through placeholders that are added to your triggers. These placeholders are {{answer_bot.article_list}} and {{answer_bot.first_article_body}}.
The button from your screenshot is added by the second placeholder {{answer_bot.first_article_body}} and is visible on the first article. Unfortunately, there is currently no way to access these placeholders and change the content they return.
Let us know if you have further questions!
This looks so exciting, cannot wait to get it setup!
Two questions:
Hi James,
Thanks for reaching out! Yes you can use Zendesk placeholders in your dynamic content. For example, you can add placeholders for ticket and user properties. See Zendesk data object (placeholders) referenceZendesk data object (placeholders) reference. You can also add other dynamic content placeholders.
https://support.zendesk.com/hc/en-us/articles/203663356-Providing-multiple-language-support-with-dynamic-content
Dynamic content is also how you would setup support for multiple languages, so this should work for both of your inquiries.
Thank you!
Jason Schaeffer | Customer Advocate |
Thanks for coming back on this Jason, much appreciated!
Should this answer bot code work from within Dynamic Content:
{% if answer_bot.article_count > 0 %}
{{answer_bot.article_list}}
{{answer_bot.first_article_body}}
{% endif %}
I tried it but with no success.
I am having the same issue. Answerbot is not working when I place the code within Dynamic Content
Hi James,
It appears that the Answer Bot placeholders don't work with dynamic content, see more details here: https://support.zendesk.com/hc/en-us/articles/115004477627
Thank you!
Yours truly,
Sonny Rebenito | Tier 1 Associate Customer Advocate | support@zendesk.com
Got a question? Come chat with us!
Ask our Zendesk Community
We recently added new labels to content related to an upcoming holiday campaign. As we're trying to create associated triggers for this content, it doesn't allow the addition of NEW labels when we try to configure & test. Any insight?
I hope you are doing very well.
It seems that you are having a doubt about (Given that the brand setting is for testing only, how do I ensure the correct brand is used for suggestions?).
Could you tell me more about your issue?
Hi Tiffany Maberry
In relation to the Labels, I will recommend checking these articles:
Using labels on your help center articles
Best Practices: Using labels in Answer Bot triggers
These labels should be added already in the Help Center articles to be able to be reviewed by Answer Bot.
Sincerely,
Julio H | Technical Support Specialist | Zendesk EMEA
Enjoy Free Zendesk Training
Hello. How do you prevent/ restrict INTERNAL Articles from showing up through the Answer Bot?
Internal articles that will show up in bot recommendations are restricted to the user segment the end-users belong to. Let's say for example you have enabled "Signed-in user" in your help center, even without signing in the end-user can still access the link the bot provided. But it's limited to articles that belong to their segment. They can't see any other articles that belongs to another user segment like "Agents and Admins".
Hope this helps.
I guess I am not 100% clear. I don't want our distributors to be served up an INTERNAL Articles. Can I add a restriction that includes the word [INTERNAL] so that any article labeled [INTERNAL] will not appear? For example: Any internal articles are titled as such: How to Set up the new Office Printer [INTERNAL]
Thanks!
Can we have the answer bot send an email to the agent (assignee) instead of the requester?
The suggested articles are not always accurate but it would be nice to prompt the agent with the suggested ones and they can evaluate them.
thank you
It is only available for requester and CC.
However, your agents can review the articles that were sent on the actual ticket.
How can I suggest my own list of articles instead of having AB suggest it for me? I could just use a normal trigger, but I want the ability for end-users to mark their ticket as solved.
We don't have this feature yet outside of Answer Bot.
Would you mind posting your use case to our Feedback on Support topic? We have a template you can copy and use in your post. This is to help get more visibility and votes on the idea. Then, others can share their use cases to further drive demand for that feature. Thanks!
Please sign in to leave a comment.