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
LearnDash4 steps Setup ~8 min Used on 1.7k sites Free to import

How this workflow runs
What happens at each step once the workflow is on, and what you need before you import it.
Razorpay Payment CapturedThe workflow starts automatically when a payment is captured in Razorpay. FlowMattic captures that data for the steps below.
WordPress Get User by EmailWordPress — get an user profile by Email. Data is mapped from earlier steps; connect your WordPress account on import.
Filter Continue IfThe Filter only lets a run continue when your conditions are met, stopping everything else before it goes any further.
LearnDash Enroll Into CourseLearnDash — 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.
More E-Commerce workflows
Other ready-to-import templates from the same category.
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




