# Predefined sources

## Create a predefined source

1. Click on the <mark style="background-color:purple;">+</mark> button to add a new source.

<figure><img src="/files/BhQ3TGMKTJ1Ppd0wy8Y7" alt=""><figcaption></figcaption></figure>

2. Fill in the following fields :

* **Nom (optional)**: If left blank, it will be automatically filled with the name of the indicator you choose.
* **Unit (optional)**
* **Max items (optional)**: Sets the maximum number of items (from 3 to infinity) to be displayed in your report.
* **Indicator (mandatory)**: Select from the dropdown the type of data you wish to track.
* **Inner loop (optional)**: Allows you to categorize the data source (indicator) into different categories such as language, consultation space, or Livechat operator skills.
* **Restriction (optional)**: Allows you to restrict the data source based on a predefined dimension.

> Note: An indicator can use only **one** **loop** but can have **multiple restrictions**.

<figure><img src="/files/SACIITgHOW24rqjIrTVL" alt=""><figcaption></figcaption></figure>

3. Once completed, your predefined source is automatically saved and can now be used to create your alert.

## Delete a predefined source

{% hint style="warning" %}
You cannot delete a source that is being used in an alert.
{% endhint %}


---

# 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-en.dydu.ai/custom-analytics/configuration/predefined-sources.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.
