SendSMSPayload

對於帶有 ACD 的 數位通道,此動作管理處理 SMS 互動的框架。此框架稱為文字中心,並且每個互動都發生在該中心的一個「房間」中。

SendSMSPayload 在單個動作中包含整個 CXone SMS 訊息 互動。這包括建立、管理和終止文字中心工作階段,以及在啟用該功能時產生和儲存轉錄。您可以將 SendSMSPayload 放置在您想要支援 SMS 互動的任何類型的指令碼中的任何位置。

您還可以在 SMS 或非 SMS 指令碼中使用 SendSMSPayload,以在互動結束時向聯絡人傳送一條訊息。例如,電話指令碼中的 OnRelease action 可能會觸發將互動後調查 URL 傳送給聯絡人的 SendSMSPayload 動作。

Supported Script Types

The icon for a Generic script type - a rectangle with < and > symbols inside it.

The icon for the Email script type - a large @ symbol in a diamond.

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

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

The icon for the Digital script type - a computer monitor with a smartphone next to it.

一般

電郵 聊天 電話 語音郵件 工作項目 SMS 數位

Input Properties

這些屬性定義了動作執行時使用的資料。

屬性

描述

Caption

輸入在指令碼中唯一標識此操作的短語。標題出現在指令碼畫布上的動作圖示下。The default is the action name.

ToNumber

接收 SMS 訊息的電話號碼。

FromNumber

傳送 SMS 訊息的手機號。輸入電話號碼或從下拉式清單中選擇一個。

如果電話號碼需要 E164 格式,請輸入數字和加號 (+)。從下拉式清單中選擇數字,沒有新增所需格式。這是對歐洲和北美以外其他地區的號碼的要求。

Message

SMS 訊息內容。

PartyType

從下拉式清單中選擇一方。

SaveTranscript

布爾值。是否儲存文字訊息的文字記錄。

Result Branch Conditions

結果分支條件允許您在指令碼中建立分支,以處理執行動作時的不同結果。

條件

描述

Default 指令碼未能滿足需要它採用其中一個分支的條件時採用的路徑。如果沒有定義動作的其他分支,也會採用該路徑。

OnError

動作未能正確執行時採用的路徑。例如,當出現連接不良、語法錯誤等意外問題時。_ERR變數(帶有一個下畫線字元)應填入針對問題的簡要說明。

OnErrorSMSMessageTooLong

SMS 訊息的長度超過指定的字元數時採用的路徑。

OnNeedsRetry

需要重試時採用的路徑。

OnInvalidTransportCode

允許您為特定錯誤條件建立一個分支。

OnTimeoutWaitingForResponse

在指定的秒數內沒有回應時採用的路徑。