Suite | 모든 플랜 |
문서를 통한 자동 답장은 웹 위젯(클래식)에서 설정되는 즉시 작동하지만 JS API를 수정하여 다음을 포함한 일부 기능을 구성할 수 있습니다.
참고: 자동 답장 API는 현재 레거시 용어(Answer Bot)를 사용하고 있습니다.
관련 문서:
자동 답장 억제하기
답변을 추천하고 싶지 않은 상황이 있는 경우 이제 다른 채널 옵션에서 수행하는 것과 유사하게 JS API를 사용하여 자동 답장을 억제할 수 있습니다.
window.zESettings = {
webWidget: {
answerBot: {
suppress: true
}
}
};
자세한 내용은 suppress JS API 호출을 참조하세요.
일시적으로 문의 채널 표시하지 않기
JS API를 사용하여 문의 옵션이 표시되기 전에 셀프 서비스를 시도하도록 할 수 있습니다.
window.zESettings = {
webWidget: {
answerBot: {
contactOnlyAfterQuery: true
}
}
};
true
로 설정되어 있으면 사용자가 질문을 하거나 문제를 기술함으로써 먼저 셀프 서비스를 시도한 후에야 평소처럼 문의 채널 선택 옵션이 제시됩니다.
봇의 모양 업데이트하기
아래 표시된 기본적인 JS API를 통해 표시되는 위젯 제목, 봇 이름 및 아바타를 제어할 수 있습니다. 기본적으로 “Bot” 태그가 항상 있어 사용자에게 실제 사람과의 대화가 아님을 알려줍니다.
위젯 스크립트가 로드되기 전에 다음 코드 스니펫을 추가합니다. 그런 다음 제목, 봇 이름, 아바타 이미지 출처 등을 제어하고 정의할 수 있습니다.
<script type="text/javascript">window.zESettings = {
webWidget: {
answerBot: {
avatar: {
url: 'https://link-to-some-image',
name: { "*" : 'Zendesk'
}
},
title: { "en-US": "Support"
}
}
}
};
</script>
레이블별로 문서 추천 필터링하기
JS API를 사용하여 추천 문서를 통해 전달되는 레이블을 설정할 수 있습니다. 그런 후 자동 답장은 그러한 레이블이 포함된 문서만 사용하여 추천 문서를 검색할 수 있습니다.
위젯 스크립트가 로드되기 전에 다음 코드 스니펫을 추가합니다. 그런 다음 레이블을 설정할 수 있습니다.
<script>zESettings = { webWidget: { answerBot: { search: { labels:
['hello', 'world'] } } }}</script>
이 옵션은 다음과 같은 시나리오에서 유용할 수 있습니다.- 웹사이트 내 사용자의 위치에 따라 레이블을 설정하는 URL 맵핑 만들기(특정 제품 카테고리에 있는 경우 해당 제품에 대한 문서만 필터링하도록 레이블을 설정할 수 있음)
- 감지된 기기에 따라 특정 플랫폼에 맞는 문서 필터링하기
- 그 외 다수
댓글 11개
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
댓글을 남기려면 로그인하세요.