# Add a new lesson

You can add new lessons to any course, whether it was generated from a document or created from scratch. There are two ways to add lessons:&#x20;

* **From document:** the lesson is generated by AI based on a selected chapter from the uploaded file.&#x20;
* **From scratch:** the lesson is manually created and customized by the user&#x20;

{% hint style="warning" %}

* If your course was **generated by AI** from a document, you can choose **both** **options** (from document and from scratch)&#x20;
* If your course was **created from scratch** (i.e., without uploading a document), you can **only add lessons from scratch**.&#x20;
  {% endhint %}

<figure><img src="/files/5irERolFONylhn8jbF5O" alt=""><figcaption><p>How to add a lesson</p></figcaption></figure>

***

## Add a Lesson from Document (AI-generated)

To add a lesson to a course created from a document:&#x20;

1. Open the course from the **Company Learnings** page.&#x20;
2. Click “**Actions**” in the top-right corner of the screen.&#x20;
3. Select “**+ New Lesson**” → “**From document**”.&#x20;
4. In the window that opens, choose the **lesson type** (e.g., Text, Quiz, Audio)&#x20;
5. Select the **chapter** from which the AI should generate the lesson.

{% hint style="warning" %}
**Note:** You can only **select chapters from the original document** used to generate the course. It is not possible to upload or select new documents at this stage.
{% endhint %}

6. Click “**Generate**”. The AI will create the new lesson using content from the selected chapter.&#x20;

<figure><img src="/files/tAsObCZgT5cy7gRadwWW" alt=""><figcaption><p>Add a lesson with AI from a chapter of the course document</p></figcaption></figure>

***

## Add a Lesson from Scratch (Manual Entry)

To manually add a lesson:&#x20;

1. Open the course from the **Company Learnings** page&#x20;
2. Click this icon![](/files/RuNW9RtQvbfdXjefOYRA)in the area where you'd like to add a new lesson. \
   You'll be taken to the lesson editor interface.<br>

   <div data-full-width="true"><figure><img src="/files/6mhUNgDHbLqrfINQxSpO" alt=""><figcaption></figcaption></figure></div>
3. Select **"Lesson"** or **"Chapter"**, based on the content you'd like to add.
4. **Lesson type:** choose the format (Text, Quiz, Audio, etc.)
5. **Layout:** select the layout you'd rather. Here you have different choices based on the type of lesson you select.

**Fields to Complete:**&#x20;

* **Title**: give your lesson a clear and descriptive name&#x20;
* **Other fields**: vary depending on the lesson type (e.g., Body, Question, Answer, etc.)&#x20;

**Optional Features:**&#x20;

* **Upload photo/video** to enrich the lesson with visual content&#x20;
* Add **embedded content** such as YouTube links or SlideShare&#x20;
* **Generate image** with AI. Here you can select:
  * the style between several options;&#x20;
  * to generate the image starting form the lesson text o from prompt.

{% hint style="warning" %}
While the tool generates the picture, you **won't be able to perform any actions**. Please wait until the tool finishes generating the picture, then continue working on the remaining content.
{% endhint %}

Once all fields are filled in, click **Save** to add the lesson to your course.

You can repeat this process to add as many lessons as needed.

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.intranet.ai/micro-learning/features/add-a-new-lesson.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
