tr Skip to content

Enroll LearnDash users from new captured payments in Razorpay

When a Razorpay payment is captured, FlowMattic finds the WordPress user by the payer’s email and enrolls them in your LearnDash course. If there is no matching user, the run stops. Map the payer’s email and the course after import, and add a filter if only one payment page or amount should enroll.

Razorpay WordPress Filter LearnDash

4 steps Setup ~8 min Used on 1.7k sites Free to import

The Enroll LearnDash users from new captured payments in Razorpay workflow on the FlowMattic canvas, with 4 steps across Razorpay, WordPress, Filter, LearnDash
The workflow as it appears in the builder after import. Each step opens for editing.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    Razorpay Payment Captured

    The workflow starts automatically when a payment is captured in Razorpay. FlowMattic captures that data for the steps below.

  2. Step 2Action
    WordPress Get User by Email

    WordPress — get an user profile by Email. Data is mapped from earlier steps; connect your WordPress account on import.

  3. Step 3Logic
    Filter Continue If

    The Filter only lets a run continue when your conditions are met, stopping everything else before it goes any further.

  4. Step 4Action
    LearnDash Enroll Into Course

    LearnDash — enrol user into a course. Data is mapped from earlier steps; connect your LearnDash account on import.

What you need

  • FlowMatticCore
  • Razorpay AccountAccount
  • LearnDash PluginPlugin

After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.

Import this workflow into your WordPress site

Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

No additional usage fees over and above the annual fee ... AND Technical Support is great... they get back to you quite quickly and go above and beyond what is expected...

Verified User in Consumer Goods

Crafting bridges between my favorite apps, FlowMattic has truly impressed me with its ability to seamlessly automate workflows. This has noticeably accelerated the efficiency of my business processes, making everything run more smoothly and productively.