変数
ここでは、Bright Pattern コンタクトセンターの ワークフロー および シナリオで使われる変数についてご説明します。
変数は、共通の形式$(varname)を使ってアクセスできます。変数は、整数 および 文字列 式で使うことができます。
共通の変数
$(user.id)
$(user.id) は、エージェントのアクションによってワークフローが開始された場合、エージェントIDを指定します。
$(user.loginId)
$(user.loginId) は、エージェントのアクションによってワークフローが開始された場合、エージェントのログインIDを指定します。
$(user.team)
$(user.team) は、ユーザが割り当てられたチームの名前です。
$(user.firstName)
$(user.firstName) は、エージェントの名(ファーストネーム)を指定します。
$(user.lastName)
$(user.lastName)は、エージェントの姓(ラストネーム)を指定します。
$(item.caseId)
$(item.caseId) は、対話のケースIDを指定します(ある場合のみ)。
$(item.caseNumber)
$(item.caseNumber) は、対話のケース番号を指定します(ある場合のみ)。
$(item.contactId)
$(item.contactId) は、お客様のコンタクトIDを指定します(ある場合のみ)。
$(item.firstName)
$(item.firstName) は、お客様の名(ファーストネーム)を指定します(ある場合のみ)。
$(item.lastName)
$(item.lastName) は、お客様の姓(ラストネーム)を指定します(ある場合のみ)。
$(global_interaction_id)
$(global_interaction_id) は、GIIDを指定します。この変数の別名は、$(item.globalInteractionId)です。
ご注意: この変数はシナリオで利用可能です。
音声専用
$(LanguageAsked)
$(LanguageAsked) は、お客様が特定の言語を選択したかどうかを指定します (例えば、 "はい")。
$(NPS_raw)
$(NPS_raw) は、ネットプロモータースコア (NPS) の値 を指定します(例えば、 "11")。
$(contact_satisfaction)
$(contact_satisfaction) は、お客様の応対満足度を指定します (例えば、 "1")。
$(destination)
$(destination) は、通話接続 ブロックの宛先を指定します (例えば、"2042")。
$(first_call)
$(first_call) は、この音声対話が初回の電話であるかどうかを指定します (例えば、 "1")。
$(screenpopData)
$(screenpopData) は、対話型自動音声応答(IVR)によって受信または設定されたスクリーンポップデータのリストを指定します。利用可能なスクリーンポップデータ要素のリストは、特定のIVRおよび統合によって決まります。
$(item.ANI)
$(item.ANI) specifies the Automatic Number Identification (ANI), a telephone company service providing a calling party with a number of the calling party. "ANI" is often used instead of “calling party number.”
$(item.DNIS)
$(item.DNIS) specifies the Dialed Number Identification Service (DNIS), a telephone company service providing the called party with a number that was dialed by the calling party. "DNIS" is often used as a shorthand for "called party number."
$(item.cnam)
$(item.cnam) specifies the customer name.
$(item.customerPhone)
$(item.customerPhone) specifies the customer phone number. This variable enables passing customer phone information from scenarios of primary inbound and outbound customer calls to scenarios of the associated consultations and blind transfers.
- In scenarios launched for new incoming calls, its value matches the value of the $(item.from) variable.
- In scenarios launched for new outgoing calls, its value matches the value of the $(item.to) variable.
- In scenarios launched for consult calls and blind transfers, the value of the $(item.customerPhone) is inherited from the scenarios of the associated primary calls.
$(item.from)
$(item.from) specifies the origination address (i.e., phone number or chat user display name). This variable is also known as ANI.
$(item.interactionId)
$(item.interactionId) specifies the interaction identifier.
$(item.media)
$(item.media) specifies the media type (e.g., "voice").
$(outbound_data)
$(outbound_data) contains data from calling lists and is available if the workflow is triggered from outbound campaign.