Skip to main content

Configuration

Most Smart Rules AI setup happens within each course (when you create rules).
At the site level, the focus is ensuring scheduled tasks (cron) run reliably and optionally improving notification delivery (Message Hub).


Site-level configuration (Administrators)

1) Verify Moodle cron is running

Smart Rules AI depends on scheduled tasks. If cron is not running reliably, rules might never execute.

  • Recommended: confirm your site’s scheduled tasks are running as expected.
  • If rules seem to “do nothing,” cron is the first thing to check.

2) Optional: improve notification delivery with Datacurso Message Hub

Smart Rules AI can send Moodle notifications by default.
If you use Datacurso Message Hub (for WhatsApp/SMS via partners such as Twilio), enable it for Smart Rules AI notifications.

Step A — Open notification settings

Go to:

Site administration → General → Messaging → Notification settings

Notification settings page

Step B — Enable Datacurso Message Hub for Smart Rules AI notifications

In Default notification preferences, find Smart Rules AI notification and enable Datacurso Message Hub.

Message Hub enabled for Smart Rules AI notifications Notification preferences


Quick check: “Send notification” runs, but learners don’t receive messages

This is usually caused by one of these:

  • The recipient has notifications disabled in their preferences
  • Roles to notify doesn’t include the intended audience (e.g., only Teacher selected; include Student for learner reminders)
  • You expect WhatsApp/SMS delivery but Message Hub is not enabled for Smart Rules AI notifications (see steps above)

If rules never run at all, verify cron first.