---
title: Integrate Pabbly with Razorpay to set up an automatic workflow to enroll
description: If a learner who is already registered purchases a course, we can set up a workflow to automatically enroll them in that course. 
---

[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)

# Integrate Pabbly with Razorpay to set up an automatic workflow to enroll

## If a learner who is already registered purchases a course, we can set up a workflow to automatically enroll them in that course.

1. [Sign up on Pabbly and create a workflow](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#step-1)
2. [Set up Webhooks on Razorpay](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#step-2)
3. [Creating a Payment Page and Capturing a Payment](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#step-3)
4. [Adding Action application on Pabbly](https://support.learnyst.com/integrate-pabbly-with-razorpay-to-set-up-an-automatic-workflow-to-enroll#step-4)

**Step 1: Sign up on Pabbly and create a workflow:**

- Go to **pabbly.com** and click Sign Up to create an account.
- Click on **Access Now** on the **Pabbly Connect card**.

  ![pab1](https://support.learnyst.com/hs-fs/hubfs/pab1.png?width=655&height=319&name=pab1.png)
- Click **Create Workflow** to set up a series of actions and triggers for automating processes.
  
  ![pab2](https://support.learnyst.com/hs-fs/hubfs/pab2.png?width=688&height=335&name=pab2.png)
- Enter the Workflow name and let the default folder be Home itself. Click **Create**.
  
  ![pab3](https://support.learnyst.com/hs-fs/hubfs/pab3.png?width=688&height=335&name=pab3.png)
- For the first **Trigger Application** choose Razorpay.
  
  ![pab5](https://support.learnyst.com/hs-fs/hubfs/pab5.png?width=688&height=335&name=pab5.png)
- Next, add the trigger event of **Payment Captured**.
  
  ![pab6](https://support.learnyst.com/hs-fs/hubfs/pab6.png?width=688&height=335&name=pab6.png)
- A webhook URL will be generated, click **Copy**.
- Next, we have to capture a webhook response to ensure that for the action of **payment captured** the details are getting fetched.

**Step 2: Set up Webhooks**

- Login to your **Razorpay account** and navigate to webhooks section available under Account and Settings.
  
  ![pab7](https://support.learnyst.com/hs-fs/hubfs/pab7.png?width=688&height=335&name=pab7.png)
- Click on **Add New Webhook**. Paste the copied URL in the Webhook label.
  
  ![pab8](https://support.learnyst.com/hs-fs/hubfs/pab8.png?width=688&height=335&name=pab8.png)
- Now select the **payment.captured** from the Active Events section, and then click on the **Create Webhook** button to save it.
  
  ![pab-9](https://support.learnyst.com/hs-fs/hubfs/pab-9.png?width=688&height=334&name=pab-9.png)
- Next again go to pabbly and click on **capture webhook response.**

In order to capture a webhook response, we will make a test payment for the user details to be saved. To achieve this, you can create a Payment Page within Razorpay. 

**Step 3: Creating a Payment Page and Capturing a Payment:**

- Click **Payment Pages** under the Payment Product label.  
  ![pab10-1](https://support.learnyst.com/hs-fs/hubfs/pab10-1.png?width=688&height=335&name=pab10-1.png)
- Click on **Create Payment Page** to create a new Payment Page.
  
  ![pab10](https://support.learnyst.com/hs-fs/hubfs/pab10.png?width=688&height=335&name=pab10.png)
- Add necessary form details like course name, email, phone number etc.
  
  ![pab11](https://support.learnyst.com/hs-fs/hubfs/pab11.png?width=688&height=335&name=pab11.png)  
  ![pab12](https://support.learnyst.com/hs-fs/hubfs/pab12.png?width=688&height=335&name=pab12.png)
- Open the URL and complete the payment.
  
  ![pab13](https://support.learnyst.com/hs-fs/hubfs/pab13.png?width=688&height=335&name=pab13.png)
- Upon payment completion, Pabbly will receive the details provided during the payment process.

**Step 4: Adding Action application on Pabbly:**

When a specific trigger occurs, there is a corresponding action that takes place. For this action, we will integrate Learnyst as our chosen application.

- Choose the Action application by searching for Learnyst.
  
  ![action-1](https://support.learnyst.com/hs-fs/hubfs/action-1.png?width=688&height=335&name=action-1.png)
- Add the Action Event as **Paid Enrollment**. 
  
  ![action-2](https://support.learnyst.com/hs-fs/hubfs/action-2.png?width=688&height=335&name=action-2.png)
- Click on **Connect** and **add a new connection.**
  
  ![action-3](https://support.learnyst.com/hs-fs/hubfs/action-3.png?width=688&height=335&name=action-3.png)![action-5](https://support.learnyst.com/hs-fs/hubfs/action-5.png?width=688&height=335&name=action-5.png)
- For the School ID, simply navigate to the Pabbly Settings, **Marketing \> App Integration \> Pabbly \> Settings**.
  
  ![action-6](https://support.learnyst.com/hs-fs/hubfs/action-6.png?width=688&height=335&name=action-6.png)![action-7](https://support.learnyst.com/hs-fs/hubfs/action-7.png?width=688&height=335&name=action-7.png)
- Similarly for the API key, navigate to **Marketing \> App Integration \> Pabbly \> Settings**.
  
  ![action-9](https://support.learnyst.com/hs-fs/hubfs/action-9.png?width=688&height=335&name=action-9.png)
- Then, within Pabbly, in the email field link the email address received from the payments page webhook response.
  
  ![action-11](https://support.learnyst.com/hs-fs/hubfs/action-11.png?width=688&height=335&name=action-11.png)
- Similarly, for the course title link the course name from the webhook response.
  
  ![action-10](https://support.learnyst.com/hs-fs/hubfs/action-10.png?width=688&height=335&name=action-10.png)
- Click on **Save and Send Test Request**.
  
  ![action-13](https://support.learnyst.com/hs-fs/hubfs/action-13.png?width=688&height=335&name=action-13.png)
- After completing this step, you can view the enrollment status or transaction details of the user by checking reports.
  
  ![action-14](https://support.learnyst.com/hs-fs/hubfs/action-14.png?width=688&height=335&name=action-14.png)

**NOTE:**  
You need to add a filter for the course name otherwise the user can enter any course name and still get enrolled for the same amount.

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

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

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

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

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

    - [Batch Settings](https://support.learnyst.com/batch?hsLang=en#batch-settings)
- [Track](https://support.learnyst.com/track?hsLang=en#main-content)

    - [Getting Started](https://support.learnyst.com/track?hsLang=en#getting-started)
    - [Track Settings](https://support.learnyst.com/track?hsLang=en#track-settings)
- [Ebooks](https://support.learnyst.com/ebooks?hsLang=en)
- [Podcasts](https://support.learnyst.com/podcasts?hsLang=en)
- [Webinars](https://support.learnyst.com/webinars?hsLang=en)
- [Digital/Custom Products](https://support.learnyst.com/digital-custom-products?hsLang=en)
- [Free Resource](https://support.learnyst.com/free-resource?hsLang=en)
- [1:1 Coaching](https://support.learnyst.com/11-coaching?hsLang=en)
- [1 on 1 Tutoring](https://support.learnyst.com/1-on-1-tutoring?hsLang=en)
- [Poll](https://support.learnyst.com/poll?hsLang=en)
- [Question Pool](https://support.learnyst.com/question-pool?hsLang=en#main-content)

    - [Getting Started](https://support.learnyst.com/question-pool?hsLang=en#getting-started)
    - [Build Question Pool](https://support.learnyst.com/question-pool?hsLang=en#build-question-pool)
- [Classification](https://support.learnyst.com/classification?hsLang=en#main-content)

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

    - [Getting Started](https://support.learnyst.com/product-pricing?hsLang=en#getting-started)
    - [Pricing Plans](https://support.learnyst.com/product-pricing?hsLang=en#pricing-plans)
- [Quiz & Assessment](https://support.learnyst.com/quiz-assessment?hsLang=en#main-content)

    - [Add Questions](https://support.learnyst.com/quiz-assessment?hsLang=en#add-questions)
    - [Build Quiz](https://support.learnyst.com/quiz-assessment?hsLang=en#build-quiz)
    - [Question Settings](https://support.learnyst.com/quiz-assessment?hsLang=en#question-settings)
    - [Quiz Settings](https://support.learnyst.com/quiz-assessment?hsLang=en#quiz-settings)
    - [Question Review Flow](https://support.learnyst.com/quiz-assessment?hsLang=en#question-review-flow)
- [Website](https://support.learnyst.com/website?hsLang=en#main-content)

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

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

    - [Learnyst Community](https://support.learnyst.com/communities?hsLang=en#learnyst-community)
    - [Telegram Community](https://support.learnyst.com/communities?hsLang=en#telegram-community)
- [Gamification](https://support.learnyst.com/gamification?hsLang=en)
- [Learner Management](https://support.learnyst.com/learner-management?hsLang=en#main-content)

    - [Learner Profile](https://support.learnyst.com/learner-management?hsLang=en#learner-profile)
    - [Learner Actions](https://support.learnyst.com/learner-management?hsLang=en#learner-actions)
    - [Learner Settings](https://support.learnyst.com/learner-management?hsLang=en#learner-settings)
- [Roles and Permissions](https://support.learnyst.com/roles-and-permissions?hsLang=en)
- [Marketing](https://support.learnyst.com/marketing?hsLang=en#main-content)

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

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

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

    - [General Settings](https://support.learnyst.com/school-settings?hsLang=en#general-settings)
    - [Learner Billing](https://support.learnyst.com/school-settings?hsLang=en#learner-billing)
    - [Payment gateway](https://support.learnyst.com/school-settings?hsLang=en#payment-gateway)
    - [Features](https://support.learnyst.com/school-settings?hsLang=en#features)
    - [Security](https://support.learnyst.com/school-settings?hsLang=en#security)
    - [Channels](https://support.learnyst.com/school-settings?hsLang=en#channels)
- [Zoom integration](https://support.learnyst.com/zoom-integration?hsLang=en)
- [Troubleshooting](https://support.learnyst.com/troubleshooting?hsLang=en)
- [FAQs](https://support.learnyst.com/faqs?hsLang=en)
- [Users](https://support.learnyst.com/users?hsLang=en#main-content)

    - [Learners](https://support.learnyst.com/users?hsLang=en#learners)
- [Learners' Help article](https://support.learnyst.com/learners-help-article?hsLang=en)
- [Socials](https://support.learnyst.com/socials?hsLang=en)

- [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