> For the complete documentation index, see [llms.txt](https://gradeapp.gitbook.io/gradeapp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gradeapp.gitbook.io/gradeapp/platform-overview/communication/letter-generate.md).

# Letter Generate

The **Letter Generate** category allows users to create new letters based on predefined types and customize them with relevant employee data.

Interface Overview:

* **Navigation Path:** Users see the path "Home • Letter • Generate" to indicate their location within the system.
* **Employee Selection:** A search bar for selecting employees to whom the letter will be addressed.
* **Letter Type Dropdown:** A selection field for choosing the type of letter being generated.
* **Created Date:** The date when the letter was created, which is displayed alongside the relevant letters.

**Table of Generated Letters:**

* The main area features a table displaying:

1. **Employees:** The names of employees associated with the letter.
2. **Letter Type:** The type of letter generated.
3. **Created**: The date of creation.
4. **Action:** Options for managing the letter.

When the table is empty, a message indicating **"No data available in table"** is shown.

**Adding a New Letter:**

* Clicking the **"Add New"** button leads to a form for creating a new letter, which includes:

1. **Letter Type:** A dropdown to select the type of letter.
2. **Employees:** A field for selecting the employee.
3. **Adjustable Space Settings:** Users can set margins (left, right, top, bottom) in pixels.
4. **Description Field:** A space to add additional information or context.
5. **Available Variables:** A list of dynamic variables that can be inserted into the letter template, such as:

&#x20;       \##CURRENT\_DATE##

&#x20;       \##EMPLOYEE\_NAME##

&#x20;       \##COMPANY\_NAME##

* **Save and Cancel Buttons:** Options to save the new letter or cancel the operation.
* **Preview Letter:** Functionality to preview the letter before finalizing it.

\
\
\ <br>
