Modules are the main building blocks when you design your chatbot’s conversation flow. Collector modules can be created by either right-clicking your mouse and selecting it or by going to the right sidebar menu. There are two different types of modules: collector modules and statement modules. We will give you a short definition of collector modules in this article.
Collector modules are great tools if you need to verify the end user's input, as all of the collector modules verify a specific type of input. This is useful if you need to collect a certain type of input, hence the name of these types of modules.
Types of collector modules
- Multiple Choice Module: Multiple-choice and statement modules are very similar, as both modules can accept freely written text from a user and both of them can have clickable answer options. Where the two types of modules differ is multiple choice have “bot error messages” build within them, so they will automatically go to the error message if the chatbot doesn’t understand the user input. Furthermore, statement modules can proceed to a new module without user input, whereas multiple-choice modules cannot. Multiple choice modules also need to verify a certain type of input, which can be done by either adding suggested replies or keywords. If the user's input does not match the suggested replies or the keywords then it will automatically go to either a bot error message or fallback module.
- Email Module: This module can be used in the context where you want to collect a user’s e-mail. The module itself does not collect e-mails, but it can verify whether or not the user input is an e-mail. If you want to collect the information, you can do so by storing the end user reply as a custom variable.
- URL Module: This can be used if your customer needs to send you a link, as the module validates whether or not the format of the link is correct.
- Number Module: This module can be used in the context where you want to collect a number, for example, an order number. The module itself does not collect numbers, but it can verify whether or not the user input is comprised of numbers. It is also possible to set a limit for the amount of numbers you want the user to type in the message section of the module. This can useful if you need a postal code, which has a specific format.
- Phone Number Module: This module can be used in the context where you want to collect a user’s phone number. The module itself does not collect phone numbers, but it can verify whether or not the user input is a phone number. To collect users’ phone numbers, you will need to store the end user reply as a Custom Variable.
- Date & Time Module: This module validates whether or not your customer has sent a date. We recommend specifying which date format you use in the Bot Message for this module (dd-mm-yyyy).