/
Moodle Course Setup

Moodle Course Setup

For the course activities to render on the chatbot, you need to do specific configurations to the courses and the supported activities. This page addresses the following topics:

  1. How to configure a course to operate with the chatbot.

  2. How to configure lesson, quiz, and feedback activities for the chatbot.

  3. Limitations for each activity type.


Prerequisites

Verify your Moodle version is supported and install the Moodle Chatbot Plugin.


Create a course compatible with the Moodle Chatbot App

The chatbot, by default, will not show any courses. To enable a course for the chatbot, do the following:

  1. Navigate to the course and click on the ‘Settings’ tab

  2. Scroll down to the ‘Other fields’ section

  3. Locate the ‘BotMode’ field and change its value to ‘Yes’

Example 1. BotMode course custom field.

The ‘BotMode’ field is a course custom field that is automatically created when the Moodle Chatbot Plugin is first installed.

Create a compatible Lesson Activity

The chatbot is capable of showing multiple content pages, later divided into smaller paragraphs when the information arrives to the user on WhatsApp. To add a new content page:

  1. Create a lesson activity on Moodle, and be sure to configure the ‘Activity completion’ section. If a completion condition is not set, the chatbot will never show the activity as completed. For the lesson activity, we recommend the following configuration:

Example 2. Lesson activity completion conditions.
  1. Enter the lesson and click ‘Add a content page’

  1. Add the page title and the page content. The chatbot will display this to the users when they open the lesson from WhatsApp. Moodle requires adding a description for the ‘Content 1’ section; this is not used, and any text is acceptable.

Please note: it is possible to add images to the page content, but the only format currently permitted by the chatbot is .jpg. Similarly, it is possible to add .mp4 videos. Both images and videos will only appear in the chatbot if the course is public (allows guest access).

 

Ensure that students have access to relevant, challenging, and consistent content aligned with the course objectives. Remember that you are delivering content on a WhatsApp chatbot, your lessons should be composed of small chunks of text, and your images and videos should be optimized for chatbot delivery.

Create a compatible Quiz Activity

  1. Add a quiz activity to the course

  2. Similarly to the previous activity, it is necessary to add activity completion conditions

  1. In the quiz, go to the ‘Questions’ tab and create the quiz questions as normal.

Please note: when adding quiz questions, keep in mind the chatbot currently supports only Multiple choice and true/false type questions. Additionally, the chatbot will always show the latest version of a given question.

Create a compatible Feedback activity

  1. Add a Feedback activity to the course.

  2. Again, the activity completion conditions must be configured to automatically mark the activity as completed when the conditions are met.

  1. Not all question types are supported. Use ‘multiple choice’ and ‘short text answer’ type questions.

Related content