내장 스크립트 변수
Built-in variables provide information about objects that the system tracks automatically, such as the agent’s name or duration of the current call. For example, if you select Scripter.Agent Name
from the list, Scripts inserts a placeholder for that variable into the component. Two sets of curly braces enclose the variable name: {{Scripter.Agent Name}}
.
Built-in variables are available when a read-only text, button, checkbox, radio button, link, or markdown has focus in the script editor.
For a list of built-in variables, click Variables . You can mix manually typed text with variables. For example:
Outstanding agent {{Scripter.Agent Name}} has been on this call for {{Scripter.Agent Call Duration}} minutes.
Selectable variables
- 변수 스크립터 접두사는 인바운드 또는 아웃바운드 여부에 관계없이 모든 스크립트에 사용할 수 있습니다.
- 변수 배 밖으로 접두사 스크립트와 연결된 연락처 목록의 열에 대한 자리 표시자를 삽입합니다. 아웃바운드 변수는 스크립트의 Outbound 속성을 활성화한 경우에만 나타납니다.
- 내가 만든 맞춤 변수.
스크립트 변수
{{Scripter.Agent Call Duration}}
—Talk time that the agent was on the call.{{Scripter.Agent Call Start Time}}
—Time when the call was connected to the agent. (Using the local time on the agent’s computer.){{Scripter.Agent Communication ID}}
—The identification number of the agent’s current communication.{{Scripter.Agent Email}}
—Agent’s email address.{{Scripter.Agent Formatted Number}}
—Formatted number that the contact sees as the agent’s caller identification number.{{Scripter.Agent Locale}}
—Agent’s chosen language code, such as: en-US: English; fr: French; and es: Spanish, based on the agent’s language selection.{{Scripter.Agent Id}}
—Agent’s Genesys Cloud ID (UUID).{{Scripter.Agent Name}}
—Name entered for the agent user.{{Scripter.Agent Participant ID}}
—Agent’s identification number.{{Scripter.Customer Call Duration}}
—Total time the customer has been on the call.{{Scripter.Customer Call Start Time}}
—Time when the call started. (Using the local time on the agent’s computer.){{Scripter.Customer Communication ID}}
—Identification number of customer’s current communication.{{Scripter.Customer Formatted Number}}
—Customer’s formatted phone number.{{Scripter.Customer Participant ID}}
—Customer’s identification number.{{Scripter.Interaction Id}}
—Unique identification number assigned to the interaction. This variable is the same as theconversationID
in the Genesys Cloud API.{{Scripter.Interaction State}}
—Current state of the interaction. See Interaction states.{{Scripter.Interaction Type}}
—Type of interaction: for example, call, chat, email, or others.{{Scripter.Message Type}}
—Message type for messaging services: for example, SMS, Facebook, twitter, line.{{Scripter.Page Is Invalid}}
—True or false, whether the script contains an error.{{Scripter.Queue ID}}
—Identification number of the queue this interaction is on.{{Scripter.Queue Name}}
—Name of the queue this interaction is on.{{Scripter.Raw Interaction State}}
—Untranslated current state of the interaction. See Interaction states.{{Scripter.Raw Interaction Type}}
—Untranslated type of interaction: for example, call, chat, email, or others.{{Scripter.Script ID}}
—Identification number of this script.
Outbound variables
{{Outbound.Campaign ID}}
—Identification number of the campaign associated with this script’s Outbound property.{{Outbound.Campaign Name}}
—Name of the outbound campaign associated with this script’s Outbound property.참고: Outbound.Campaign Name 변수에 대한 캠페인 이름에 액세스하려면 사용자에게 Outbound > Campaign > View 권한과 Outbound 권한이 있어야 합니다. > 캠페인 > 검색 권한.
{{Outbound.Contact ID}}
—Identification number of the outbound contact.
Chat variables
{{Chat.Chat Room ID}}
—Identification number of the chat room.{{Chat.Customer Chat ID}}
—The Genesys Cloud identification number for this chat interaction. The Genesys Cloud web chat widget passes the values for the following variables. If your web chat developers do not assign values to them, they do not have a value.{{Chat.Customer Email}}
—고객의 이메일 주소.{{Chat.Customer First Name}}
—고객의 이름.{{Chat.Customer Last Name}}
—고객의 성.{{Chat.Customer Street}}
—고객의 거리.{{Chat.Customer City}}
—고객의 도시.{{Chat.Customer Postal Code}}
—고객의 우편번호(예: 50163.{{Chat.Customer State}
}—고객의 주.{{Chat.Customer Phone Number}}
—고객의 전화번호.{{Chat.Customer Phone Type}}
—고객의 전화번호 유형.{{Chat.Customer ID}}
—The identification number for this customer, set by your web chat developers. For example, you can configure web chat to supply the account number that your organization keeps for that user. As a result, the agent can use it to look up the customer in a database.
Email variables
{{Email.Customer Email Address}}
—고객이 사용한 주소입니다.{{Email.Subject}}
—고객 이메일의 제목줄.
UUI variables
{{UUI.UUIData}}
— 사용자 간 정보(UUI)는 한 애플리케이션에서 다른 애플리케이션으로의 호출과 관련 없는 데이터의 교환이나 전달을 말합니다. 스크립트는 UUI 데이터 교환을 지원합니다. 스크립트에서 UUI 데이터를 사용하려면 스크립트의 UUI 속성을 활성화하세요. 사용자 간 정보 설정 활성화 트렁크에 그리고 UUI 데이터 작업 설정 .
Workitem variables
{{Workitem.Status ID}}
—The identification number of the workitem’s status.{{Workitem.Status Name}}
—The name of the workitem’s status.{{Workitem.Workbin ID}}
—The identification number of the workbin for the current workitem.{{Workitem.Workbin Name}}
—현재 작업 항목에 대한 작업 공간의 이름입니다.{{Workitem.Workitem ID}}
—The identification number of the current workitem.{{Workitem.Workitem Name}}
—현재 작업 항목의 이름입니다.{{Workitem.Worktype ID}}
—The identification number of the worktype for the current workitem.{{Workitem.Worktype Name}}
—현재 작업 항목에 대한 작업 유형의 이름입니다.{{Workitem.Raw Assignment State}}
—The untranslated current assignment of the workitem.{{Workitem.Assignment State}}
—작업 항목의 현재 할당.