Suite | Qualquer plano |
Embora as respostas automáticas com artigos já funcionem assim que forem configuradas no Web Widget (clássico), algumas funções podem ser definidas modificando a API do JS, incluindo:
Artigos relacionados:
Supressão das respostas automáticas
Se houver situações nas quais você não deseja sugerir respostas, agora pode usar a API do JS para suprimi-las, como faria com outras opções de canal:
window.zESettings = {
webWidget: {
answerBot: {
suppress: true
}
}
};
Para obter mais informações, consulte a chamada da API do JS para supressão.
Supressão temporária de canais de contato
É possível usar uma API do JS para forçar uma tentativa de autoatendimento antes da exibição das opções de contato:
window.zESettings = {
webWidget: {
answerBot: {
contactOnlyAfterQuery: true
}
}
};
Quando isso estiver configurado com true
, os usuários precisam tentar o autoatendimento (fazendo sua pergunta/relatando seu problema), e só depois as opções de canais de contato serão apresentadas, como de costume.
Atualização da aparência do bot
É possível controlar o título do widget exibido, o nome do bot e o avatar por meio da API do JS básica mostrada abaixo. Por padrão, a tag "Bot" sempre estará presente para indicar aos usuários que a experiência não envolve um ser humano.
Adicione o trecho de código a seguir ANTES do carregamento do script do widget. Depois, você pode controlar e definir o título, o nome do bot e a origem da imagem do avatar, por exemplo:
<script type="text/javascript">window.zESettings = {
webWidget: {
answerBot: {
avatar: {
url: 'https://link-to-some-image',
name: { "*" : 'Zendesk'
}
},
title: { "en-US": "Support"
}
}
}
};
</script>
Filtragem das sugestões de artigos por rótulo
É possível usar a API do JS para definir rótulos que são transmitidos para os artigos sugeridos. Então, as respostas automáticas podem procurar sugestões usando apenas artigos que contenham esses rótulos.
<script>zESettings = { webWidget: { answerBot: { search: { labels:
['hello', 'world'] } } }}</script>
Essa opção pode ser útil nestes cenários:- Criação de um mapeamento de URL que define rótulos de acordo com o lugar do website em que o usuário está (talvez ele esteja em uma determinada categoria de produto e você possa definir rótulos para assegurar que somente sejam filtrados os artigos desse produto).
- Filtragem de artigos de uma determinada plataforma de acordo com o dispositivo detectado.
- E muito mais...
11 comentários
Dane
This will only work for Live Chat (Classic Widget).
0
Daniel Michaels
I used the code from updating the appearance of answer bot in Rosetta Theme 1.4.2 so I could change the picture of the avatar. I had put the code in script.js in the helpdesk so that it would change the values. This worked perfectly.
In Sandbox we just updated Rosetta Theme version 2.1.2. I added the same code
//Answer Bot Changes
window.zESettings = {
webWidget: {
answerBot: {
avatar: {
url: 'https://rustoleum.com/zendesk/RO-Chat-Bot.png',
name: {"*": 'RO'}
}
}
}
};
The avatar does not change to the picture? Did something change with the new version that I need to adjust the settings?
0
Dane
As it turns out, there's no option to remove it if you have turned on Article recommendation for your widget. However, you can rename it by using this API.
0
Stephanie Knuteson
I am trying to locate in HTML where the " widget script is loaded" so that i can remove the "Bot" language. I want to just want to remove the highlighted language nothing else. I have looked through ever page and can not find the web widget info listed anywhere.
0
Tony
This is Tony from Zendesk.
The code you are using right now should attach contextual data when submitting a user query, as you can see here.
I believe you are looking for something that will enhance the contextual help provided by the web widget, then I think you should use this option and integrate it in your site.
Best,
0
Jimmy
not having any luck with that snippet of code. (filtering articles using labels). I'd like a specific article to be recommended when the keywords "return, refunds" etc are used.
0
波乗り洋平
Hi Dylan
Looking at the API reference, I thought I might not be able to. You can't do that. Consider Messaging & Flow Builder.
Thank you friend!
0
Dylan Tragjasi
It is not currently possible to modify the "Get in touch" button shown in the screenshot below.
You may want to consider switching to Messaging as outlined here. This will provide you with access to Flow Builder, which allows significantly more customization as far as the kind of wording you can use within your widget.
Hope this helps!
- Dylan
0
波乗り洋平
hi.
I have enabled Answer Bot and manned chat in the widgets on the Help Center site.
When you open the widget, you'll see a comment saying "Get in touch" after the bot's greeting. Can I change the text "Get in touch" ?
0
Aimee Spanier
Thanks for catching those, Justin! I've fixed the resource link and removed the video until I can track down a working version of it.
0
Entrar para comentar.