LifterLMS Automations
Send an Email When a Student Passes a LifterLMS Quiz
A passing result is a natural point to congratulate a student, unlock the next stage, or notify an instructor. Zapify does this with the A user completes a quiz trigger and its Result = Passed setting, followed by the Send an email action.
What this automation does
The automation is one trigger plus one action:
- Trigger: A user completes a quiz (
LIFTERLMS_QUIZ_COMPLETED) with Result = Passed - Action: Send an email (
WP_SEND_EMAIL)
The quiz trigger covers attempted, passed, and failed outcomes through its Result field. For this automation, choose Passed so failed attempts do not run it.
Before you start
- LifterLMS must be installed and active.
- Zapify PRO must be active, since LifterLMS is a PRO integration.
- The quiz you want to monitor must already exist in LifterLMS.
PRO feature
LifterLMS (lifterlms) is a Zapify PRO integration. The LifterLMS trigger and action used in this automation require an active PRO licence.
How to build the automation
Step 1: Create a new automation
- In the WordPress admin, go to Zapify → Automations.
- Click Add New to open the builder.
- Give the automation a clear name, such as Congratulate students when they pass a quiz.

Step 2: Add the "A user completes a quiz" trigger
- Click Add Trigger.

- Choose LifterLMS as the app.

- Select the trigger A user completes a quiz.


- Configure the trigger:
| Field | Required | What it does |
|---|---|---|
| Quiz | Yes | Select the quiz to watch, or choose Any quiz. |
| Result | Yes | Select Passed. This is what makes the automation run only after a passing attempt. |
The trigger reads the completed attempt's status and matches Passed only when the attempt has a passing result.
Step 3: Add the "Send an email" action
- Click Add Action.

- Choose WordPress as the app.

- Select the action Send an email.

Step 4: Configure the email

For example:
- To: the student
- Subject:
Congratulations! You passed {{trigger:QUIZ_TITLE}} - Body:
Congratulations on passing {{trigger:QUIZ_TITLE}}. Your result was {{trigger:RESULT}} with a grade of {{trigger:GRADE}}%. - Format: HTML or Plain text
Use the token picker in the email fields to insert the quiz and result values.


Step 5: Set the steps Live and save
- Set both the trigger and the action to Live.
- Click Save.

Quiz tokens you can use
| Token | What it holds |
|---|---|
| Quiz ID | The numeric ID of the quiz. |
| Quiz title | The quiz name. |
| Quiz URL | The quiz permalink. |
| Passed | A boolean indicating whether the attempt passed. |
| Result | A human-readable result such as Passed or Failed. |
| Grade percentage | The student's grade percentage. |
| Attempt ID | The LifterLMS attempt ID. |
| Lesson ID | The lesson containing the quiz, when available. |
How to test it
- Log in as a test student.
- Take the selected quiz.
- Submit an attempt that meets the quiz's passing requirement.
- Check the student's inbox for the email.
- If the email does not arrive, open Zapify → Logs and check whether the attempt was recorded as Passed.
Conclusion
By setting the quiz trigger's Result to Passed, Zapify can turn successful quiz attempts into immediate congratulations, next-step instructions, certificates, or instructor notifications.
FAQs
Is “Passed” a separate trigger?
No. Zapify uses one A user completes a quiz trigger with a Result selector. Choose Passed to run only for passing attempts.
Can I include the student's grade?
Yes. The trigger exposes the Grade percentage token.
Can I use this for every quiz?
Yes. Select Any quiz and set Result to Passed.
Do I need to create a separate automation for failed quizzes?
If you want a different message for failed attempts, yes. Create another automation with the same quiz trigger but set Result to Failed.
Do I need to write any code?
No. Everything is configured in the Zapify visual builder.