This section describes the initial interactions with the bot. This is the first step any user of this app e-learning Chatbot app user must go through before start accessing all the features of the Moodle eLearning Chatbot App features.
Content:
Table of Contents |
---|
1. First User Interaction
To start an interaction interacting with the bot, the user e-learning Chatbot, users must type any word to the whatsapp WhatsApp number set up/linked to the Moodle eLearning Chatbot App. This first message will trigger the event to search the current user number in the Moodle instance. In case no user is found, the chatbot sends a message to the user notifying this and asking the user to create a new account:
...
Here, the user has one option:
Type 1 to create a new account
Type 1 to create a new account: This option will trigger the user account creation flow. The user must type the number 1 in the chat to proceed through this interaction.
2. Country Code Selection
Once the user types 1, the bot sends a message asking the user to specify the country code. By default, the bot looks for this code associated with to the user phone number, but in case this is incorrect or it needs to be modified, the chatbot gives the option to do it: the first message, the application will use the user's phone number to determine if they are registered. The Chatbot will instruct them to create an account if the user's phone number is not found.
...
Here, the user has two optionoptions:
1 - Go with preferred [Language Name] language
2 - Change your mobile number and country code
1 - Go with preferred [Language Name] language: This option will trigger the next step of the user creation flow that , which can be either the agreement of terms and conditions or the first question for the user creation. The user must type the number 1 in the chat to proceed through this interaction.
2 - Go with preferred [Language Name] languageChange your mobile number and country code: This option will trigger the next step of the user creation flow that can be either the agreement of terms and conditions or the first question for the user creation. The user must type the number 1 in the chat to proceed through this interactionallows the user to change the mobile country code. As the preferred language is selected by looking at the mobile country code, the user can change the language by choosing another country code.
Info |
---|
The chatbot Chatbot currently supports two languages: English and Portuguese. In the The screenshot you see shows that 503(SV) refers to a phone number from El Salvador. This country speaks Spanish as its native language, but as this language . Spanish is not a supported language, so English is selected instead. |
If the user types 1, the bot starts step 2. Terms & Conditions:
...
Otherwise, if the user types 2, the bot asks the user to type the country code number:
...
This is an open request where there is with no option visible to the user. Here, there is a possibility that the user types something incorrect (bad country code or maybe some text). For this, the chatbot handles the input as a bad input and sends a message describing this issue and giving some other options so the user can check the previous message and fix it:
...
Info |
---|
To check the exception messages (Invalid input/ something went wrong / invalid input limit reached) please refer to the following documentation: LINK |
Otherwise, if the
Once the user types a valid country code, a new message will be is sent by the bot detailing the new default country code and the new preferred language:
...
...
2. Terms & Conditions
From the Country Code Selection step , and once the user types 1, the bot sends the user a terms Terms and condition Conditions link/pdfPDF, asking the user to agree or disagree with the contract:
Note |
---|
This Terms & Conditions section may not appear in case the chatbot app configuration specifies it. Otherwise, the section 4. User Account Information will appear instead. Take a note that this terms and condition pdf must be set up in the chatbot app, this must be a link to the contract. In case the link is a pdf, this will be downloaded and sent to the user instead of a URL. |
...
(T&Cs) section is a configurable setting in the Moodle Chatbot App. This configuration is enabled by default, allowing the bot to send the terms and conditions. If the T&Cs section is disabled, the chatbot flow skips step 2. Terms & Conditions and moves directly to section 3. User Account Information. |
...
Here, the user has two optionoptions:
Type 1 to agree with the platform's Terms of use Use and Privacy policy of the platform.
Type 2 to disagree with Terms of use and Privacy policy of the platform. Your account will not be created and your data will not be stored.
...
. When 1 is selected, it triggers step 2. User Account Information to complete the user account setup, including their first and last name and, optionally, their email address.
Info |
---|
A URL must be specified if the Terms and Conditions (T&Cs) need to be set up in the chatbot app. This URL can be a link to the website to redirect the user to the terms and conditions section/web page or a cloud-hosted PDF. If the link is a cloud-hosted PDF, the Moodle Chatbot App downloads and sends it to the user. |
Type 2 to disagree with the platform's Terms of use Use and Privacy policy of the platform. Your account will not be created, and your data will not be stored: this option will stop the current flow. If option two is selected, the user account will not be created, user data will not be stored, and the chatbot application will end the session.
If the user types 1, the Chatbot starts step 2. User Account Information:
...
If the user types 2, the chatbot Chatbot will completely stop completely the current flow, and the user has to must start all over again from the step 1. First User Interaction
...
...
3. User Account Information
From step 2. Country Code Selection / 3. Terms & Conditions, the chatbot After completing steps 1 and 2, the Chatbot requests the user to start providing provide personal data to create the account in Moodle. The first personal information requested is the user’s user's first name:
...
Once the user types his first name, the second question request the user’s last name:
...
Type your last name.Type 00 to go back to the previous question
Type your last name: The user has the capability of can type his last name so the chatbot Chatbot can save this information to lately create the user account. This option will trigger triggers the next question.
Type 00 to go back to the previous question: The user may have typed a the wrong name and wants to fix it. This option allows the user to go back to the previous last question. At the moment, the previous last question is asks the user to provide his first name, so this question will be is shown again.
When the user types its their last name, the next question is triggered, asking the user to write a preferred email (this question is optional):
...
Here, the user has three optionsthreeUser's'sns:
Type your email.
Type 00 to go back to the previous question
Type 99 to jump to the next question
Type your email: The user is able to type Optionally, the user can enter a personal email, and the chatbot Chatbot saves this information to lately create the user account.
Type 00 to go back to the previous question: This option allows the user to go back return to the previous question. At the moment, the previous question is the last name, so this question will be is shown again.
Type 99 to jump to the next question: This option allows the user to proceed to the next question. Note that as this is an optional a not required question, the user can skip it by typing this option is shown, whereas required questions do not provide this option to jump to the next question.
Finally, when the user provides the chatbot all the information requested to the bot, a summary is shown, detailing every information the user provided to the bot:
...
Here, the user has two options:
1 - Finalize or Complete the registration process
2 - Insert user details again
1 - Finalize or Complete the registration process: When the user is sure that the information provided is correct, he can type 1 to finish the user account creation User Account Creation flow and start using accessing Moodle Activitiesthe Course Enrollments flow.
2 - Insert user details again: If there is some information is incorrect in the summary or the user wants to change the information provided, he can type 2 to start the step 4 . again, User Account Information.
Once the user types the option 1 to complete the registration process, a congratulation message is sent to the user to conclude this flow and start completing Moodle Activities:
...
Now , that the user is able to can select a course, please refer to the following documentation to proceed to the next step:Course Enrolments Course Enrollments for the next step.