Prompt Nodes

We need to capture user details and ask them basic questions like their Name, Email, Phone number, and Date of Birth. Prompts are used to add such types of questions in the chatbot conversation.

If a prompt is used, the chatbot waits for user input, validates it, and moves forward in the conversation flow.

Types of Prompts

  1. Free Text
  2. Phone Number
  3. E-mail ID
  4. Date picker

When to use

Prompts can be used to generate qualified leads.

A regular expression (Reg-ex) can be used along with a prompt to validate user input.

For Instance: Chatbot asks the customer for their phone number to generate a lead, and they enter an invalid phone number containing characters as well. The prompt will validate the input and fallback if the input is not according to the reg-ex set. Reg-ex can be changed as per the requirements.

Limitations

  1. A question is mandatory to be asked in the prompt.
  2. Character limit of 640 characters.

Prompt’s Elements

  1. Text Box (640 Character Limit)
  2. Validation (Field to enter a regex)
  3. Store user response in a defined variable.

How to use

To add a prompt, you can select it from the menu on the canvas or in the prompts menu on the left-hand side panel.

Free Text Prompt

This prompt can be used to get any sort of information from the user and store the response in a variable validating it alongside any condition using a regex.

For Instance: You can collect the user name using the prompt and validate as the input should be a string and not have any numbers in it.

Phone Number

This prompt is used to get the user's phone number and store it in a variable after validating the input shared by the user.

For Instance: You need to capture a customer’s phone number for a Lead Generation use case. Using the Phone prompt, you can save the user response in a variable and validate it.

Email ID

This prompt is used to get the user's email ID and store it in a variable after validating the input shared by the user.

For Instance: You need to capture a customer’s email ID for a Lead Generation use case. Using the Phone prompt, you can save the user response in a variable and validate it.

Date Prompt

This prompt is used to get a date from the user and store it in a variable after validating the input shared by the user.

For Instance: For booking an appointment, you need to capture a date. Using the Date prompt, you can validate the user response and save it in a variable.

Number