Learn how to automate student enrollment in Learnyst for WooCommerce orders using Pabbly Connect. Follow these detailed steps for seamless integration. Follow this definitive guide to creating powerful automated workflows with straightforward, efficiency-focused solutions that save valuable time.

Watch Step By Step Video Tutorial Below


1. Accessing Pabbly Connect for Integration

To enroll students in Learnyst for WooCommerce orders, you first need to access Pabbly Connect. Start by navigating to the Pabbly Connect homepage by typing ‘Pabbly.com/connect’ in your browser.

Once on the homepage, you will see options to sign in or sign up. If you are a new user, click on the ‘Sign Up for Free’ button to create an account. Existing users can simply click ‘Sign In’. After logging in, you will be directed to the dashboard where you can manage your workflows.


2. Creating a Workflow in Pabbly Connect

After accessing your Pabbly Connect dashboard, the next step is to create a new workflow. Click on the ‘Create Workflow’ button located at the top right corner of the screen. A dialog box will appear, prompting you to name your workflow. using Pabbly Connect

  • Name your workflow, e.g., ‘Enroll Learner in Learnyst for WooCommerce Order’.
  • Select the appropriate folder for your workflow, such as ‘Test Integrations’.
  • Click ‘Create’ to proceed.

Once the workflow is created, you will see two sections: Trigger and Action. Here, you will set WooCommerce as the Trigger and Learnyst as the Action application. This setup allows the automation to begin when a new order is placed in WooCommerce.


3. Setting Up WooCommerce Trigger in Pabbly Connect

In this step, you will set up the WooCommerce trigger in your Pabbly Connect workflow. Select WooCommerce as your trigger application and choose the event ‘New Order Created’. This event will initiate the workflow whenever a new order is placed.

Click on ‘Connect’ to generate a webhook URL. This URL will be used to connect your WooCommerce account with Pabbly Connect. Copy the webhook URL and head over to your WordPress dashboard where WooCommerce is installed.

  • In WordPress, navigate to WooCommerce > Settings > Advanced.
  • Select ‘Webhooks’ and click ‘Add Webhook’.
  • Fill in the details: Name it, set the status to ‘Active’, and select ‘Order Created’ as the topic.
  • Paste the copied webhook URL in the Delivery URL field and click ‘Save Webhook’.

After saving, return to Pabbly Connect and click on ‘Recapture Webhook Response’ to ensure the connection is successful.


4. Placing a Test Order to Capture Response

Now that the webhook is set up, you need to place a test order in your WooCommerce store. This step is crucial as it allows Pabbly Connect to capture the order details. Go to your WooCommerce store and select a product, such as the Advanced PHP course.

Add the course to your cart and proceed to checkout. Enter the required details, such as name, email, and address, to complete the order. After placing the order, return to Pabbly Connect where you should see the captured response containing the order details.

Ensure that the product purchased matches the one you want to enroll in Learnyst. Verify that the order details appear correctly in the captured response.

This successful capture indicates that your WooCommerce and Pabbly Connect integration is working properly, and you can now proceed to the next step: enrolling the learner in Learnyst.


5. Enrolling the Learner in Learnyst

With the order response successfully captured, it’s time to enroll the learner in Learnyst. In your Pabbly Connect workflow, select Learnyst as the action application and choose the event ‘Sign Up’. This action will register the learner based on the order details received.

Next, connect your Learnyst account by entering your School ID and API key. These can be found in your Learnyst account under the Marketing section. Once connected, map the email of the learner from the captured WooCommerce order response to ensure the correct registration.

Select the email field from the previous step’s response. After mapping, click ‘Save and Send Test Request’ to confirm the registration.

Once the response indicates a successful registration, you can proceed to enroll the learner in the specific course (Advanced PHP). Repeat the process by selecting the ‘Paid Enrollment’ action in Learnyst, mapping the email and course title, and sending the test request again.


Conclusion

In this tutorial, we demonstrated how to automate student enrollment in Learnyst for WooCommerce orders using Pabbly Connect. By following these steps, you can seamlessly integrate WooCommerce with Learnyst, ensuring that every order results in automatic learner registration and course enrollment.

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