The principle of creating a bot section for registering users does not differ from the creation of other sections. The section type should be set to "Default":

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c33fd0c4-352d-483a-a39b-3112289bd5c2/Untitled.png

  1. For the user to enter data such as first name, last name, patronymic and other data that require the user to enter text, use the "Message with a keyboard" block.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/bfc83e30-f61a-43dd-aa7a-6509e6170f7b/Untitled.png

In this case, the type of validation can be left "without validation" (the type of validation can be selected during extended editing of the block):

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/9fefb6ef-14d7-4c9f-a795-290d113ba14c/Untitled.png

If it is expected that the user needs to specify a number, for example, the number of years, then the type of validation can be "number":

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/5f60d444-b5f3-4450-bf18-3ecd6e7d243b/Untitled.png

Kwizbot has a "share phone number" option. Then the user does not need to enter the number manually, the phone number will be sent automatically.

To implement this option, create a "message with keyboard" block and, with advanced editing of the block, add the "share phone number" button (the name of the button can be anything), and in the "Json button configuration (to customize the display)" field, enter the following values :

{
"request_contact": true
}

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/53ce9cff-8c0d-4e10-a8e1-a68e757232a9/Untitled.png

In the script, you can add an "Action" block to check whether you received a phone number. For example, when receiving a number, you can send the user to the next step, if the phone number was not received, send the user again to the "share phone number" step.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/2307ce04-eabf-4cb7-a9e8-9d1bce0f58b9/Untitled.png

On the part of the user, when choosing "share phone number", he will be sent a request whether he really wants to share his phone number with this bot. The user can either confirm the sending of the number, or cancel this action:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d1b93c5a-b12d-45c1-ab2c-5fad389a0851/Untitled.png

If it is enough only to check the correctness of the user entering the phone number, then you can use the "Keypad message" block and select the "phone" type of validation:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/f7a02a2c-daa1-4633-aa40-babb95e2ac7e/Untitled.png

To check the correctness of the user's email input, when creating the "message with keyboard" block, select the "Email" validation type:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/07368968-82af-4867-a5c4-9da820d8283b/Untitled.png