LearnDash Automations
Send an Email When a LearnDash Course Is Completed
You want to congratulate a student the moment they finish a course — and hand them the certificate link while it's fresh. Zapify does this with the A user completes a course trigger and the Send an email action. LearnDash is a Zapify PRO integration.
What this automation does
The automation is one trigger plus one action:
- Trigger: A user completes a course (
LEARNDASH_COURSE_COMPLETED, LearnDash) - Action: Send an email (
WP_SEND_EMAIL, WordPress)
When a student completes the course you choose, Zapify fills the email's tokens — including a link to their certificate — and sends it.
Zapify listens on LearnDash's own learndash_course_completed signal, so this fires however the student reached 100% — by working through every lesson, or by being marked complete manually or by another automation.
Before you start
- LearnDash must be installed and active.
- Zapify PRO must be active, since LearnDash is a PRO integration.
- The course you want to watch must already exist.
PRO feature
LearnDash (learndash) is a Zapify PRO integration. Every LearnDash trigger and action requires 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.
- Name it clearly, such as Congratulate students on course completion.

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

- Choose LearnDash as the app.

- Select the trigger A user completes a course.

- In the trigger's Course field, pick the specific course, or leave it on Any course.
Step 3: Add the "Send an email" action
- Click Add Action.

- Choose WordPress as the app.

- Select Send an email.

Step 4: Configure the email

| Field | Required | What it does |
|---|---|---|
| To | Yes | Recipient address, or a token — for example the student's email. |
| Subject | Yes | The subject line. |
| Format | Yes | HTML (default) or Plain text. |
| Body | Yes | The message. Insert tokens to include the course title or certificate link. |
| Cc / Bcc | No | Extra recipients. |
| From name / From email | No | Override the sender. |
| Reply to | No | Set where replies go. |
For example:
- To: the student
- Subject:
You finished {{trigger:COURSE_TITLE}}! - Body:
Well done — your certificate is ready: {{trigger:CERTIFICATE_URL}}


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

Course tokens you can use
| Token | What it holds |
|---|---|
| Course ID | The numeric ID of the course. |
| Course title | The course's name. |
| Course URL | The permalink to the course. |
| Certificate link | The student's certificate URL, if the course awards one. |
| Completed at | The date and time the course was completed. |
No certificate hook
LearnDash has no event for "a certificate was issued" — a certificate is generated whenever someone asks for it, not awarded at a fixed moment. The Certificate link token reads the same link LearnDash would show the student; it's empty if the course doesn't have a certificate configured.
How to test it
- Mark a test course complete for a test student — either by finishing every lesson or by marking it complete from the admin.
- Check the recipient inbox for the email.
- If nothing arrives, open Zapify → Logs to see whether the run fired.
Conclusion
With the A user completes a course trigger and the Send an email action, Zapify congratulates every student the moment they finish — certificate link included. Next, welcome students the moment they start with an email when a user is enrolled on a LearnDash course, or recognise progress along the way with an email when a LearnDash lesson is completed.
FAQs
Does this fire no matter how the course was completed?
Yes. LearnDash fires learndash_course_completed whether the student finished every lesson themselves or an admin (or another automation) marked the course complete, so the trigger covers both.
Is this feature free?
No. LearnDash is a Zapify PRO integration; the trigger and action both require an active PRO licence.
Can I limit this to one course?
Yes, using the Course field in the trigger configuration.
Why is the certificate link empty in my test email?
Either the course doesn't have a certificate configured in LearnDash, or the link is generated the first time someone visits it — in either case, that's LearnDash's own certificate behaviour, not something Zapify controls.
Do I need to write any code?
No. Everything is configured in the Zapify visual builder.