---
title: Enrol learners automatically after a Razorpay payment (Pabbly)
description: "Use Pabbly Connect to sign up and enrol a learner in your Learnyst course automatically when they pay a Razorpay payment link: trigger, webhook, Sign up and Paid enrolment steps."
---

[Skip to content](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#main-content)

![Learnyst Logo-25-1.png\]](https://support.learnyst.com/hs-fs/hubfs/Learnyst%20Logo-25-1.png?height=40&name=Learnyst%20Logo-25-1.png)

- [Blogs](https://blog.learnyst.com/)
- [Product Demo](https://www.learnyst.com/product-demo)
- [Help Center](https://support.learnyst.com/?__hstc=63047858.c6632626f509e3bce8daa43b7e98f888.1712298652738.1721125968223.1721135407952.38&__hssc=63047858.1.1721135407952&__hsfp=1459259341&_gl=1*1hsz3xc*_gcl_aw*R0NMLjE3MzA4OTkxMzAuQ2p3S0NBaUF4S3k1QmhCYkVpd0FZaVctLTFMeml2UU9iS3JlNDdQaXE4Y2RDRTRPbE9iZnFVYS1sYkViTm5lcW52eHljMnNXOTRoMlRCb0N3QVVRQXZEX0J3RQ..*_gcl_au*MTM5MDI5MDc5LjE3MjU5Mzg3NTIuNjU1NTcwMzYxLjE3MzMyMzMxODAuMTczMzIzMzE3OQ..)
- [Success Stories](https://www.learnyst.com/customers/success-stories)

Open main navigation

Close main navigation

- [Blogs](https://blog.learnyst.com/)
- [Product Demo](https://www.learnyst.com/product-demo)
- [Help Center](https://support.learnyst.com/?__hstc=63047858.c6632626f509e3bce8daa43b7e98f888.1712298652738.1721125968223.1721135407952.38&__hssc=63047858.1.1721135407952&__hsfp=1459259341&_gl=1*1hsz3xc*_gcl_aw*R0NMLjE3MzA4OTkxMzAuQ2p3S0NBaUF4S3k1QmhCYkVpd0FZaVctLTFMeml2UU9iS3JlNDdQaXE4Y2RDRTRPbE9iZnFVYS1sYkViTm5lcW52eHljMnNXOTRoMlRCb0N3QVVRQXZEX0J3RQ..*_gcl_au*MTM5MDI5MDc5LjE3MjU5Mzg3NTIuNjU1NTcwMzYxLjE3MzMyMzMxODAuMTczMzIzMzE3OQ..)
- [Success Stories](https://www.learnyst.com/customers/success-stories)

 Hello, how can we help you today?

- There are no suggestions because the search field is empty.

1. [Support Center](https://support.learnyst.com/?hsLang=en)
2. [Integrations](https://support.learnyst.com/integrations?hsLang=en)
3. [Pabbly Integration](https://support.learnyst.com/integrations?hsLang=en#pabbly-integration)

# Enrol learners automatically after a Razorpay payment (Pabbly)

## Use Pabbly Connect to sign up and enrol a learner in your Learnyst course automatically when they pay a Razorpay payment link: trigger, webhook, Sign up and Paid enrolment steps.

If some learners pay you through a Razorpay payment link or payment page instead of your Learnyst checkout, Pabbly Connect can create their Learnyst account and give them paid access to the course as soon as the payment goes through. You set it up once, and no one has to enrol these learners by hand.

**On this page**

- [How it works](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#how-it-works)
- [Before you start](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#before-you-start)
- [Step 1: Add the Razorpay trigger in Pabbly](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#step-1-add-the-razorpay-trigger-in-pabbly)
- [Step 2: Add the webhook in Razorpay](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#step-2-add-the-webhook-in-razorpay)
- [Step 3: Make a test payment](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#step-3-make-a-test-payment)
- [Step 4: Sign up the buyer in Learnyst](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#step-4-sign-up-the-buyer-in-learnyst)
- [Step 5: Give paid access to the course](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#step-5-give-paid-access-to-the-course)
- [Step 6: Check the learner in Learnyst](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#step-6-check-the-learner-in-learnyst)
- [Sell more than one course](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#sell-more-than-one-course)
- [More things to add to this workflow](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#more-things-to-add-to-this-workflow)
- [If a learner is not enrolled](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#if-a-learner-is-not-enrolled)

### How it works

The workflow in Pabbly Connect has three steps:

1. **Trigger: Razorpay, Payment Link Paid.** Razorpay tells Pabbly that a payment link was paid and sends the buyer's email, phone number, amount and description.
2. **Action: Learnyst, Sign up.** Pabbly registers the buyer as a learner in your school using their email.
3. **Action: Learnyst, Paid enrolment.** Pabbly gives that learner paid access to the course you name.

Always add **Sign up** before **Paid enrolment**. Paid enrolment only works for a learner who already has an account in your school, so a first-time buyer is not enrolled unless the Sign up step runs first.

### Before you start

- A Pabbly Connect account and a Razorpay account. The Pabbly integration is included in every Learnyst plan. See [learnyst.com/pricing](https://www.learnyst.com/pricing).
- Your **School ID** and **API key**. In Learnyst, go to **Grow** \> **Marketing** \> **Integrations** \> **Pabbly** and click **Settings**. Copy the School ID, and click **Generate** to generate and copy an API key.
- The exact title of the course, as it appears in **Products** \> **Courses**.
- Collect the buyer's email on the payment link. Learnyst identifies the learner by email.

### Step 1: Add the Razorpay trigger in Pabbly

1. In Pabbly Connect, click **Create Workflow**, choose **Create from Scratch**, give the workflow a name and click **Create**.
2. In the trigger step, search for and choose **Razorpay**. In **App Event**, choose **Payment Link Paid**. If you sell through a Razorpay payment page, choose the matching payment page or payment event instead.
3. Click **Connect** and copy the **Webhook URL** Pabbly shows.
4. Click **Capture Webhook Response**. Pabbly now waits for a test payment.

![Pabbly trigger step with Razorpay, Payment Link Paid and the webhook URL](https://support.learnyst.com/hs-fs/hubfs/image-png-Dec-06-2026-03-58-13-7762-PM.png?width=670&height=377&name=image-png-Dec-06-2026-03-58-13-7762-PM.png)

### Step 2: Add the webhook in Razorpay

1. In the Razorpay dashboard, go to **Account & Settings** \> **Webhooks** and click **+ Add New Webhook**.
2. Paste the Pabbly URL into **Webhook URL**.
3. Under **Active Events**, select **payment\_link.paid**.
4. Click **Create Webhook**.

![Razorpay Webhook Setup with the Pabbly webhook URL and the payment\_link.paid event selected](https://support.learnyst.com/hs-fs/hubfs/image-png-Dec-06-2026-03-58-18-0677-PM.png?width=670&height=377&name=image-png-Dec-06-2026-03-58-18-0677-PM.png)

Set it up with Razorpay in **Test Mode** first. Test payments use test money, and you can switch to live mode and add the same webhook there once everything works.

### Step 3: Make a test payment

1. In Razorpay, go to **Payment Links** and create a payment link for the course amount. Enter a test learner's email and phone number as the customer.
2. Open the link and pay it. In Test Mode, choose any bank under netbanking and click **Success** on the test bank page.
3. Go back to Pabbly. The trigger now shows the captured response, with fields such as **customer email**, **customer contact**, **amount** (in paise, so 1000 means ₹10), **description** and **status**.

### Step 4: Sign up the buyer in Learnyst

1. Add an action step, search for **Learnyst** and choose the **Sign up** event (*This action will register a new learner to your learnyst platform*).
2. Click **Connect**, add a new connection with your School ID and API key, and save it. You only do this once; later steps can reuse the connection.
3. Click in **Email**, press **/** and choose **payload payment\_link entity customer email** from step 1.
4. Click **Save & Send Test Request**. The response shows the learner's **email**, **name** and **user\_id**.

![Learnyst Sign up action with Email mapped to the Razorpay customer email](https://support.learnyst.com/hs-fs/hubfs/image-png-Dec-06-2026-03-58-20-3301-PM.png?width=670&height=377&name=image-png-Dec-06-2026-03-58-20-3301-PM.png)

The learner's name is set from the part of the email before the @. Learners can change it later in their profile.

### Step 5: Give paid access to the course

1. Add another action step, choose **Learnyst** and the **Paid enrolment** event (*This action will add a product to the learner with paid access*). Use the same connection.
2. In **Email**, press **/** and choose **email** from the Sign up step.
3. In **Course Title**, type the course title exactly as it appears in Learnyst.
4. Click **Save & Send Test Request**. The response says *Added user to the product with paid access.* and shows the **course\_id**.

![Learnyst Paid enrolment action with the learner email from Sign up and the course title](https://support.learnyst.com/hs-fs/hubfs/image-png-Dec-06-2026-03-58-15-9256-PM.png?width=670&height=377&name=image-png-Dec-06-2026-03-58-15-9256-PM.png)

### Step 6: Check the learner in Learnyst

1. In Learnyst, go to **Users** \> **Learners** and search for the test learner's email.
2. The learner is listed with the amount under **Total Spent**. Open the learner to check their access to the course.

![All Learners list showing the test learner created by the Pabbly workflow](https://support.learnyst.com/hs-fs/hubfs/image-png-Dec-06-2026-03-58-12-4986-PM.png?width=670&height=377&name=image-png-Dec-06-2026-03-58-12-4986-PM.png)

Make sure the workflow is turned on in Pabbly. From now on, every paid link runs the three steps on its own.

### Sell more than one course

The Paid enrolment step enrols every buyer in the one course you typed. If you use payment links for several courses, pick one of these:

- **One workflow per course.** Use a separate Razorpay payment page per course, each with its own webhook and workflow.
- **A filter.** Put the course name in the payment link's **description**. In Pabbly, add a **Filter (Pabbly)** step before Paid enrolment with **description** **Contains** the course name, and add **amount** **Greater than** a minimum if you want to skip partial or wrong payments.

### More things to add to this workflow

- **Record the sale.** Add Google Sheets **Add New Row** to keep a sheet of name, email, phone, amount and payment ID.
- **Raise a GST invoice.** Add Zoho Invoice, Zoho Books or QuickBooks to create and email an invoice to the buyer.
- **Update your CRM.** Add HubSpot, Zoho CRM or LeadSquared to mark the lead as a customer and stop sales follow-ups.
- **Welcome on WhatsApp.** Add WATI or Interakt to send a welcome message with the course link to the customer contact number.

Each action step uses Pabbly tasks. Pabbly's free plan includes 100 tasks a month, and the Razorpay trigger and filter steps are free tasks. Check your usage on the Pabbly dashboard.

### If a learner is not enrolled

- Open **History** in Pabbly and look at the failed step.
- **Paid enrolment failed:** check that the Sign up step ran first and that **Course Title** matches the course title in Learnyst exactly.
- **Nothing reached Pabbly:** check that the Razorpay webhook is enabled, uses the Pabbly URL, has the right event, and that you are in the same mode (Test or Live) where you paid.
- **Connection error:** generate a new API key in Learnyst and update the Learnyst connection in Pabbly.
- To give access straight away while you fix it, enrol the learner from **Users** \> **Learners** yourself.

If you do not need payment links outside Learnyst, selling through your Learnyst checkout is simpler: learners are enrolled automatically, and coupons, receipts and workflows work without any setup.

### What to do next

- [Pabbly integration overview](https://support.learnyst.com/pabbly-integrations?hsLang=en)
- [Transaction information by payment gateway](https://support.learnyst.com/get-all-transaction-information-depending-on-the-payment-gateway?hsLang=en)
- [Create a coupon code](https://support.learnyst.com/creating-coupon-codes?hsLang=en)

If you have questions, contact us at support@learnyst.com.

- [Get Started](https://support.learnyst.com/get-started#main-content)
- [AI Tools](https://support.learnyst.com/ai-tools#main-content)
- [Courses](https://support.learnyst.com/courses#main-content)

    - [Getting Started](https://support.learnyst.com/courses#getting-started)
    - [Build Course](https://support.learnyst.com/courses#build-course)
    - [Add Lesson](https://support.learnyst.com/courses#add-lesson)
    - [Course Settings](https://support.learnyst.com/courses#course-settings)
    - [Lesson Settings](https://support.learnyst.com/courses#lesson-settings)
    - [Course Certificate](https://support.learnyst.com/courses#course-certificate)
- [Mock test](https://support.learnyst.com/mock-test#main-content)

    - [Getting Started](https://support.learnyst.com/mock-test#getting-started)
    - [Build Mock Test](https://support.learnyst.com/mock-test#build-mock-test)
    - [GMAT Question Types](https://support.learnyst.com/mock-test#gmat-question-types)
    - [Mock test Settings](https://support.learnyst.com/mock-test#mock-test-settings)
    - [Mock Test Templates](https://support.learnyst.com/mock-test#mock-test-templates)
- [Test Series](https://support.learnyst.com/test-series#main-content)

    - [Getting Started](https://support.learnyst.com/test-series#getting-started)
    - [Build Test Series](https://support.learnyst.com/test-series#build-test-series)
    - [Settings](https://support.learnyst.com/test-series#settings)
    - [Test Series Templates](https://support.learnyst.com/test-series#test-series-templates)
- [Bundles](https://support.learnyst.com/bundles#main-content)

    - [Getting Started](https://support.learnyst.com/bundles#getting-started)
    - [Build Bundles](https://support.learnyst.com/bundles#build-bundles)
    - [Bundle Settings](https://support.learnyst.com/bundles#bundle-settings)
- [Batch](https://support.learnyst.com/batch#main-content)

    - [Batch Settings](https://support.learnyst.com/batch#batch-settings)
- [1:1 Coaching](https://support.learnyst.com/11-coaching#main-content)
- [Poll](https://support.learnyst.com/poll#main-content)
- [Track](https://support.learnyst.com/track#main-content)

    - [Getting Started](https://support.learnyst.com/track#getting-started)
    - [Track Settings](https://support.learnyst.com/track#track-settings)
- [Ebooks](https://support.learnyst.com/ebooks#main-content)
- [Podcasts](https://support.learnyst.com/podcasts#main-content)
- [Webinars](https://support.learnyst.com/webinars#main-content)
- [Digital/Custom Products](https://support.learnyst.com/digital-custom-products#main-content)
- [Free Resource](https://support.learnyst.com/free-resource#main-content)
- [Question Pool](https://support.learnyst.com/question-pool#main-content)

    - [Getting Started](https://support.learnyst.com/question-pool#getting-started)
    - [Build Question Pool](https://support.learnyst.com/question-pool#build-question-pool)
- [Quiz & Assessment](https://support.learnyst.com/quiz-assessment#main-content)

    - [Getting Started](https://support.learnyst.com/quiz-assessment#getting-started)
    - [Add Questions](https://support.learnyst.com/quiz-assessment#add-questions)
    - [Build Quiz](https://support.learnyst.com/quiz-assessment#build-quiz)
    - [Question Settings](https://support.learnyst.com/quiz-assessment#question-settings)
    - [Quiz Settings](https://support.learnyst.com/quiz-assessment#quiz-settings)
    - [Question Review Flow](https://support.learnyst.com/quiz-assessment#question-review-flow)
    - [Learner Results](https://support.learnyst.com/quiz-assessment#learner-results)
- [Classification](https://support.learnyst.com/classification#main-content)

    - [Categories](https://support.learnyst.com/classification#categories)
    - [Tags](https://support.learnyst.com/classification#tags)
- [Product Pricing](https://support.learnyst.com/product-pricing#main-content)

    - [Getting Started](https://support.learnyst.com/product-pricing#getting-started)
    - [Pricing Plans](https://support.learnyst.com/product-pricing#pricing-plans)
- [Website](https://support.learnyst.com/website#main-content)

    - [Getting Started](https://support.learnyst.com/website#getting-started)
    - [Building Website](https://support.learnyst.com/website#building-website)
    - [Website Navigation](https://support.learnyst.com/website#website-navigation)
    - [Superpower Widgets](https://support.learnyst.com/website#superpower-widgets)
    - [Sign Up Settings](https://support.learnyst.com/website#sign-up-settings)
    - [Widgets (Embeddables)](https://support.learnyst.com/website#widgets-embeddables)
- [Website Custom domain](https://support.learnyst.com/website-custom-domain#main-content)
- [Mobile Apps](https://support.learnyst.com/mobile-apps#main-content)

    - [Android](https://support.learnyst.com/mobile-apps#android)
    - [iOS](https://support.learnyst.com/mobile-apps#ios)
- [Communities](https://support.learnyst.com/communities#main-content)

    - [Learnyst Community](https://support.learnyst.com/communities#learnyst-community)
    - [Telegram Community](https://support.learnyst.com/communities#telegram-community)
- [Socials](https://support.learnyst.com/socials#main-content)
- [Gamification](https://support.learnyst.com/gamification#main-content)
- [Users](https://support.learnyst.com/users#main-content)

    - [Learners](https://support.learnyst.com/users#learners)
- [Learner Management](https://support.learnyst.com/learner-management#main-content)

    - [Learner Profile](https://support.learnyst.com/learner-management#learner-profile)
    - [Learner Actions](https://support.learnyst.com/learner-management#learner-actions)
    - [Learner Settings](https://support.learnyst.com/learner-management#learner-settings)
- [Zoho E-signin](https://support.learnyst.com/zoho-e-signin#main-content)
- [Roles and Permissions](https://support.learnyst.com/roles-and-permissions#main-content)
- [Marketing](https://support.learnyst.com/marketing#main-content)

    - [Refer Earn](https://support.learnyst.com/marketing#refer-earn)
    - [Push Message](https://support.learnyst.com/marketing#push-message)
    - [Marketing Email](https://support.learnyst.com/marketing#marketing-email)
    - [System Email](https://support.learnyst.com/marketing#system-email)
    - [Whatsapp Messenger](https://support.learnyst.com/marketing#whatsapp-messenger)
    - [Affiliates](https://support.learnyst.com/marketing#affiliates)
    - [Workflows](https://support.learnyst.com/marketing#workflows)
    - [Forms](https://support.learnyst.com/marketing#forms)
    - [Campaign](https://support.learnyst.com/marketing#campaign)
    - [CTA](https://support.learnyst.com/marketing#cta)
    - [Promo Slider](https://support.learnyst.com/marketing#promo-slider)
- [Workflows](https://support.learnyst.com/workflows#main-content)
- [Integrations](https://support.learnyst.com/integrations#main-content)

    - [Pabbly Integration](https://support.learnyst.com/integrations#pabbly-integration)
    - [Zapier Integration](https://support.learnyst.com/integrations#zapier-integration)
    - [Google Ads](https://support.learnyst.com/integrations#google-ads)
    - [Meta Ads](https://support.learnyst.com/integrations#meta-ads)
- [Newsfeed](https://support.learnyst.com/newsfeed#main-content)
- [Sales](https://support.learnyst.com/sales#main-content)
- [Ratings and Reviews](https://support.learnyst.com/ratings-and-reviews#main-content)
- [Learner Support](https://support.learnyst.com/learner-support#main-content)
- [Sub School](https://support.learnyst.com/sub-school#main-content)
- [Reports](https://support.learnyst.com/reports#main-content)

    - [Score Reports & Quiz Insights](https://support.learnyst.com/reports#score-reports-quiz-insights)
- [Content Security](https://support.learnyst.com/content-security#main-content)

    - [CourseGaurd](https://support.learnyst.com/content-security#coursegaurd)
- [School Settings](https://support.learnyst.com/school-settings#main-content)

    - [General Settings](https://support.learnyst.com/school-settings#general-settings)
    - [Learner Billing](https://support.learnyst.com/school-settings#learner-billing)
    - [Payment gateway](https://support.learnyst.com/school-settings#payment-gateway)
    - [Features](https://support.learnyst.com/school-settings#features)
    - [Security](https://support.learnyst.com/school-settings#security)
    - [Channels](https://support.learnyst.com/school-settings#channels)
- [Payments](https://support.learnyst.com/payments#main-content)

    - [Custom installments](https://support.learnyst.com/payments#custom-installments)
- [Subscriptions](https://support.learnyst.com/subscriptions#main-content)
- [Zoom integration](https://support.learnyst.com/zoom-integration#main-content)
- [Troubleshooting](https://support.learnyst.com/troubleshooting#main-content)

    - [Web – Windows](https://support.learnyst.com/troubleshooting#web-windows)
    - [Web – Mac](https://support.learnyst.com/troubleshooting#web-mac)
    - [Android app](https://support.learnyst.com/troubleshooting#android-app)
    - [General](https://support.learnyst.com/troubleshooting#general)
- [FAQs](https://support.learnyst.com/faqs#main-content)
- [Learners' Help article](https://support.learnyst.com/learners-help-article#main-content)
- [Add Ons](https://support.learnyst.com/add-ons#main-content)

- [Home](https://learnyst-1.hubspotpagebuilder.net/)
- [About Us](https://learnyst-1.hubspotpagebuilder.net/about-us)
- [Contact Us](https://learnyst-1.hubspotpagebuilder.net/contact-us)
- [Blog](https://learnyst.hs-sites-na2.com/blog)

[![Chill listening crop-3](https://support.learnyst.com/hs-fs/hubfs/Learnyst%20logo%20(2).png?width=24&height=24&name=Learnyst%20logo%20(2).png "Chill listening crop-3")](https://www.learnyst.com/)

Learnyst Support

Copyright © 2026, Learnyst Insights Pvt Ltd