Text

Explore the capabilities of the 'Ask Text Card' in BizMagnets. This feature allows your bots to pose open-ended questions to users, adding an interactive and engaging element to the conversation.

Ask Text Card

Users can express their thoughts, opinions, or provide information in response to these questions. The responses are captured and stored in a designated variable, enabling you to utilize this data throughout your Bot Flow.

Familiarize yourself with the 'Ask as Text' feature within the Ask Text Card to enhance interactions with users.

Question Text

This field is where you pose your question to the users. Keep it concise and clear to ensure users understand what is being asked.

You can format the Question text to be Bold, Italic, or Strikethrough using the provided formatting options. For Bold, add an asterisk (*) before and after the text; for Italic, use an underscore (_) before and after; and for Strikethrough, enclose the text with a tilde (~).

Implementation Example:

Suppose you need to collect your customers' Aadhar Card details to assess their identity. The Ask Text question type with validation settings ensures that responses are useful and adhere to a defined character limit.

For the Question Text, you could use: Please enter your Aadhar Card details to verify your identity.

Additionally, you can save the user's response in a variable. For instance, create a variable named user_identity to store the response.

For the validation settings, you can set the attempt limit to 1, with the Validation Error Message being optional. Specify the Action on Invalid Response and enable the Additional Validation Settings.

Within these settings, set the Minimum and Maximum character limits to 12, and provide a Regex pattern for validation. Since the Aadhar card number consists of 12 digits, this ensures the input precisely matches the expected format.

The Aadhar card number consists of 12 digits. To ensure the correct format is captured, you could use the following regex: ^\d{12}$. This pattern verifies that the user inputs a valid Aadhar number, which adheres to the criterion of being exactly 12 numeric characters.

Last updated