> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/administration-and-setup/settings/global-settings/company-information/settings-assistant/settings-assistant-chat.md). Agents can also search and read this documentation through its [MCP server](https://docs.docbits.com/~gitbook/mcp).

# Settings Assistant: What the Chat Can Do

## Overview

The chat of the **Settings Assistant** answers questions about your settings, warns you when an import stops working, and, with your confirmation, changes a setting for you. Before you use it, an administrator has to [turn the assistant on](https://docs.docbits.com/administration-and-setup/settings/global-settings/company-information/settings-assistant.md).

### What it can do

| You want to…             | Example                                               | What you get                                                                                                                  |
| ------------------------ | ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Find a setting           | "Where do I find the email import settings?"          | The path (for example Settings / Import), an **Open setting** button that jumps to the setting and highlights it              |
| Understand a setting     | "How do I enable barcode detection?"                  | A short explanation of each matching setting: when to switch it on, when to leave it off                                      |
| Check your configuration | "Why isn't PO matching active?"                       | The current value of each related setting in your organisation (**Current: On** or **Current: Off**) and which one blocks you |
| Spot a broken import     | A red card at the top of the panel                    | Which mailbox or FTP connection fails, how often, and a likely reason                                                         |
| Change a setting safely  | **Switch off** on a failing mailbox in a finding card | A preview of the change. Nothing is saved until you confirm. Every change can be undone.                                      |
| Learn a page             | **Watch video explanation**                           | A short video for the page you are on (available for selected pages)                                                          |

{% hint style="info" %}
The assistant runs on the **Fast** AI tier. There is no organisation setting to choose a different model.
{% endhint %}

## Ask questions

Type a question in the field at the bottom ("Ask a question about your settings…") and press **Enter**. The assistant shows what it is doing ("Reading configuration…", "Searching documentation…", "Writing answer…") and you can stop it at any time with **Stop**.

### The panel knows which page you are on

When you open the panel on a settings page, it greets you for **that page** and offers three questions that fit it. These are real examples:

| Page                | Example questions                                                                                                                                 |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Company Information | "How do I change our company address?", "Where do I upload our logo?", "Which domains are registered for our organization?"                       |
| Import              | "Is email import active for us?", "Which email address do we send documents to?", "How do I set up an FTP or SFTP import?"                        |
| Classify & Extract  | "Which AI model is used for extraction?", "Is splitting documents on barcodes active for us?", "Can I use a different AI model for one supplier?" |
| Users               | "How do I invite a new user?", "How do I make a user an administrator?", "How do I deactivate a user?"                                            |
| Settings overview   | "How do I enable barcode detection?", "Why isn't PO matching active?", "Where do I find the email import settings?"                               |

Click a question and it is sent immediately. Below the three questions the panel says *I can also help with any other setting — just ask.* During a conversation, the chip **Help with this page** stays at the bottom and asks "What can I configure on this page?".

### Example 1: Find a setting

You ask **"How do I change our company address?"**

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-7ba474b7618737c6f31ad5577ea9b658a91d2513%2Fsettings-assistant-answer-company-address.png?alt=media" alt="The assistant answers with the path to the company address and an Open setting button"><figcaption><p>The answer names the place, and the card gives you the exact path and an <strong>Open setting</strong> button.</p></figcaption></figure>

The answer says where the address lives. The card below shows the path (**Settings / Company Settings**) and the **Open setting** button. Click it: DocBits opens the page, scrolls to the setting and highlights it for a few seconds.

### Example 2: Understand a setting that has several names

You ask **"How do I enable barcode detection?"**

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-c4d02698e3b5d837c948f2e47703d5890fa9b601%2Fsettings-assistant-answer-barcode.png?alt=media" alt="The assistant explains the three barcode settings and when to enable each"><figcaption><p>When a word fits several settings, the assistant lists each one with <strong>Enable when</strong> and <strong>Leave off when</strong>.</p></figcaption></figure>

"Barcode detection" can mean three different settings, so the assistant asks *Did you mean: QR Code Extraction, Barcode Assignment, or Split Document on Barcode?* and explains each:

* **QR Code Extraction**: reads supported barcodes and QR codes automatically during processing. Enable it when your documents carry useful codes.
* **Barcode Assignment**: lets a reviewer assign decoded barcode values to fields by hand during validation. It needs extraction to detect the code first and does not make processing touchless.
* **Split Document on Barcode**: splits one uploaded file into separate documents at separator pages. Use it only when the separator codes are reliable.

### Example 3: Find out why something does not happen

You ask **"Why isn't PO matching active?"**

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-a8b6ead21a9dda2391b47d185dc0661fea3c9d5a%2Fsettings-assistant-answer-po-matching.png?alt=media" alt="The assistant shows the current value of each PO matching setting"><figcaption><p>For a "why" question the assistant reads your configuration and shows each setting with its <strong>Current</strong> value.</p></figcaption></figure>

The assistant reads the settings of your organisation and reports what it found. In this example PO Matching is **On** for all four document types, and the setting **Auto export if PO matched 100%** is **Off**, so automatic matching and export do not run. Each card shows **Current: On / Off** and an **Open setting** button, so you can fix it right away.

### Example 4: PO matching

You open **Settings → Document Types** and ask **"Is PO matching active for invoices?"** (this question is also one of the three suggestions on that page).

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-84fd40e44ecd0a62712e10057664c44b2c3a51db%2Fsettings-assistant-in-document-types-po-matching.png?alt=media" alt="The Document Types page in Settings with the Settings Assistant on the right, answering that PO matching is on for invoices and showing three related settings"><figcaption><p>The <strong>Document Types</strong> page with the assistant on the right. The answer says <strong>PO Matching is active for invoices in your organisation</strong> and shows three related settings: <strong>PO Matching</strong> (Current: On), the <strong>PO match rules</strong> and <strong>Auto export if PO matched 100%</strong> (Current: Off).</p></figcaption></figure>

The assistant reads the setting for the document type and adds the settings that belong to it. In this example matching is on, but automatic export after a 100 % match is off, so matched invoices still wait for a person. Each card has an **Open setting** button.

* For the **matching rules and tolerances** use the page [Purchase Order Matching Rules](https://docs.docbits.com/administration-and-setup/settings/global-settings/document-types/more-settings/purchase-order/purchase-order-matching-rules.md).
* To see **why documents of a supplier do not match** open [Touchless Intelligence: PO Matching Diagnosis](https://docs.docbits.com/administration-and-setup/analytics-dashboard/touchless-intelligence/touchless-po-matching-diagnosis.md). It shows the reason, the affected documents and the decision flow.

### Example 5: Field validation (custom validation rules)

On the page **Settings → Document Types → Custom Validation Rules** the panel greets you for this page and suggests three questions.

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-ea961b0ea5b966f03a8915df770b4fb74bfc93a5%2Fsettings-assistant-in-custom-validation-rules.png?alt=media" alt="The Custom Validation Rules page in Settings with the rule list in the middle and the Settings Assistant with three suggested questions on the right"><figcaption><p>The <strong>Custom Validation Rules</strong> page with the assistant on the right. The list of rules is in the middle, the three suggestions of the panel are: <strong>Which validation rules exist for this document type?</strong>, <strong>How do I create a new validation rule?</strong> and <strong>What happens when a validation rule fails?</strong></p></figcaption></figure>

Use the assistant here to **find** the right setting and to learn what a rule does. To **create or change** a rule, work on the page itself: see [Custom Validation Rules](https://docs.docbits.com/administration-and-setup/settings/global-settings/document-types/custom-validation-rules.md) and [Duplicate a Custom Validation Rule](https://docs.docbits.com/administration-and-setup/settings/global-settings/document-types/duplicate-a-custom-validation-rule.md). If the assistant creates a rule for you, the rule is always created **inactive**, and you switch it on yourself.

{% hint style="info" %}
Do not confuse **Custom Validation Rules** (rules for the fields of a document type) with **E-Invoice Validation** (the check of XRechnung, ZUGFeRD and Factur-X files). They are two different pages.
{% endhint %}

### Example 6: More questions to try

* "Which AI model is used for extraction?"
* "Is splitting documents on barcodes active for us?"
* "How do I deactivate a user?"
* "Where do I set how long documents are kept?"
* "Which settings affect the touchless rate?"
* "Show me a screenshot of the supplier portal settings."

{% hint style="info" %}
If a question is outside the settings area, or the assistant finds nothing about it in the DocBits information it has, it says so. For example, a question about something that is not a setting returns *I can't find anything about … in the DocBits information available here* together with a link to the closest page. It does not guess.
{% endhint %}

### Links and screenshots in answers

* Answers can contain **View documentation** links. They only point to docs.docbits.com and open in a new tab. Documentation links appear when the documentation search is available for your environment.
* Answers can show **screenshots** from the documentation. Click a thumbnail to enlarge it.
* **Copy answer** (the small copy icon next to an answer) copies the text.

## Findings: the assistant warns you

When something in your setup has stopped working, a **red card** appears at the top of the panel. You do not have to ask. The assistant checks again whenever you open the panel and whenever you return to the browser tab.

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-cd26156482a2622cace4dfded8b709a3865094ac%2Fsettings-assistant-finding-expanded.png?alt=media" alt="An expanded finding card showing one mailbox that is switched off after three failed attempts"><figcaption><p>An expanded finding: the mailbox, its state (<strong>Switched off</strong>), the number of failed attempts and the reason.</p></figcaption></figure>

There are currently two checks:

| Check        | Card title                                                                 | What it counts                                         |
| ------------ | -------------------------------------------------------------------------- | ------------------------------------------------------ |
| Email import | "Email import: 1 mailbox affected" / "Email import: 3 mailboxes affected"  | Mailboxes with failed sign-ins                         |
| FTP import   | "FTP import: 1 connection affected" / "FTP import: 2 connections affected" | Connections with failed connection or sign-in attempts |

Each card has three buttons:

* **Show errors** (then **Hide**): lists the affected mailboxes or connections, up to ten, with the state (**Switched off** or **Retrying**), the number of failed attempts and the reason.
* **Open import settings**: opens **Settings → Import**.
* **Help me fix this**: starts a chat. The assistant asks itself "My email import has stopped working. Can you help me fix it?" and walks you through the reason.

The summary line tells you how bad it is:

| Summary line                                             | Meaning                                                   |
| -------------------------------------------------------- | --------------------------------------------------------- |
| *Switched off: nothing is being imported from here.*     | All affected mailboxes are switched off. Nothing arrives. |
| *Still being retried, but imports are probably failing.* | DocBits keeps trying, but the sign-in does not work.      |
| *1 switched off, 2 still being retried.*                 | A mix of both.                                            |

### Reasons you may see

The assistant translates the technical error into one of these reasons:

| Reason shown                                                                                       | What to do                                                                                     |
| -------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| Sign-in blocked by policy (e.g. basic authentication disabled, or an app password/MFA is required) | Ask your mail administrator for an app password or switch the mailbox to modern authentication |
| Sign-in rejected (check username and password)                                                     | The password changed. Enter the new one in the import settings                                 |
| Mailbox or path not found                                                                          | The mailbox was renamed or deleted. Check the address or folder                                |
| Server not reachable                                                                               | Check the server name and your firewall                                                        |
| Timeout while connecting                                                                           | The server is slow or blocked. Try again later                                                 |
| Certificate or TLS connection failed                                                               | Check the encryption setting and the server certificate                                        |
| Reason could not be determined                                                                     | Open the import settings and test the connection                                               |

### Switch off or delete a failing connection

On an expanded row you can use **Switch off** (only shown if it is still on) or **Delete**. Both follow the same safe flow:

1. You click the button. The assistant asks *Switch off (name)? Nothing will be imported from this mailbox until it is switched on again.* or *Delete (name)? It is removed permanently and cannot be undone.*
2. You confirm with **Yes, switch off** or **Yes, delete**, or you click **Cancel**.
3. The result line appears: *(name) was switched off.* with an **Undo** button. A deleted connection has no **Undo**, because delete is permanent.

If someone else changed the mailbox in the meantime, you see *This mailbox was changed in the meantime. Please check it and try again.* Nothing is changed.

## Changing settings safely

The assistant never changes anything on its own. Every change follows the same four steps:

1. **Preview**: you see the setting, its scope (**Organization**) and the **current → proposed** value. Nothing is saved yet.
2. **Your confirmation**: you click **Confirm** (or **Yes**). Only an organisation administrator can do this.
3. **Result line**: the chat shows **Changed: (setting) → (value)**.
4. **Undo**: a button with a countdown (for example "14 min left") lets you take the change back within 15 minutes. The change is also recorded in the log.

**Example (illustrative).** A recommendation card for a setting the assistant is allowed to write shows an **Apply** button next to **Open setting**. Say the card is about **Auto export if PO matched 100%**. You click **Apply**. The dialog **Apply this change?** shows *Current: Off → Proposed: On*. You click **Confirm**. A message **Setting updated.** appears with an **Undo** button. If you notice a mistake within about 15 minutes, you click **Undo** and the old value is back. Cards without an **Apply** button are for navigation only: use **Open setting** and change the value yourself.

If the value changed since you opened the dialog, you see *This setting changed since you opened this dialog. Preview it again.* and nothing is applied.

### What the assistant can change

| Change                                                        | Example request (illustrative)                                   |
| ------------------------------------------------------------- | ---------------------------------------------------------------- |
| A single organisation setting (**Apply** on a recommendation) | "Switch on automatic PO match and export"                        |
| Document types on or off                                      | "Deactivate document type Delivery Note"                         |
| Rename an access group                                        | "Rename the group Buyers to Purchasing"                          |
| Search mode of a lookup field (Auto or Manual)                | "Search suppliers manually instead of automatically"             |
| Delete a field                                                | "Delete the field Cost Center"                                   |
| Create an inactive validation rule from a catalogue           | Open the page **Custom Validation Rules** and describe the check |
| Create an inactive transformation rule                        | "Create a rule that removes dashes from the supplier VAT number" |
| Switch off or delete an import connection                     | Use the buttons in the finding card                              |

### Rule drafts

If you ask for a **transformation rule**, the assistant shows a **Rule preview** first:

* the rule name and a plain sentence ("Remove dashes from the supplier VAT number"),
* the target (header field, column of a table, rows of a table, document attribute),
* a test on sample documents: **Applies to 4 of 5 samples**, with each document marked **Applies**, **Does not apply** or **Applies, no change**.

With **Create rule** you save it. The rule is created **inactive**: you activate it yourself after checking it. You can undo the creation for **15 minutes**. After that, delete the rule in the rule list. At most **10 rules per hour** can be created through the assistant.

## Video explanations

On selected pages (currently **Layouts**, **Users** and **Sub-Organizations**) the assistant offers **Watch video explanation**. The video plays in the panel, has captions and a transcript (**Show transcript**), and uses your language when a version exists.

## Limits and messages

| Message                                                               | Meaning                                                                       |
| --------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| Too many requests. Please wait a moment.                              | You sent many questions quickly. **Retry** becomes active after a short wait. |
| Available to administrators only.                                     | Your account is not an organisation administrator.                            |
| The assistant is temporarily unavailable.                             | Try again in a few minutes.                                                   |
| The assistant is taking too long to respond.                          | The answer did not start in time. Click **Retry**.                            |
| Something went wrong. Please try again.                               | A general error. The **Error ID** can be copied for support.                  |
| The assistant is being set up                                         | The feature is not yet available in your environment.                         |
| You've switched organizations — this response no longer applies here. | You changed organisation while an answer or a change was open.                |

A conversation keeps the last 50 turns in your browser. A question can have up to 4000 characters.

## Tips

* Ask for **one thing at a time**. "Where is the email import and is it on?" works better as two questions.
* Use the **page greeting**. The three questions are written for the page you are on, and they are the fastest start.
* Say **what you want to achieve**, not the name of a setting. "I want invoices to be exported without anyone looking at them" finds the right settings.
* Check the **preview** before you confirm, especially the **current → proposed** values.
* You are not sure? Use **Open setting** and look at the page. The assistant never hides where a setting lives.

## Related pages

* [Settings Assistant: Turn It On](https://docs.docbits.com/administration-and-setup/settings/global-settings/company-information/settings-assistant.md)
* [Analytics Dashboard](https://docs.docbits.com/administration-and-setup/analytics-dashboard.md)
* [DocBits MCP](https://docs.docbits.com/advanced-functions-and-tools/docbits-mcp.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/administration-and-setup/settings/global-settings/company-information/settings-assistant/settings-assistant-chat.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
