# Importing Intents From File

[Intents ](https://docs10.xenioo.com/ai/intents)and [expressions ](https://docs10.xenioo.com/ai/expressions)can be massively imported from a file to avoid manual creation on every new chatbot and speed up each training phase.&#x20;

The import file must be a comma delimited CSV file using some or all of the columns specified below.

| Column                 | Description                                                                                | Required |
| ---------------------- | ------------------------------------------------------------------------------------------ | -------- |
| key                    | The key of the intent                                                                      | No       |
| name                   | The name of the intent. If the intent exist, it will be overwritten.                       | Yes      |
| locale                 | The locale of the intent, according to the table below                                     | Yes      |
| expression             | Expression associated to the intent.                                                       | Yes      |
| activation             | The activation mode of the intent.                                                         | No       |
| activation\_confidence | The confidence of the automatic or reply activation, expressed with a number from 0 to 99. | No       |
| auto\_reply            | The text that should be used as a direct reply when automatic activation is detected       | No       |
| behaviour              | The name of the target behaviour when using automatic redirection                          | No       |
| interaction            | The name of the target interaction when using automatic redirection                        | No       |

*All imports are additive to the currently existing intents and expressions.*

The file **must** contain column names. The import will start from the second line as the first line is assumed to contain column names. If your file is using special characters such as grave, acute accents or other symbols make sure that the physical file encoding is set to *UTF-8*.

Locale string must be specified according to the following table:

| Locale | Language |
| ------ | -------- |
| en     | English  |
| es     | Spanish  |
| de     | German   |
| it     | Italian  |
| fr     | French   |


---

# 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://docs10.xenioo.com/ai/testing-and-verifying/importing-from-file.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.
