Tutor LMS: Generate Course Lessons with ChatGPT (Generative AI)

Looking for the best way to generate Tutor LMS course lessons with ChatGPT or your favorite AI model and provider?

Creating lessons for your online courses takes time. You need to research, organize ideas, and write clear content. But what if you could speed up the process while keeping high quality? Maybe starting from the course lesson titles and using any OpenAI’s GPT model to generate the contents of the lessons.

By using your favorite AI model and provider, you can generate lesson content quickly and still keep full control over what you teach. AI helps you get ideas, structure your lessons, and create text that you can edit and improve. This means you save time while focusing on delivering the best learning experience for your students.

In this guide, we’ll show you how to use AI inside WP Sheet Editor to generate Tutor LMS course lessons. You’ll learn how to create content in bulk, refine it, and make it unique to match your teaching style.

Generating Tutor LMS lessons with AI

Important: We assume you already have the Tutor LMS plugin installed and activated on your WordPress site. But besides Tutor LMS, you need to install and activate the following plugins and services:

1- WP Sheet Editor – Courses

This plugin allows you to view and manage courses from different LMS plugins (LearnPress, Tutor LMS, LearnDash, and others) using an intuitive spreadsheet with advanced search, bulk edit, export, and import tools. If you already have it, you can skip this.

You can download the plugin here:

Download Courses Spreadsheet Plugin - or - Check the features

2- WP Sheet Editor – AI

This is a WordPress AI assistant service that brings the power of generative AI to every WP Sheet Editor spreadsheet. You can connect with different AI providers and LLMs, and integrate the use of artificial intelligence in all spreadsheets of the WP Sheet Editor suite.

3- External API provider

The AI functionality in WP Sheet Editor relies on an external API like OpenAI, OpenRouter, etc. You’ll need an account with the provider and an API key to connect.

WP Sheet Editor – AI is compatible with these AI providers:

  • OpenAI for text and images (more info here)
  • OpenRouter (more info here)
  • Any other provider and model that uses the same format as OpenAI.

Follow this guide to learn how to set up AI providers and models in WP Sheet Editor – AI.

Prompt for generating Tutor LMS courses

Here’s a prompt you can use to generate Tutor LMS course lessons:

Generate a detailed lesson in clean HTML format, suitable for inserting into a TinyMCE editor. The lesson title is $Title$, and it belongs to the module $Topic Name$. The lesson should begin with an introductory paragraph (without any heading) that explains the importance of the topic. Then, provide step-by-step explanations using subheadings (<h2>, <h3>), relevant examples, and practical applications. Conclude with a summary or key takeaways. Use a clean HTML structure with <p>, <ul>, <ol>, <h2>, <h3>, and <strong> tags where necessary. No inline CSS, no unnecessary formatting, and do not add any Markdown code block markers. The lesson must start directly with the introductory paragraph, without any heading before it.

This prompt uses the lesson title and the topic name as context. You can add any other data to the prompt to make sure the lesson that will be generated is accurate and fits your needs. Keep in mind that you need to test this prompt and customize it if necessary.

How to create a global prompt

WP Sheet Editor – AI allows you to save your prompts to reuse them quickly in WP Sheet Editor. This way, you don’t have to type the prompts every time you want to use them.

To create a global prompt:

  • Go to WP Sheet Editor > AI > Settings > Prompts.
  • Click on Add new.
  • Enter a name that is easy to remember in the Name field.
  • Enter the prompt text in the Prompt field. You can add the prompt we shared above.
  • Click on Save.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

After saving the prompt, you’ll see an auto generated slug, which you can use as a shortcut to this prompt in the courses spreadsheet. Just type ai:prompt-slug, replacing “prompt-slug” with the actual prompt slug.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

Method 1: Generate course lessons with AI in TinyMCE editor

If you want to work on each lesson in detail, you can use this method, which consists of generating the content of your lessons using the TinyMCE editor that is displayed as a popup in the spreadsheet.

For example, if we go to a lesson whose content is empty and click on Edit, we will open the editor in the popup.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

Now we need to click on Edit with AI.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

When you click on Edit with AI, you will see a field called Prompt in which you must add the prompt you are going to use to generate the course lessons with ChatGPT or your favorite AI provider.

After adding the prompt, you need to click on Generate.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

Once the AI finishes processing your request and generating the course lesson, you will see the result in the editor. Now you can apply all the necessary changes to make your lesson ready to publish the course.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

This is the best way to use AI models like ChatGPT to generate lessons and pay the most attention to every single detail of your lessons.

Method 2: Generate course lessons with AI in the spreadsheet

You can generate course lessons using ChatGPT or your favorite AI provider/model using the spreadsheet.

You just need to go to the Content column and start generating lesson content. To do this, you have two options:

  1. Use a full prompt. Just type ai:prompt, replacing “prompt” with the actual full prompt.
  2. Use a global prompt shortcut. Just type ai:prompt-slug, replacing “prompt-slug” with the slug of your pre-saved global prompt. For example, in this case, we will use the ai:lesson shortcut to use the prompt we saved as global prompt above.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

ChatGPT or the AI you’re using will start working to generate the lesson content, according to the parameters you have specified in the prompt. You’ll see a loading icon in the spreadsheet cell.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

Once the request has been processed and the AI has generated your lesson, you will see it in the cell. You can click on the Edit button in the cell to open the text editor and make any changes.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

Here you can see the lesson content we just generated. Now we can apply all the changes and get the lesson ready to be published.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

Something great is that you can generate multiple lessons by pasting the same prompt/prompt shortcut in multiple cells. For example, let’s generate 5 lessons at once by pasting the ai:lesson shortcut.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

The AI will start processing the requests in bulk, so the lessons will be generated simultaneously.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

As you can see, we have generated 6 lessons with a few clicks.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

Method 3: Bulk generate lessons with AI

You can generate Tutor LMS lessons in bulk, using your favorite AI model and provider (ChatGPT, for example). This is great if you want to generate lessons for a complete course at once.

In this example, we will show you how to generate the content of all the lessons that are empty. To do this, we will first search for all the empty lessons.

Let’s start by opening the Search tool.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

Select these values to filter all empty lessons:

  • Tick the Enable advanced filters checkbox.
  • Field: Content
  • Operator: =
  • Value: Leave this field empty.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

After filtering all the empty lessons, you need to open the Bulk Edit tool.

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

Now select these values in the bulk edit to generate lesson content for all the filtered lessons:

  • Select the rows that you want to update: Edit all the rows from my current search
  • What field do you want to edit: Content
  • Select type of edit: Here you have two options:
    • First option: You can select a pre-saved global prompt. For example, we will select our lesson prompt, displayed as AI command: Lesson. This way, you don’t have to type the prompt.
    • Second option: You can select AI Prompt, and you can paste or type the full prompt.
  • AI Provider: If you have configured multiple providers, you can select the one you want to use to complete this task. In this example, we will use the OpenRouter provider and the GPT 4o mini model.
  • You can click on Show preview to see the result before saving the changes.
  • Now you can click on Execute Now

tutor-lms-generate-course-lessons-with-chatgpt-generative-ai

Using AI to generate Tutor LMS lessons can save you a lot of time while keeping your content high-quality and unique. With WP Sheet Editor – AI, you can easily create and edit lessons in bulk, giving you more control over your course material. Whether you prefer working in the TinyMCE editor or directly in the spreadsheet, AI can help speed up your workflow and make lesson creation easier.

Do you need help?

You can receive instant help in the live chat during business hours, or you can contact us and we will help you via email.