Form action

近日公開予定

Use the Form action in digital bot flows to send forms configured previously by an administrator in canned responses. This action enables your digital bot to send custom forms to your customers and capture their responses.

Administrators can create and manage forms using the canned responses feature in Genesys Cloud. For more information about creating forms, see Add a form.

Note: The Form action is currently available for Apple Messages for Business only. The action takes the failure path if you use it in any other unsupported channels.

フィールド 説明
名前

ここで入力したラベルは、タスクエディタのアクションの名前になります。

ライブラリ

Select the appropriate canned responses library that contains the form that you intend to use in the action. For more information about canned responses libraries, see Create and manage libraries.

フォーム

Select the form that the bot must send to the bot participant.

Note: If you change the library after you select the form, your form selection resets.

Form Completion Timeout

Set the maximum length of time that the bot must wait after the sending the form for the participant to complete it. If the participant does not complete the form within this duration, then the flow triggers a No Input event.

Form Pages

After you select the form, Architect automatically populates all the form elements and lists them under Form Pages. Define a variable for each form page to capture the corresponding response value and then use the variable in the flow for further actions.

The label of each form page appears in one of the following formats depending on the form page type:

  • List Picker: “Form title (form type – select type).” For example, “Select an order (List Picker – Single).”
  • Input: “Form title (form type).” For example, “Enter your name (Input).”
  • Date Picker: “Form title (form type).” For example, “Enter the order date (Date Picker).”
一致なし

ユーザーの入力が有効な一致でない場合にボットが出す通信を入力します。

注意: ボットは、設定 > ユーザー入力 > No Match Detected > No Match Apology の内容を、No Match コミュニケーション と組み合わせて返します。

カスタマイズ No Match

No Match Reprompts フィールドを有効にします。 このオプションを使用して、ボットがNo Match入力イベントを受信したときに段階的に発生するNo Matchプロンプトのリストを作成します。

No Match Reprompts

ボットはNo Match入力を受け取ると、No Match Repromptsコレクションの中で、そのアクションに対して受け取った現在のNo Match入力の数に対応する通信を返します。 例えば、最初のNo Match入力がトリガーとなり、ボットは定義されたコレクション内の最初のNo Matchリプロンプトを使用します。

No Match Repromptコレクションの長さは、その特定のアクションの[設定]>[ユーザー入力]>[No Match Detected]>[NoMatch再試行の最大数]で定義したNo Match再試行の最大数より優先されます。 例えば、コレクションに2つのリプロンプトを定義した場合、ボットは2回リトライします。 空のコレクションは、No Matchの再試行をオフにします。

注意: ボットは、設定>ユーザー入力>No Match Detected>No Match Apologyと、対応するNo Match Reprompt通信を組み合わせて返します。

初期設定 一致しない

デフォルトの「No Match」フィールドを有効にします。 このオプションを使用すると、ボットがNo Match入力イベントを受信したときに表示されるNo Matchプロンプトを1つ定義することができます。

パス
  • 最大入力なし : Max No Inputsパスの有効/無効を設定します。 このオプションを有効にすると、ボットがこのアクションに設定した無入力リトライの最大数を超えた場合、フローはこの出力経路をたどります。
  • 最大一致なし:最大一致数パスを有効または無効にします。このオプションを有効にすると、ボットがこのアクションに設定した一致なしの再試行の最大回数を超えると、フローはこの出力パスに従います。

注意: このパスを無効にした場合、出力パスに設定したフローは削除されず、非表示になります。

成功パスと失敗パスを定義する

パス 説明
成功

This path indicates that the system successfully sent the form to the participant and the participant has filled in valid values for all the form pages.

To follow the route you want the interaction to take, drag the appropriate action below the Success path.

失敗

This path indicates that the system was unable to send the form to the participant.

インタラクションの実行ルートを指定するには、適切なアクションを「失敗」パスの下にドラッグします。

Best practices when configuring the Form action

The following best practices help you in ensuring that the messaging channel supports the Form action:

  • Before you add the Form action, it is recommended that you identify whether the user’s device can handle forms so that you can send a different action instead of a form. The device capabilities are included within the participant data of a conversation. To confirm the device capability, you can use the expression, (FindString(Flow.deviceCapabilities,"FORM") > 0), for example, in a Decision or Switch action before the Form action. If the flow executes the action with a device that does not support FORM, then the action takes the failure path.
  • You can also use the Architect built-in variable, Session.Source, to identify the messaging channel type. For more information about this variable, see Architect built-in variables.