Askcaller (Chat Scripts)

채팅 컨택으로부터 정보를 요청합니다. 예를 들어 계정 번호, 이름, 또는 기타 유용한 정보를 제공받을 수 있도록 이 작업을 사용합니다.

Supported Script Types

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

채팅

Askcaller 작업은 SMS 미디어 유형의 스크립트에서도 사용할 수 있습니다.

Input Properties

이러한 속성은 실행할 때 작업이 사용하는 데이터를 정의합니다.

속성

설명

Caption

스크립트에서 이 작업을 고유하게 식별하는 짧은 문구를 입력합니다. 캡션은 스크립트 캔버스의 작업 아이콘 아래에 표시됩니다. The default is the action name.

Message 이 작업이 실행될 때 선택한 대상으로 전송되는 텍스트입니다. 이 필드의 변수를 사용할 수 있습니다.
ResultVar 생성되고 반환된 정보를 보유하는 변수 이름입니다. 예를 들어, 컨택이 계정 번호를 123456(으)로 입력하면 변수는 123456을(를) 보유합니다.
TimeoutSec 시간이 초과되기 전까지 작업이 실행되기를 기다리는 시간(초). 값은 0과(와) 60 사이여야 합니다. The contact has this amount of time to enter information into their chat window.

Result Branch Conditions

결과 브랜치 조건을 사용하면 작업이 실행될 때 여러 결과를 처리하기 위해 스크립트에 브랜치를 생성할 수 있습니다.

조건

설명

Default 다른 분기를 사용하기를 요구하는 조건을 스크립트가 충족하지 않는다면 사용되는 경로입니다. 작업의 다른 분기가 정의되지 않았을 때도 사용되는 경로입니다.
Timeout 지정된 시간(초) 동안 응답이 없을 경우 사용되는 경로입니다.
CallerResponded 컨택이 응답하는 경우 사용하는 경로.
Error 작업이 올바로 실행되지 않을 때 사용되는 경로. 예를 들어, 연결 불량, 구문 오류 등 예기치 않은 문제가 있을 때 사용됩니다. _ERR 변수(밑줄 문자 하나 포함)는 문제의 요약 설명으로 채워져야 합니다.

Script Example

이 예시는 완전한 스크립트가 아닙니다. 이 작업을 사용하려면 추가 스크립팅 작업이 필요합니다.

In the following script, the Askcaller action requests an account number from the contact. If the contact provides an account number, they are passed on to an agent through the Reqagent action. If the contact does not respond, the interaction is looped back to the account number prompt. This occurs up to the number of times specified in the Loop action. Each loop sends a message explaining that the system did not receive a response from the contact. If no response is received after the specified number of loops, a different message is sent to inform the contact that no account number was received, then the interaction ends.

Would you like to download this script?