skip to Main Content

Enroll Users in LearnDash Groups + Courses with Gravity Forms

Boost your group and course enrollment numbers with this easy-to-use and powerful LearnDash and Gravity Forms integration.

LearnDash and Gravity Forms integration featured image

Are you looking for a way to enroll users in LearnDash groups and courses using Gravity Forms? If so, you’ve landed on the right page!

In this quick step-by-step guide, we’ll show you how to connect LearnDash to Gravity Forms using Uncanny Automator. With this powerful WordPress integration tool, you’ll be able to automate your enrollment process for free and paid courses and groups alike.

Read through this simple guide to boost your enrollment numbers!

p.s. Make sure to check out more of the amazing LearnDash and Gravity Forms integrations at the bottom of this page.

What You’ll Need

Creating a simple and seamless enrollment process is a top priority for all online educators and administrators. With these three plugins, you can automate the entire enrollment process, from payment and registration all the way through to graduation!

Here are the tools you’ll need to follow along.

Uncanny Automator

Integrating your favorite apps and plugins is always easiest with Uncanny Automator. As the #1 integration and automation tool for WordPress, Automator gives you the power to fully integrate LearnDash and Gravity Forms.

Whether you want to automate your registration process or your entire LMS, Automator is the plugin that can help you make that happen.

Throughout most of this article, we’ll be using the FREE version of Automator. However, to fully integrate LearnDash and Gravity Forms, you’ll need Uncanny Automator Pro.

Try Automator free for 14 days.>>>

Gravity Forms

LearnDash is the leading LMS for WordPress users. Powerful as it is, however, there are times when you’ll want the flexibility of a dedicated WordPress form-building plugin such as Gravity Forms.

With a drag-and-drop builder (and the ability to use custom CSS) Gravity Forms makes it easy to customize every step of your course and group enrollment process. Advanced features such as paginated forms and conditional logic also give you the ability to collect more accurate information about your new registrants.

gravity forms homepage

There is no free version of Gravity Forms but you won’t need an astronaut’s salary to take advantage of this premium plugin.

You can always register for the demo to try it out or  get your Gravity Forms Pro license starting at $159/year.>>>


LearnDash is the most powerful LMS plugin for WordPress users, designed to revolutionize the way you deliver online courses and educational content. Create, sell and manage interactive and engaging online course content with LearnDash.

learndash homepage

LearnDash comes with all of the essential features needed to operate a best-in-class LMS. From a user-friendly course builder to intuitive progress tracking and the ability to form groups and award certificates, LearnDash brings the entire campus online.

If you haven’t already, then get started with LearnDash today.>>>

Enroll Users in LearnDash Courses

Free introductory courses are a great way to boost your registration numbers and get new users excited about your online content. In this step-by-step guide, we’ll show you how to register new users in a free LearnDash course from a Gravity Forms form submission.

free learndash course enrollment with gravity forms

Nevertheless, we’re pretty sure that you have a specific registration workflow in mind that brought you to this article. As such, we’ll also show you how to make small changes to this automation to suit your specific needs, including enrollment for paid courses and groups.

Without further ado, let’s get started!

Step 1: Create a New Recipe

In Automator, automations are called recipes—combinations of triggers and actions that automate workflows across apps and plugins. To create this recipe, from your WordPress Admin Sidebar, navigate to Automator > Add New.

automator recipe type selector everyone

A pop-up window will appear where you can select your recipe type. Because we are using our free course as a lead magnet, we want any and all visitors to our website to have the ability to enroll. As such, select Everyone.

Step 2: Name Your Recipe

Once you’ve gotten the hang of creating recipes, you’ll never want to leave the kitchen—figuratively speaking, of course. As such, we recommend coming up with a naming convention for your recipes that makes them easy to recognize at a glance.

For example, we’ve named this recipe Free LearnDash Course Enrollment With Gravity Forms.

Step 3: Configure Your Trigger(s)

In the Triggers panel, from the menu of available integrations, click on Gravity Forms.

automator gravity forms integration

From the drop-down list that appears, select A form is submitted.

gravity forms trigger a form is submitted

Automator will prompt you to select a form. From the drop-down list, select the form that you have created for your free course registration. If you haven’t created a registration form yet, check out this Getting Started with Gravity Forms tutorial. (If you are using a free course as a lead magnet, we recommend keeping the number of form fields to a minimum to encourage registration.)

Once you’ve selected your form, click Save. Your trigger should look something like this:

gravity forms trigger a form is submitted live

Step 4: Configure Your Action(s)

In the Actions panel, click on Add action. From the menu of available integrations, click on LearnDash.


From the drop-down list that appears, Enroll the user in a course.

learndash action enroll the user in a course

Because we selected Everyone as our recipe type, Automator will need information to complete the recipe. In the pop-up window that appears, click on Set user data.

automator we need user information

At the top of the Actions panel, click on New user.

automator new user

Automator will then present you with an editor where you can fill out the new user’s information.

Needless to say, we want these fields to populate dynamically—i.e., we want Automator to create new users with the information they provide. We’ll use tokens (dynamic pieces of data pulled from across your WordPress website and even from within recipes) to fill out these fields.

In the field labeled First name, click on the Asterisk. From the drop-down list that appears, select the First Name token from your free course registration form.

gravity forms first name token

Repeat the same process for the Last name and Email fields along with any other fields with relevant user data. At the bottom of the editor, set the new user’s role and whether or not to automatically log them in upon completion of the recipe.

You can choose what to do if the user already exists. If you want to keep the free course open to new users only, then select Do nothing. If you want your existing users to be able to register for the free course as well, then choose Select existing user and match the email from their form submission to their registered email.

When you’re finished, click Save. The top of your Actions panel should look something like this:

automator actions will be run on new users

Next, click the blue highlighted text, a course, in your LearnDash action. Automator will prompt you to select your free lead magnet course from the drop-down list.

learndash free lead magnet course

Once you’re finished, click Save. Your Actions panel should look something like this:

learndash action enroll the user in a course live

Start 5: Enroll and Engage!

You’re just one click away from gravity-defying enrollment numbers! All that’s left for you to do now is to toggle the recipe from Draft to Live.

free learndash course enrollment with gravity forms

Here’s a pro tip for you: run a limited promotion and encourage sign-ups by restricting the number of spots available in your free course. To do so, simply set the total number of times that this recipe can run to the number of spots available in your free course.

With a LearnDash and Gravity Forms integration like this, new registrants will be tripping over themselves in a mad dash to sign-up for your courses.

More LearnDash and Gravity Forms Integrations

Now that you’ve gotten the hang of making recipes, try out these enrollment-boosting automations.

Enroll Users in Paid Courses

If you want to process LearnDash payments and enrollment fees with Gravity Forms, Automator Pro can help you make it happen.

learndash + gravity forms paid course access

To accept payments with Gravity Forms and replicate the recipe pictured above, you will need at least a Pro License.

After you’ve purchased your Gravity Forms license, you’ll need to set up your Stripe and/or PayPal add-ons to accept payments. If you don’t know how to set up a registration form with a payment field, Gravity Forms offers this step-by-step guide. Alternatively, find the abridged version below:

Enroll Users in LearnDash Groups

Education is always more fun in groups. With Automator Pro, you can easily integrate LearnDash and Gravity Forms to get new users signed up with the right groups.

LearnDash + Gravity Forms Group and Course Registration

In this recipe, we’ve simply added a second action to add new registrants to the group associated with our paid course.

More Integrations

LearnDash and Gravity Forms are just two of the hundreds of WordPress integrations you can unlock with Uncanny Automator.

After you’ve gotten your new users enrolled in your courses and groups, help them get the supporting course material they need with ecommerce integrations like WooCommerce or Easy Digital Downloads. And don’t forget to keep them in the loop with a CRM integration like ActiveCampaign, MailPoet or Groundhogg.

What are some LearnDash and Gravity Forms integrations that you would like to see? Let us know in the comments section below.

author avatar
Brendan Da Costa
Brendan Da Costa is a WordPress content writer with a Shakespearean-level gift of gab (his words, not ours). He left a successful career in economics to pursue his passion for writing and discovered the wonderful world of WordPress while building his own website to showcase his work. As a self-taught enthusiast who spends more time tinkering with plugins and themes than he would care to admit, Brendan writes equally for WordPress beginners and veteran developers alike. With his unique blend of expertise and creativity, he continues to elevate the digital landscape one WordPress article at a time.

This Post Has 0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This page may contain affiliate links. Once in a while, we may earn a commission from those links. But with or without commissions, we only recommend products we like.
Back To Top