In this post, we will see how you can integrate Instamojo with Uteach and automatically enroll students in the Uteach course upon receiving payment on Instamojo.
This automation requires a one-time setup, for which we will use Pabbly Connect.
We will link Instamojo with Pabbly Connect to capture successful payment details, then link Pabbly Connect with Uteach to create and enroll students in Uteach using the payment details.
Steps to Automatically Enroll Students in Uteach on Successful Instamojo Payments
1. Sign In / Sign Up to Pabbly Connect and Create a Workflow
2. Establish a connection between Instamojo and Pabbly Connect
3. Setup Uteach as the Action App to Create Students
4. Setup Uteach as the Action App to Enroll Students
Step 1:- Sign In / Sign Up to Pabbly Connect and Create a Workflow
A. Sign In / Sign Up
To begin this process, visit Pabbly Connect and create your account by clicking on the ‘Sign Up Free’ button. You can also click on Sign In if you already have an account.
Click on the Pabbly Connect ‘Access Now’ button
B. Create Workflow
To create a new workflow, click the ‘Create Workflow’ button.
Name your workflow, and click on ‘Create’.
Step 2:- Establish a connection between Instamojo and Pabbly Connect
We will now look at the steps through which we can establish a link between Instamojo and Pabbly Connect. This will help us capture data for each successful payment.
A. Trigger App
Trigger allows us to choose the application that will receive the data for Pabbly Connect. In our case, it would be Instamojo.
Expand the Trigger Step, choose ‘Instamojo’ as your Action App, and select ‘New Sale’ as an Action Event.
B. Webhook URL
A new Webhook URL will get generated. You will use this Webhook URL to create a connection with your Instamojo account. Copy the Webhook URL.
As soon as you Copy the Webhook URL, Pabbly Connect will start looking to capture data from Instamojo, as indicated by the rotating Waiting For Webhook Response button.
C. Connect Instamojo Account
To connect with your Instamojo account, go to your Instamojo dashboard and click on ‘Products’ > ‘All Products’.
Select the Product for which you want to collect the payment.
Click on ‘Advanced’, paste the Webhook URL we copied earlier, and click on ‘Save’.
We have successfully generated a payment link and can use this link to collect payments. Using the Webhook URL, we have also established a connection between Instamojo and Pabbly Connect.
D. Test the Connection
You can now use this payment link to make a dummy transaction and check if your connection is successful or not.
Copy, paste, and open the payment link into an Incognito Tab.
Fill up the payment form, and make the payment.
Switch back to Pabbly Connect, and expand Response Received. If the payment is successful, its status will be visible as such.
Step 3:- Setup Uteach as the Action App to Create Students
Action allows us to choose the application that will get executed by the workflow trigger.
In Uteach, before enrolling students in a particular course, we have to register them in our Uteach account. Thus, we will set up Uteach as the Action App to register students.
A. Action App
Choose ‘Uteach’ as the Action App, select ‘Create Students’ as an Action Event, and click on ‘Connect’.
B. Add New Connection
To connect with your Uteach account, select ‘Add New Connection’. You will be asked to enter your Domain and API Key.
To find both, go to your Uteach dashboard, and click on ‘Settings’ > ‘Integrations’ > ‘Pabbly Connect’.
Copy the ‘API key’ and ‘Domain, paste both in their respective field, and click on ‘Save’.
C. Map Necessary Fields
Now that you have connected your Uteach account, all you need is to map the necessary details from the step above. Mapping ensures our data remains dynamic and changes as per the received responses.
Map the Name from the step above.
Similarly, map the Email address and click on ‘Save & Send Test Request’.
As you click on Save & Sent Test Request, the user will get added to your student list.
Step 4:- Setup Uteach as the Action App to Enroll Students
Since we have already added the user to our student list, we will now set up Uteach as the Action App to enroll students in a particular course.
Add another Action Step to your workflow by clicking the ‘+’ button.
A. Action App
Choose ‘Uteach’ as the Action App, select ‘Add Student to Course’ as an Action Event, and click on ‘Connect’.
B. Connect Uteach Account
Since we already have established a connection with Uteach in our previous step, all we need is to ‘Select Existing Collection’ and click on ‘Save’.
C. Enter / Map Necessary Fields
Map the Student Email address from above.
Switch to your Uteach dashboard, and copy the URL from the course in which you want to enroll your students.
Paste the URL in the Course Slug field, remove the excessive part, and click on ‘Save & Send Test Request’.
As soon as you click on Save & Send Test Request, the user will get enrolled in the particular course of your choice.
Our automation is complete. We have successfully integrated Instamojo with Uteach. Each new user who makes a successful payment on Instamojo will now automatically be enrolled as a student in your Uteach course.
You can copy this entire workflow by clicking this link.
Sign Up for a free Pabbly Connect account, and start automating your business
Subscribe to our Youtube Channel for more such automation
For any other queries, visit our forum