It also helps protect sensitive information by hiding the data entered both in the Virtual Assistant chat history and during conversations with a human Agent.
Node ConfigurationThe following fields are available for configuring the node:
- Bot: displays all the bots you have access to, allowing you to select where this node will run.
- Next Step: Specifies the Step In the flow will navigate to once the user completes and submits the form.
- Block Input: When set to 'true', the text input box is temporarily disabled, preventing the user from typing while completing and submitting the form. To keep the text input enabled, leave this option set to 'false'. This setting applies only to the Web channel. For other conversational channels, such as WhatsApp, this behavior depends on each platform's capabilities.
- Inputs: Allows you to add the fields that will make up the form.
- Add Input: Adds a new field to the form. There is no limit to the number of fields you can add; however, all fields must be configured correctly, and the form must contain at least one input.
-
Type: Selects the type of data the user will be asked to provide for that form field. Available options include:
- Text: Allows any type of character.
- Number: Accepts only numeric characters, periods, and commas.
- Email: Accepts only valid email addresses.
- Password: Masks the content entered by the user so it is not visible in the chat window. This field type is available only for the Web channel.
- Textarea: Allows users to enter multi-line text.
- Media: Allows users to attach images, videos, or files. This field type is not available for the Web channel.
- Select: Creates a field with a list of options. Each option must be configured with a Label (display text) and a Value (associated value).
- Hidden: Creates a field that is hidden from the end user. Its value is automatically sent to the next step in the flow. A value must be assigned to prevent it from being sent empty.
- Label: defines the field name displayed to the user in the form.
- Ref: Specifies the internal name used to store the information entered by the user so it can be referenced in subsequent flow steps.
- Callback Label: defines the text displayed to the user when the form is configured as a callback form.
- Required: determines whether the field is mandatory or optional. Select true to make the field required, or false to make it optional.
-
Regex: validates the content entered by the user when the form is used in the Web channel.
Find basic concepts about regular expressions for validating form input here.
- Hide this value in the chat history: when enabled, the value entered by the user is hidden both in the chat history and during conversations with a human Agent.
- Remove Input: removes the selected field from the form.
You can download an example flow from this link.
In the following video, we'll show you how to configure the node in Studio: