Docly Child

Academy LMS

Estimated reading: 2 minutes

Overview

The AFI plugin allows you to connect your WordPress forms to the Academy LMS plugin. When a user submits a form on your website, the plugin can automatically enroll them in a course or remove them from one. This automation helps reduce manual work and makes your LMS workflows more efficient.

Supported Features

  • Enroll a student into a course

  • Unenroll a student from a course

How To Setup

Create New Integration

  1. Go to AFI > Add New

  2. The New Integration page will open.

Title

A default title will be generated automatically. Rename it to something meaningful, such as “Enroll Students to Math Course”.

Trigger

  • Form Provider: Choose the form plugin you’re using (e.g., Contact Form 7, WPForms, Elementor, etc.)

  • Form/Task Name: Select the form you want to connect with Academy LMS

Action

In the Action section:

  • Platform: Select Academy LMS

  • Task: Choose one of the following:

    • Enroll to a course – to automatically enroll the student upon form submission

    • Unenroll from a course – to automatically remove the student from a course

 

Map Fields

Once the platform and task are selected, a set of fields will appear under Map Fields. These are the required values that Academy LMS needs to complete the action.

  • Course: Choose the course you want to enroll/unenroll the student in. The list of available courses will appear in the dropdown.

  • Student Email (required): Map the email field from your form. This is used to identify the student.

  • First Name: Map the first name field if available.

  • Last Name: Map the last name field if available.

  • Username: Optional. If provided, it will be used when creating a new user.

  • Password: Optional. If left empty, a random password will be generated when a new user is created.

 


Save Integration

After mapping the fields, click the Save Integration button. Your connection is now ready.


Troubleshooting

If you find that users are not being enrolled or unenrolled:

  1. Go to AFI > Log

  2. Check the latest logs for the specific form

  3. Confirm that:

    • A valid email was submitted

    • The selected course exists

    • The field mapping is done correctly

  4. Ensure that the user is not already enrolled/unregistered in the course, depending on the task

If needed, share the log entry with support for further help.

Share this Doc

Academy LMS

Or copy link

CONTENTS