LearnX AIVisual Documentation
Automation

Automation Engine

Automations make the LMS work in the background: inactivity reminders, progress reminders, assignment due/overdue alerts, failed quiz reminders, certificate auto-issue, scheduled emails, notification rules, run history, and AI-suggested workflows.

Automation engine
Automation workspace with Kanban, builder, preview, AI suggestions, and run history.
Automation flow

Rule Builder

PartExamples
TriggersInactive N days, progress below threshold, assignment due soon, failed quiz, certificate eligible, payment failed, live lesson upcoming, enrollment expiring.
ConditionsAcademy, course, instructor, category, enrollment, progress, last activity, score band, assignment status, certificate status, payment status.
ActionsDatabase notification, email, learning insight, intervention card, staff alert, certificate auto-issue, Ask LMS summary note, follow-up reminder.
SafetyPreview does not mutate; cooldown and max sends prevent duplicate reminders; certificate issue respects eligibility.

Commands

php artisan lms:automations:preview --rule=ID
php artisan lms:automations:run
php artisan lms:automations:run --rule=ID
php artisan lms:automations:digest

AI Automation

AI suggests rules, priorities, message drafts, workflow explanations, and failure summaries. Suggestions remain draft until staff activate them.

Demo And Developer Notes

Buyer examplePreview an assignment due reminder audience, inspect matching learners, then stop before running the rule.
Developer noteGuided anchors include automation-workspace, automation-kanban, automation-builder, and automation-history. Runs must stay idempotent and cooldown-aware.
  • Preview does not mutate records.
  • Run history records matched/action/failure counts.
  • Certificate auto-issue respects eligibility.
  • AI suggestions remain draft.