Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To start an interaction with the bot, the user must type any word to the whatsapp number set up/linked to the Moodle Chatbot App. This first message will trigger triggers the event to search the current user number in the Moodle instance. In case no user is found, the chatbot bot sends a message to the user notifying this it and asking the user to create a new account:

...

Type 1 to create a new account: This option will trigger triggers the user account creation flow. The user must type the number 1 in the chat to proceed through this interactionto continue to create an account flow.

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 bot gives the option to do it:

...

This is an open request where there is 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:

...

Otherwise, if 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:

...

3. Terms & Conditions

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

Note

This Terms & Conditions section may not appear in case the chatbot app configuration specifies it. OtherwiseIn this case, the section 4. User Account Information will appear is shown 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 Moodle Chatbot App downloads and sends it to the user instead of a URL.

...

Type 1 to agree with the Terms of use and Privacy policy of the platform: this option will trigger the user account questionstriggers the step 4. User Account Information, so the user can type the first name, last name and optionally the email

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: this option will stop stops the current flow

If the user types 2, the chatbot will stop completely the current flow and the user has to start all over again from the step 1. First User Interaction

...

From step 2. Country Code Selection / 3. Terms & Conditions, 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 first name:

...

Type your last name: The user has the capability of type his last name so the 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 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 is ask the user to provide his first name, so this question will be is shown again.

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

...

Type 00 to go back to 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 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 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:

...

1 - Finalize or Complete 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 Activities 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 the step 4. User Account Information .

...

Now, the user is able to select a course, please refer to the following documentation to proceed next to the next step:

Course Enrolments