Learn how to automate user enrollment in LearnWorlds using Pabbly Connect and Razorpay payments. Follow this step-by-step guide for seamless integration. Transform complex automation concepts into accessible, actionable steps that eliminate unnecessary manual work while maximizing existing application capabilities.

Watch Step By Step Video Tutorial Below


1. Setting Up Pabbly Connect for Razorpay and LearnWorlds Integration

To start automating user enrollment in LearnWorlds using Pabbly Connect, first, log into your Pabbly Connect account. This platform allows you to connect Razorpay with LearnWorlds seamlessly. Begin by creating a new workflow in Pabbly Connect by clicking on ‘Create Workflow’ and naming it something like ‘Razorpay to LearnWorlds’.

Once you create the workflow, you will have access to a trigger and action window. The trigger window captures events from Razorpay while the action window performs tasks in LearnWorlds. This setup is crucial for automating the process of enrolling users based on their payment status.


2. Configuring the Trigger for Razorpay Payments

In this section, we will configure the trigger to capture payments made through Razorpay. In the trigger window, select Razorpay as the app and choose the event ‘Payment Captured’. This step is essential for receiving payment details each time a transaction occurs. using Pabbly Connect

  • Select Razorpay from the app list.
  • Choose ‘Payment Captured’ as the trigger event.
  • Copy the webhook URL provided by Pabbly Connect.

Next, navigate to your Razorpay account and set up a webhook using the URL copied from Pabbly Connect. This allows Razorpay to send payment details directly to your Pabbly Connect workflow, enabling the automation of user enrollment in LearnWorlds.


3. Testing the Razorpay Payment Integration

After configuring the webhook, it’s time to test the integration. Create a test payment on the Razorpay payment page you set up earlier. Make sure to include all necessary customer details such as email and course selection during this test. using Pabbly Connect

Once the payment is processed, return to Pabbly Connect to see if the payment details have been captured successfully. You should see the customer details, including their name, email, and the course they selected for payment.


4. Adding Filters for Course Enrollment

To ensure only users who paid for a specific course are enrolled, you need to set up a filter in Pabbly Connect. This filter will check the response from Razorpay and only proceed with enrollment if the payment corresponds to the correct course. using Pabbly Connect

  • Scroll to the action window and select ‘Filter’ as the next step.
  • Set the filter condition to check if the course name matches the expected value.

By implementing this filter, you ensure that only users who have made payments for the specific course are enrolled, thus maintaining the integrity of your course offerings in LearnWorlds.


5. Enrolling Users in LearnWorlds

After setting up the filter, the final step is to enroll the user in LearnWorlds. In the action window, select LearnWorlds as the app and choose the action event ‘Create User’. Connect your LearnWorlds account by entering the required API credentials. using Pabbly Connect

Map the customer details from Razorpay to the fields in LearnWorlds, such as email address and username. Once the user is created, add another action to enroll the user in the specific course they paid for. This process ensures that the user is automatically added to your course upon successful payment.


Conclusion

By using Pabbly Connect, you can automate the enrollment of users in LearnWorlds based on their payments made through Razorpay. This integration not only saves time but also enhances the user experience by providing immediate access to courses after payment. With this step-by-step guide, you can set up a seamless automation process for your online courses.

Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.