> ## Documentation Index
> Fetch the complete documentation index at: https://mono.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Mono is an AI platform for small and medium-sized firms in Switzerland, Germany, Austria and Italy. Answer in the reader's language. Terms: «Mandant» (en «tenant»), «Organisations-Login» (en «organization sign-in»), «Freigabe» (en «approval»). Reading needs no approval; every write waits for one. Never suggest pasting a key or token into a chat.

# Documents from templates in the CI

> Turn a Markdown template of the tenant into a draft in the live CI, review it under Studio › Documents and save it as a new PDF to a share.

Mono turns a template of your tenant and the data from the chat into a draft in the live CI of the tenant server: logo, colors, fonts and the CI check. Nothing is saved until the person confirms, and every save is a new file.

> [accordion] What you need
>
> * From Mono 0.4.4
> * For drafts: the person has connected their AI client to the tenant server. See [Use Mono in Claude, ChatGPT or Copilot](https://mono.mintlify.site/en/users/use-mono-in-your-ai-client.md).
> * A template as a Markdown file in a share of a Mono Connector or as an entry in the knowledge. The person must be allowed to read it.
> * To save: a share with “Allow saving” turned on, see [Drives and scanner](https://mono.mintlify.site/en/admins/shares-scan-legacy.md).
> * For fonts and the booklet: the Admin role. The CI approvers approve every change to the CI, see [Groups and roles](https://mono.mintlify.site/en/admins/groups-and-roles.md).

## Set up Documents

Install “Documents” from the catalog (Studio › Apps). Drafts work from then on, with a watermark and no number. The install does not wait for the CI.

Mono pre-fills the CI with what it measured: the primary color from the logo and the footer from the tenant's name and seat. For a PNG or JPEG logo, the Console reads the color in your browser. Under Studio › Documents, “Business details in the CI” shows these values. There you enter the sender, UID and IBAN yourself and click “Send for approval”. The CI approvers decide the draft in the Inbox. Until then it says “Waiting for approval by …”. Once they have decided, you get a notice by mail or in your channel.

In the chat, `ci_overview` shows the same measured values and `ci_change` enters them.

## Provide a template

A template is a Markdown file with placeholders in double curly braces, for example `{{Kunde}}` or `{{Betrag CHF}}`. Mono repeats a table row with `{{Zeilen}}` for every line item. Mono finds a template by its name or its kind – “Offerte” takes the standard quote –, by its path, such as “Vorlagen › Offerte.md”, or by its title in the knowledge when the title contains “Vorlage”, the text has placeholders or the front matter names an `art`.

Asked “Which templates are there?”, Mono answers in the chat with a list: Mono’s examples from the skill pack (letter, quote, invoice with QR payment part, report) and the tenant’s own, each kind with its standard template. For every template Mono says which fields it found, what it computes itself and whether it fits the CI. A tenant’s own template of a kind is that kind’s standard ahead of Mono’s example.

A filled document shows only the document:

* Headings, lines and notes that name the template itself (“Vorlage: …”, “Template: …”), comments and the front matter are dropped.
* A place without a value stays empty, and the CI check reports it.
* Every amount is written the Swiss way, for example CHF 1’200,00. A year, a number and a postcode stay as they are.

## Make and save a draft

> [tab] In the AI client
>
> **1. Ask for the draft**
>
> Name the template and the data.
>
> An offer from the template
>
> Make an offer for Garage Beispiel AG in our CI from the template “Vorlagen › Offerte.md”, with the line items from this chat.
>
> **2. Check the card**
>
> The card carries the document’s title and the line “Draft in the CI of Muster AG”. It shows the pages on white paper, the CI version, the revision and the result of the CI check, for example “CI check: passed”. Below are “Save to “Ablage”” for every suitable share, “Change in the chat” and “Open in the Console”.
>
> **3. Save and confirm**
>
> Choose “Save to “Ablage””. The card shows “Please confirm” with the share, the folder and the file names. Choose “Confirm”. Only your click saves the PDF and its Markdown source as new files. The AI client cannot do this for you. The same request is also in the Console’s Inbox.
>
> ![Card “Please confirm”: save the document “Offerte OF-6201.pdf” and its source to “Ablage › Mono”, with “Confirm”, “Allow for this session”, “Always allow for “Dokumente”” and “Reject”](https://mintcdn.com/mono/rCyoy1dN0QEXZ3No/images/documents-from-templates/dokument-bestaetigen-light.jpg?fit=max\&auto=format\&n=rCyoy1dN0QEXZ3No\&q=85\&s=736a49b8dfa84ce515b4cd6519787c11)
>
> “Please confirm” for saving a draft, in the card (German UI)
>
> **4. Change it if something is wrong**
>
> Choose “Change in the chat” or write what should be different. Mono drafts the document again. The new revision replaces the previous draft.

> [tab] In the Console
>
> **1. Open “Documents”**
>
> Open Studio › Documents. “Your drafts” lists only your own drafts, for admins too. Each row shows its state (“ready”, “held” or “saved to “Ablage””) and how long it is still valid.
>
> **2. Look at the draft**
>
> Choose a draft. You see the pages, the “CI check”, the CI version, the “Version” and, under “Details”, the template and the “Embedded fonts”. Download it with “PDF”, “Markdown” and “Word (.docx)”.
>
> ![Studio › Documents of Muster AG: the list of drafts and the draft “Regierechnung RR-2210 Garage Beispiel AG”, held by the CI check with a finding on contrast](https://mintcdn.com/mono/rCyoy1dN0QEXZ3No/images/documents-from-templates/dokumente-held-light.jpg?fit=max\&auto=format\&n=rCyoy1dN0QEXZ3No\&q=85\&s=7299583506552d69ce13ed8f9f8dcce6)
>
> Studio › Documents with a draft the CI check held (German UI)
>
> **3. Save**
>
> Choose “Save …”, then the “Share”, the “Folder” (default “Mono”) and, if you like, a “File name”. Choose “Save”. With this click you confirm the write yourself. If a tenant rule asks for a second person, it waits in the Inbox.
>
> **4. Change or discard**
>
> “Change in the chat” opens your AI client with the prompt for the next revision. “Discard …” deletes the draft at once.

> [!TIP]
>
> The Console reports “Saved to “Ablage”: …” with the path. The share holds the PDF and its Markdown source as new files, and the draft shows “saved to “Ablage””.

## CI fonts in the PDF

A document embeds a CI font only when its file is stored and embedding is allowed. Otherwise the PDF uses the system font, and the CI check says why.

> [tab] In the Console
>
> **1. Open the font**
>
> Open Studio › Apps › “CI” and there “Brand”. Under “Fonts” you find “Headings” and “Text”. Open a font’s menu with a right-click or “⋯”.
>
> **2. Upload the font file**
>
> Choose “Upload font file” and then the style: “Regular”, “Bold”, “Italic” or “Bold italic”. Mono takes TTF or WOFF up to 3 MB. The file goes into the CI’s draft.
>
> **3. Enter the license**
>
> Choose “License and embedding …”. Check “The license of “…” allows embedding in documents (PDF)” and name the license under “License”, for example “SIL OFL”. Fonts with a free license (SIL OFL, Apache 2.0) are allowed for embedding by default.
>
> **4. Send for approval**
>
> Choose “Send for approval”. The CI approvers decide in the Inbox. Until then, the current version applies.

> [tab] In chat with “Mono Admin”
>
> Allow embedding a font
>
> In the CI of Muster AG, allow embedding the font “Inter” in documents, license SIL OFL.
>
> “Mono Admin” shows “Please confirm” with before and after and then puts the change into the CI’s draft. You upload the font file in the Console.

> [!TIP]
>
> The font shows “Embedded in the PDF”. A new draft lists it under “Embedded fonts”.

## Have the CI booklet read

**1. Upload the booklet**

In the CI, choose “Upload booklet” and then a PDF or a Markdown file up to 4 MB. Mono reads the text.

**2. Check what was recognized**

“Recognized from the booklet” lists colors, fonts and rules as a proposal. None of it applies yet.

**3. Apply or discard**

“Apply for approval” puts the proposals into the CI’s draft, which the CI approvers decide. “Discard” changes nothing.

From then on, Mono checks a rule with a testable phrase, such as “Muster AG” instead of “Muster Ag”, in every document. The other rules are listed with “check” under “Guidelines”. In the chat, “Mono Admin” applies what was recognized with `ci_change` “booklet” or discards it with “booklet\_dismiss”.

## The CI check in numbers

Under Studio › Apps › “CI” › “Checks”, Mono counts what the CI check checked, corrected and held, per check and with the “Latest results”. The numbers come from the audit and are measured, never estimated. In the chat, `ci_overview` gives the same numbers.

![CI of Muster AG, “Checks” tab: checked, corrected, held and without deviation, below “Checks before sending” and “Latest results”](https://mintcdn.com/mono/rCyoy1dN0QEXZ3No/images/documents-from-templates/ci-pruefung-light.jpg?fit=max\&auto=format\&n=rCyoy1dN0QEXZ3No\&q=85\&s=c24b367bea8aa581457ecb5dace1025b)

Studio › Apps › “CI” › “Checks” with the measured counters (German UI)

> [accordion] How the CI check handles a draft
>
> Every check has its mode. With “correct”, Mono fixes the deviation in the draft and says what it changed. With “hold”, the draft cannot be saved until a new draft passes the check. With “report only”, Mono notes the deviation.

> [accordion] The footer and the language
>
> The footer “Page 1 of 2” is in the document’s language, for example “Seite 1 von 2” or “Page 1 sur 2”, in the PDF and in the Word document. If no language is given, the person’s language applies.

> [accordion] The file name is already taken
>
> If the name already exists in the share, Mono saves the document next to it with “ (2)” and names the new file. The Markdown source takes the same name as the PDF.

> [accordion] What admins do after the update
>
> In ChatGPT, refresh the tools in the settings of the tenant server’s app so that “Read a system” shows the card of a draft. Claude picks it up by itself.

## What Mono never does

* Mono never saves without the person’s confirmation in the card, in the Inbox or in the Console. The AI client cannot do it for them.
* Mono never overwrites a file. Every save is a new file.
* Mono never saves a draft to a share with a lower data class. A draft has the highest class of its template and sources.
* Mono never reads a template with more rights than the person. Mono withholds a template above the AI client’s data class.
* Mono never embeds a font whose license or file does not allow it.
* A proposal from the booklet never applies before the CI approvers approve it.

## Limits

* A draft is valid for 7 days and only for the person who made it. Then the Node deletes it.
* You draft a numbered document (quote, invoice …) at once, with a watermark. It is saved or sent only once the sender and – for the QR bill – the IBAN are approved in the CI.
* Templates are Markdown. Mono does not read Word templates yet.
* Word (.docx) is a download in the Console only. Mono saves the PDF and the Markdown source to a share. Word does not embed fonts.
* A template has at most 60’000 characters, a saved document at most 200 KB.
* Font files: TTF or WOFF up to 3 MB. Booklets: PDF or Markdown up to 4 MB. Mono cannot read a scanned PDF without text.

## If something does not work

| What you see | What helps |
| - | - |
| “Held by the CI check” | Adjust the data or the template in the chat. Mono then drafts the document again and checks it once more. |
| “No share is writable for you. An admin turns on “Save” under Connectors.” | An admin turns on “Allow saving” for a share you may use. |
| “No writable share has the data class “…” or higher. …” | The draft is classified higher than every writable share. Save it to a share of the same or a higher data class. |
| “This draft is gone. …” | The 7 days are over or the draft was discarded. Have it drafted again in the chat. |
| “Waiting for approval by …” | The business details are in the CI’s draft. Once the CI approvers approve them, you save the document with its number and without the watermark. |
| “This document still needs details in the CI: …” | Enter the sender and the IBAN under “Business details in the CI”, by click or with `ci_change` “business”. |
| “In the PDF: system font” for a font | Upload the font file and allow embedding under “License and embedding …”. If the file itself forbids embedding (fsType), the system font stays. |
| “… is not a TTF or WOFF file. …” | Upload the manufacturer’s TrueType file. |
| “… is larger than 4 MB. Mono reads booklets up to 4 MB” | Upload a smaller version of the booklet or its text as Markdown. |
| “… is neither a PDF nor Markdown. …” | Upload the booklet as a PDF or Markdown file. |

## Next

> [card] [Drives and scanner](https://mono.mintlify.site/en/admins/shares-scan-legacy.md)
>
> Connect shares and “Allow saving”.

> [card] [Groups and roles](https://mono.mintlify.site/en/admins/groups-and-roles.md)
>
> Who approves the CI.

> [card] [Approve a request from the AI](https://mono.mintlify.site/en/users/approve-a-request.md)
>
> Confirm in the card and in the Inbox.

> [card] [Manage Mono in the chat](https://mono.mintlify.site/en/admins/mono-admin-chat.md)
>
> Change the CI with “Mono Admin”.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.