Skip to content

LearnDash Automations

Send an Email When a LearnDash Topic Is Completed

A topic sits inside a lesson inside a course, and some courses are built granular enough that topic-level progress is where the useful moments are — the end of a module within a longer lesson, for instance. Zapify does this with the A user completes a topic 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 topic (LEARNDASH_TOPIC_COMPLETED, LearnDash)
  • Action: Send an email (WP_SEND_EMAIL, WordPress)

When a student completes the topic you choose, Zapify fills the email's tokens — including both the topic and the lesson it belongs to — and sends it.

Before you start

  • LearnDash must be installed and active.
  • Zapify PRO must be active, since LearnDash is a PRO integration.
  • The topic (and its 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

  1. In the WordPress admin, go to Zapify → Automations.
  2. Click Add New to open the builder.
  3. Name it clearly, such as Follow up after topic completion.

Create a new automation

Step 2: Add the "A user completes a topic" trigger

  1. Click Add Trigger.

Add a trigger

  1. Choose LearnDash as the app.

Select LearnDash as the trigger

  1. Select the trigger A user completes a topic.

Select A user completes a topic

  1. In the Topic field, choose the specific topic to watch, or leave it on Any topic. Optionally narrow further with the Course field.

Step 3: Add the "Send an email" action

  1. Click Add Action.

Add an action

  1. Choose WordPress as the app.

Select WordPress as the action

  1. Select Send an email.

Select Send an email

Step 4: Configure the email

Edit the Send an email action

For example:

  • To: the student
  • Subject: You finished {{trigger:TOPIC_TITLE}}
  • Body: That wraps up this part of {{trigger:LESSON_TITLE}}. Keep going here: {{trigger:COURSE_URL}}

Complete the Send an Email Action

Step 5: Set the steps Live and save

  1. Set both the trigger and the action to Live.
  2. Click Save.

Set the automation live

Tokens you can use

Token What it holds
Course ID / Course title / Course URL The course the topic belongs to.
Topic ID / Topic title / Topic URL The topic that was completed.
Lesson ID / Lesson title / Lesson URL The parent lesson the topic sits inside.

How to test it

  1. Complete the selected topic as a test student.
  2. Check the recipient inbox for the email.
  3. If nothing arrives, open Zapify → Logs to see whether the run fired — and whether the Topic or Course filter excluded it.

Conclusion

With the A user completes a topic trigger and the Send an email action, Zapify reacts at the most granular level of LearnDash progress. Next, go up a level with an email when a LearnDash lesson is completed, or see the full picture in triggers and actions.

FAQs

What's the difference between a topic and a lesson trigger?

A topic sits inside a lesson in LearnDash's structure. Use the topic trigger for progress at that finer level, and the lesson trigger for the lesson as a whole.

Is this feature free?

No. LearnDash is a Zapify PRO integration; the trigger and action both require an active PRO licence.

Can I watch every topic in a course?

Yes. Leave the Topic field on Any topic and set the Course field to the course you want.

Do I need to write any code?

No. Everything is configured in the Zapify visual builder.

Was this page helpful?