Sensei LMS
Sensei LMS is the open-source LMS plugin from Automattic (the WordPress.com team). Advanced Form Integration captures Sensei LMS events (student enrollments, lesson completions, course completions, quiz attempts) and routes the data to any of 200+ destinations.
What you’ll need
- The Sensei LMS plugin installed and activated.
- At least one course with content published.
- The Advanced Form Integration plugin installed and activated.
Event data captured
| Field | Format |
|---|---|
| Event type | course_started, course_completed, lesson_completed, quiz_passed, quiz_graded |
| Student name | First and last separately |
| Student email | Same as input |
| Student ID | Numeric WordPress user ID |
| Course title | The course name |
| Course ID | Numeric Sensei course ID |
| Lesson title | If applicable |
| Quiz score | Numeric, percentage |
| Quiz pass mark | Numeric, the passing threshold |
| Completion date | YYYY-MM-DD HH:MM:SS |
Create the integration
- Go to WP Admin → AFI → Add New.
- Enter an Integration Title.
- In Trigger → Form/Data Provider, select Sensei LMS.
- In Form/Task Name, choose the event.
- In Action → Platform, pick the destination and complete the field mapping.
- Optional: configure Conditional Logic.
- Click Save Integration.

Conditional logic example
Goal: when a student fails the same quiz with a score below 50%, ping the instructor’s Slack DM for outreach.
Create a Slack integration on the Quiz Graded event. Open the Conditional Logic panel, add a condition with the quiz score field, Less Than, value 50.
Troubleshooting
Course-completion event timing
Sensei LMS fires course-completed when all required lessons and quizzes in the course are marked complete. Students who skip the final quiz won’t trigger completion.