Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 15 Next »

This section describes the initial interactions with the bot. This is the first step any app user must go through before starting to access all the features of the Moodle eLearning Chatbot App.

Content:

1. First User Interaction

To start interacting with the bot, the user must type any word to the WhatsApp number set up/linked to the Moodle eLearning Chatbot App. This first message tri’s phone number, but in case this is incorrect or it needs to be modified, the bot gives the option to do it:

Here, the user has two options:

  • 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, 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] language: This option will trigger the next step of the user creation flow, 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.

The chatbot currently supports two languages: English and Portuguese. The screenshot shows that 503(SV) refers to a phone number from El Salvador. This country speaks Spanish as its native language, but as Spanish is not supported, English is selected instead.

If the user types 2, the bot asks the user to type the country code number:

This is an open request with no option visible to the user. In this scenario, the user types possibly typed something incorrectly (wrong country code or maybe some text). In this situation, the chatbot handles the input as a wrong input and sends a message describing this issue, providing other options so the user can check the previous message and fix it:

To check the exception messages (Invalid input/ something went wrong/invalid input limit reached), please refer to the following documentation: LINK

Once the user types a valid country code, a new message is sent by the bot detailing the new default country code and the new preferred language:

3. Terms & Conditions

From the Country Code Selection step and once the user types 1, the bot sends user Terms and Conditions link/pdf, asking the user to agree or disagree with the contract:

This Terms & Conditions (T&Cs)section may not appear if the chatbot app configuration specifies it. In the event the T&Cs are not configured the chatbot flow moves to section 4. User Account Information instead. Note that the T&Cs pdf must be set up in the chatbot app; this must be a link to the contract. If the link is a pdf, Moodle Chatbot App downloads and sends it to the user instead of a URL.

Here, the user has two options:

  • Type 1 to agree with the platform's Terms of Use and Privacy policy.

  • Type 2 to disagree with the platform’s Terms of Use and Privacy policy.

Type 1 to agree with the platform’s Terms of Use and Privacy policy: Option 1 triggers step 4. User Account Information to complete the user account setup, including thier first and last name, and optionally thier email address.

Type 2 to disagree with the platform's Terms of use and Privacy policy. Your account will not be created, and your data will not be stored. If option 2 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 2, the chatbot will stop completely the current flow, and the user has to start all over again from step 1. First User Interaction

4. User Account Information

From step 2. Country Code Selection / 3. Terms & Conditions: The chatbot requests the user to provide personal data to create the account in Moodle. The first information requested is the user’s first name:

Once the user types his first name, the second question requests the user’s last name:

Here, the user has two options:

  • Type your last name.

  • Type 00 to go back to the previous question

Type your last name: The user has the capability to type his last name so the chatbot can save this information to lately create the user account. This option triggers the next question.

Type 00 to go back to the previous question: The user may have typed a wrong name and wants to fix it. This option allows the user to go back to the previous question. At the moment, the previous question asks the user to provide his first name, so this question is shown again.

When the user types thier last name, the next question is triggered, asking the user to write a preferred email (this question is optional):

Here, the user has three options:

  • 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 a personal email, and the 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 to the previous question. At the moment, the previous question is the last name, so this question 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 a not required question, the user can skip it by typing this option, whereas required questions do not provide this option to jump to the next question.

Finally, when the user provides 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 flow and start Course Enrolments flow.

2 - Insert user details again: If there is some information incorrect in the summary or the user wants to change the information provided, he can type 2 to start step 4. User Account Information.

Once the user types 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 select a course, please refer to the following documentation for the next step:

Course Enrolments

  • No labels