Have you ever search for a way to automatically assign Zenler course to student from new Razorpay sale? If yes, then this could be the end of your search. As here we are going to integrate Razorpay with Zenler using Pabbly Connect.

Assign Zenler Course to Student from New Razorpay Sale

Basically, Pabbly Connect is an integration and automation software that lets you transfer data in real-time. The sole purpose of this workflow is to help you save a lot of time from manually repetitive tasks.

Why Choose This Method Of Integration?

In contrast with other integration services-

  • Pabbly Connect does not charge you for its in-built apps like filters, Iterator, Router, Data transformer, and more
  • Create “Unlimited Workflows” and smoothly define multiple tasks for each action
  • As compared to other services which offer 750 tasks at $24.99, Pabbly Connect offers 50000 tasks in the starter plan of $29 itself
  • Unlike Zapier, there’s no restriction on features. Get access to advanced features even in the basic plan
  • Try before you buy! Before spending your money, you can actually signup & try out the working of Pabbly Connect for FREE

Sign Up To Pabbly Connect 

But, before we about to start the procedure, let understand the services a little bit.

Razorpay is a payment gateway for accepting payment using multiple payment methods such as cards, net banking, UPI, E-wallets, etc and alongside this, it also helps businesses to manage vendor payouts.

On the other hand, Zenler is a learning management system and an online training course builder, which gives you multiple features like hosting, learner registration & payments.

Consequently, after integrating these two services together you can automatically assign Zenler courses to student for new Razorpay sale.

Similarly, you can also watch the below video to figure out more about this integration.

However, there is no direct integration possible for these two services yet. So, we are going to use Pabbly Connect to make this possible.

Additionally, for your assistance, we’ve attached a template of this integration to help you get started more-quickly. Simply strike the ‘Use Workflow’ button below to get started. Also, you can check for more apps/integration just by visiting the Marketplace.

Assign Zenler Course to Student from New Razorpay Sale Workflow

Now, without taking any more of your time, let’s get directly on track & follow the step by step procedure to integrate Razorpay and Zenler.

Step 1: Sign up to Pabbly Connect

Sign Up

Begin the process to assign Zenler course to student for new Razorpay sale by visiting the Pabbly Connect website. Then hit the ‘Sign-Up Free‘ button available on the home page. Next on the registration page, either use your existing Google account or manually fill the registration form to signup.

Try Pabbly Connect for FREE

Step 2: Access Pabbly Connect

Select Connect
After successfully logging in, strike the ‘Access Now’ button in the ‘Connect’ section.

Step 3: Workflow for Razorpay with Zenler Integration

(a) Start with a New Workflow

Create New Workflow

Start with creating a workflow to assign a course to student for every new Razorpay sale & to do this push the ‘Create Workflow’ button first.

(b) Name the Workflow

Workflow for Razorpay to Zenler
Now, name the workflow as per the integration or use-case (for instance: Razorpay to Zenler) and click the ‘Create’ button.

Step 4: Setting Trigger for Razorpay to Zenler Integration

To automatically assign Zenler course to student for new Razorpay sale, you’ll need to set-up a trigger.

(a) Select Application you want to integrate

Select Razorpay

When you click on the create button, a page containing the trigger window will open up.

Next, select the ‘Razorpay’ from the ‘Choose App’ drop-down and set method as ‘Payment Captured’.

(b) Copy the Webhook URL

Copy Webhook URL
The following step is to copy the webhook URL which is appearing on the dashboard just like in the above shown image.

Step 5: Connecting Razorpay to Pabbly Connect

Next, in order to connect Razorpay to Pabbly Connect, you have to paste the copied Webhook URL in the software. Hence, you have to log in to your Razorpay account.

(a) Go to Razorpay Settings

Select Settings Razorpay

Once you logging into the Razorpay account, simply go to the ‘Settings’ section on the bottom of the dashboard.

(b) Click on Webhooks

Click on Webhook Razorpay

Later, after reaching the settings page, hit the ‘Webhooks’ option given on the screen.

(c) Click on Add New Webhook

Click Add New Webhook Razorpay

Now, hit the ‘Add New Webhook’ button to paste the webhook URL.

(d) Paste the Webhook URL

Paste Webhook URL Razorpay

As you press the ‘Add New Webhook’ button, a window will open up. Paste the copied webhook URL in the ‘Webhook URL’ section,  and in ‘Active Events’ select ‘payment.captured’ option.

(e) Create Webhook

Click Create Webhook Razorpay

After pasting the Webhook URL, tap on the ‘Create Webhook’ button to save it.

Step 6: Test the Response in Pabbly Connect Dashboard

As we are done setting up the trigger for Razorpay and Zenler integration. So, let’s test the trigger setting by making a test payment on Razorpay.

(a) Capture Webhook Response

Capture Webhook Response

To test the trigger settings, strike the ‘Capture Webhook Response’ button on your Pabbly Connect trigger window and then start making a test sale.

(b) Select a Product

Select Product

Following that, select any of the listed products and copy the URL and open in a new tab.

(c) Make a Payment

Add Customer Details

Fill in all the customer details like the first name, last name, email, and phone number, then hit the ‘Pay’ button.

(d) Add Card Details

Add Card Details

Here you can select any of the payment options, we choose to pay via card. Therefore, quickly add the card details and click on the ‘Pay’ option.

(e) Click Success Button

Click Success Razorpay

After you completed filling up all the details, hit the given ‘Success’ button to make the payment.

(f) Check & Save Trigger Response

Check and Save Razorpay Webhook Response
As soon as you successfully complete a payment, the Pabbly Connect trigger response will start showing the data of the current sale. Check and Save the trigger response.

Step 7: Setting Action for Razorpay to Zenler Integration

Now, as we have gathered all the necessary information to assign Zenler course from Razorpay’s response. But before that, we have to get the student’s ID to check whether the student account already exists or not in Zenler.

(a) Select Application you want to Integrate

Select Zenler

Next, hit the plus (+) button, an action window appears. Select app to integrate as ‘Zenler’ and method as ‘Search Student’.

(b) Click the Connect Button

Connect With Zenler

After choosing the application click on the ‘Connect with Zenler’ button to move forward. And for this, you have to log in to your Zenler account.

(c) Go to Settings 

Settings Zenler

Since you log in to your Zenler account, click on the profile icon in the right top corner, and then select the ‘Settings’ option.

(d) Copy the API Key

Copy the API Key Zenler

Scroll down, select ‘Developers’, and then select the ‘API Key’ option. After that, copy the given API key.

(e) Paste the API Key

Paste the API Key Zenler

Paste the copied API key in the Pabbly Connect window and also add your school/account which you get from your Zenler’s account URL. After making these changes, hit the ‘Save’ button.

(f) Map the Field

Map the Fields

After connecting with your Zenler account, map the email ID in the ‘Search Keyword’ tab as email ID of every student is unique.

(g) Send Test Request

Save and Send Test Request Zenler

After, mapping the student’s email id, hit the ‘Save & Send Test Request’ button to get the response.

(h) Check & Save Response

$curr_post_title

If there is an existing student in Zenler the response will return an ID and if not, the response won’t return an ID. At last, click on the ‘Save’ button to save it.

Step 8: Select Router for Integration

Now, on the basis of the above response, we have two options to proceed, i.e to assign a course to an existing student or make a new student account and then assign a course to him/her. And for that, we have to use ‘Router’ in action.

(a) Select the Route

Select Router

Click on the ‘+’ button below and from choose app option, select ‘Router’ for integrate.

(b) Name the Route

Name the Route

After that, we have to change the name of the route. Name ‘Route 1’ as ‘If The Student Already Exist’ & ‘Route 2’ as ‘If The Student Does Not Exist’ then hit the ‘Update’ button.

Step 9: Setting Route 1 and Route 2

(a) Select Trigger for Route 1

Check Condition for Route 1

To check the condition for student ID, click on the  ‘Settings’ button in Route 1. Then, Route 1 window will open up.

In the first section, map the student ID that we already got from previous action stage and in the second section, select ‘Is Exist’ option then hit the ‘Save & Send Test Request’ button.

(b) Save the API Response

Save API Response

Here, we get a ‘success’ status from API response which means that the student account exists in Zenler and we only have to assign a course to the student. Click on the ‘Save’ button.

(c) Select Action for Route 1

Select Zenler to Assign a Course

Now, we have to select an action for Route 1 integration. For that, click on the plus (+) button on Route 1 window and select ‘Zenler’ from choose app and choose methods as ‘Enroll User to a Course’. Click on the ‘Connect With Zenler’ button.

(d) Connect with Zenler

Paste the API Key Zenler

In this step, we need to connect with Zenler. As we have already know how to connect with Zenler, so follow the same steps as described above to connect it. Click on the ‘Save’ button.

(e) Map the Fields

Map the Fields

After connecting with your Zenler account, map all the fields like student ID, course ID, etc.

(f) Save and Send Test Request for Route 1

Save and Send Test Request

Once you are done adding up all field data, click on the ‘Save & Send Test Request’ button.

(g) Check and Save API Response

Save API Response

You will get the API response that the user has enrolled to the course, click on ‘Save’ button and then hit the ‘Done’ button.

Hence, the Route 1 integration is completed. Now, it’s time to set up Route 2 for integration.

(h) Setting Trigger for Route 2

Check Condition for Route 2

Now, to check another condition for student ID, click on Settings button in Route 2. Then, Route 2 window will open up.

In the first section, map the same student ID and in the second section, select ‘Does Not Exist’ option then hit the ‘Save & Send Test Request’ button.

(i) Save the API Response

Save API Response

As we know that the student account has already existed in Zenler, that’s why we get an error status in API response. But if the student account does not exist in Zenler then we need to create a new one and assign a course to them.

Next, simply hit the ‘Save’ button.

(j) Select Action for Route 2

Select Zenler to Add New User

Now, we have to select an action for Route 2 integration to create a new account for student. For that, click on the plus (+) button on Route 2 window and select ‘Zenler’ from choose app and choose methods as ‘Add New User’. Click on ‘Connect With Zenler’ button.

(k) Connect with Zenler

Paste the API Key Zenler

In this step, we need to again connect with Zenler. As we have already did the same procedure earlier so just follow the above step to connect it.

(l) Map the Fields

Map the Field to Add New User

After connecting with your Zenler account, map all the required fields  like the first name, last name, email, choose role and enter a password (random).

(m) Save and Send Test Request for Route 2

$curr_post_title

Once you are done with the mapping of data, click on the ‘Save & Send Test Request’ button to get the API response.

(n) Save the API Response

Save the API Response

We got an API response that the person has been added successfully. Just hit the ‘Save’ button and then click on ‘Done’.

Hence, the first action of Route 2 is completed, now, it’s time to assign a course to the newly added student for that we have to add another action for Route 2.

(o) Select Action for Route 2

Select Zenler to Assign Course

Now, select another action for Route 2 integration to assign a course. For that, click on the plus (+) button on Route 2 window and select ‘Zenler’ from choose app and choose methods as ‘Enroll User to a Course’. And then click on ‘Connect with Zenler’ button.

(p) Connect with Zenler

$curr_post_title

In this step, we need to connect with Zenler. As we have already know the process to how to connect with Zenler, so follow the above step to connect it.

(q) Map the Fields

Map the Fields

After connecting with your Zenler account, map all the required fields  like student ID, course ID, etc.

(r) Save and Send Test Request for Route 2

Save and Send Test Request

Once you are done with the mapping of data, click on the ‘Save & Send Test Request’ button.

(s) Check and Save API Response

Save API Response

We got an API response that the user is enrolled in the course. Click on ‘Save’ and then, click on ‘Done’.

Eventually, the integration of Router is finally completed.

Step 10: Check Response in Zenler Dashboard

Check Response in Zenler

Finally, when you check your Zenler dashboard, you can see that the course is assigned to the existing student. And in the case of a new student, an account is created and along with it, a course is assigned to them.

Now, whenever a new Razorpay sale occurs, a course will automatically get assigned to student in Zenler.

Conclusion:

In a nutshell, this was all about ‘How to Assign Zenler Course to Student from New Razorpay Sale’. Consequently, after completing this step by step procedure, you will end up auto-assigning course to student in Zenler for Razorpay sale via Pabbly Connect.

Meanwhile, you can grab Pabbly Connect for FREE with all its premium features.

Also, comment below your queries and suggestions.

You May Also Like To Read –