Learn how to enroll users in LearnWorlds upon successful Instamojo payments using Pabbly Connect. Step-by-step tutorial with detailed instructions. Navigate the automation landscape confidently with clear, structured guidance suitable for professionals regardless of prior technical experience.

Watch Step By Step Video Tutorial Below


1. Accessing Pabbly Connect for Integration

To begin the integration process, access Pabbly Connect by navigating to the URL Pabbly.com/c/connect. This platform allows you to automate workflows effectively.

Once on the landing page, you can either sign in if you are an existing user or click on ‘Sign up for free’ to create a new account. New users will receive 100 free tasks upon registration. After signing in, you will reach the dashboard where you can create a new workflow.


2. Creating a Workflow in Pabbly Connect

After logging into Pabbly Connect, click on the ‘Create Workflow’ button on the dashboard. A dialog box will prompt you to name your workflow. For this tutorial, name it something relevant to Instamojo payments.

Next, you will need to set a trigger and action. The trigger application will be Instamojo, and the action application will be LearnWorlds. This setup ensures that every successful payment on Instamojo triggers user enrollment in LearnWorlds.

  • Click on ‘Create’ to proceed.
  • Select ‘New Sale’ as the trigger event.
  • Copy the provided webhook URL for connecting Instamojo to Pabbly Connect.

With the webhook URL copied, you can now proceed to configure the Instamojo account to complete the integration.


3. Configuring Instamojo for Webhook

Log into your Instamojo account and navigate to the product page for which you want to set up the webhook. In the product settings, locate the option to paste the webhook URL you copied from Pabbly Connect.

After pasting the URL, save the settings. Next, you need to test the webhook response. Enable the ‘Capture Webhook Response’ option and perform a test payment to ensure everything is functioning correctly.

  • Enter customer details including first name, last name, and email.
  • Complete the payment process.
  • Return to Pabbly Connect to verify the API response.

Once the payment is successful, Pabbly Connect will receive the response indicating the payment status, which is crucial for the next steps.


4. Setting Up LearnWorlds in Pabbly Connect

After confirming the successful payment response in Pabbly Connect, the next step is to set up the LearnWorlds integration. Add a new action step and select LearnWorlds as the application.

You will need to create a user in LearnWorlds by connecting it with Pabbly Connect. This involves entering the API URL, client ID, and client secret from your LearnWorlds account. These details can be found in the API settings of LearnWorlds.

Copy the client ID and API URL from LearnWorlds. Paste these details into the corresponding fields in Pabbly Connect. Click ‘Save’ to establish the connection.

Once connected, map the user details from the Instamojo payment response to the fields in LearnWorlds, such as email and username, to ensure accurate enrollment.


5. Enrolling User in LearnWorlds

With the user created in LearnWorlds, the final step is to enroll the user in the specific course. Add another action step in Pabbly Connect and select LearnWorlds again, this time choosing the ‘Enroll User to Product’ action.

For this action, you will need to provide the user ID obtained from the previous step and the product ID of the course you want to enroll the user in. This ensures that the user is enrolled in the correct course upon successful payment.

Map the user ID from the create user step. Enter the product ID manually for the course. Click ‘Save’ to finalize the enrollment process.

Upon completion, you will see a confirmation message indicating that the user has been successfully enrolled in LearnWorlds, completing the integration workflow.


Conclusion

In this tutorial, we explored how to enroll users in LearnWorlds upon successful Instamojo payments using Pabbly Connect. By following the detailed steps outlined, you can automate the enrollment process efficiently, ensuring users gain access to their purchased courses seamlessly.

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