TutorLMS Integration: Enrollment, Completion, and Quiz Triggers

Krom Automation Pro connects to TutorLMS, giving you four triggers and three actions covering student enrollment, course completion, lesson progress, and quiz results. Use this integration to build automated student journeys — welcome emails on enrollment, certificate delivery on completion, and pass/fail follow-ups after quizzes.

No API key or configuration is required. Krom Automation detects TutorLMS automatically when it is active.

Requirements #

  • Krom Automation Pro installed and activated
  • TutorLMS installed and active

Available triggers #

User Enrolled

Fires when a user is enrolled in a TutorLMS course.

Data fieldDescription
user_idWordPress user ID
user_emailUser email address
user_display_nameUser display name
user_first_nameUser first name
user_last_nameUser last name
course_idTutorLMS course ID
course_titleCourse title
course_urlCourse URL
enrollment_dateDate of enrollment

Common use: Sending a welcome email with course access details, notifying the instructor, or adding the student to a CRM list.

Course Completed

Fires when a student completes all lessons and quizzes required in a TutorLMS course.

Data fieldDescription
user_idWordPress user ID
user_emailUser email address
user_display_nameUser display name
user_first_nameUser first name
user_last_nameUser last name
course_idCourse ID
course_titleCourse title
course_urlCourse URL
completion_dateDate the course was completed

Common use: Emailing a completion certificate, alerting the instructor via Slack, offering an upsell to an advanced course, or tagging the student in an email marketing platform.

Lesson Completed

Fires when a student completes a TutorLMS lesson.

Data fieldDescription
user_idWordPress user ID
user_emailUser email address
course_idCourse ID
course_titleCourse title
lesson_idLesson ID
lesson_titleLesson title
completion_dateDate the lesson was completed

Common use: Sending lesson-specific resource emails, tracking progress in Google Sheets, or notifying the instructor of student milestones.

Quiz Attempt Ended

Fires when a student submits a TutorLMS quiz. Use a condition on {{pass}} to branch the workflow based on whether they passed or failed.

Data fieldDescription
user_idWordPress user ID
user_emailUser email address
course_idCourse ID
course_titleCourse title
quiz_idQuiz ID
quiz_titleQuiz title
passBoolean — true if passed, false if failed
scoreScore value
percentageScore as a percentage
completion_dateDate the quiz was submitted

Common use: Sending a congratulations email on pass, a supportive retry guidance email on fail, or updating a Google Sheet with quiz results.

Available actions #

Enroll in Course

Enrolls a user in a TutorLMS course programmatically.

FieldRequiredDescription
user_id or user_emailYesIdentify the user by ID or email. Use merge tags from your trigger.
course_idYesThe TutorLMS course ID to enroll the user in.

Unenroll from Course

Cancels a user’s enrollment in a TutorLMS course.

FieldRequiredDescription
user_id or user_emailYesThe user to unenroll.
course_idYesThe TutorLMS course ID.

Mark Lesson Complete

Programmatically marks a TutorLMS lesson as complete for a user.

FieldRequiredDescription
user_id or user_emailYesThe user to update.
lesson_idYesThe TutorLMS lesson ID to mark as complete.

Real-world automation examples #

Enrollment welcome email Trigger: User Enrolled Action: Send Email to {{user_email}} with a welcome message, the {{course_title}}, and a link to {{course_url}}.

Completion certificate email Trigger: Course Completed Action: Send Email to {{user_email}} congratulating them on completing {{course_title}}, with a certificate attachment or download link if generated externally.

Quiz pass/fail branching Trigger: Quiz Attempt Ended Condition: pass equals true Yes branch: Send Email (congratulations + next steps) No branch: Send Email (encouragement + retry tips)

Instructor Slack alert on completion Trigger: Course Completed Action: Slack Send Message to #courses with {{user_display_name}} just completed {{course_title}}.

Pre-built templates #

Install these from Krom Automation > Templates:

TemplateWhat it does
tutor-enrollment-welcomeWelcome email on TutorLMS course enrollment
tutor-course-completionCompletion email on course completion
tutor-quiz-failedFollow-up support email when a student fails a quiz

Troubleshooting on TutorLMS integration #

TutorLMS triggers aren’t appearing

Krom Automation detects TutorLMS using the tutor() function. Confirm TutorLMS is installed, active, and fully initialised. Try deactivating and reactivating Krom Automation Pro if triggers don’t appear after TutorLMS is activated.

The Quiz Attempt Ended trigger fires on both pass and fail- I only want to act on one.

Add a condition on pass equals true (or false) to restrict the workflow to the outcome you want. The trigger itself fires on all quiz submissions — conditions are how you separate the paths.

What are your feelings

Updated on August 13, 2026