# Додатки

## Список додатків <a href="#dashboard-apps-list" id="dashboard-apps-list"></a>

**Додатки -** дозволяють користувачам вбудовувати інші свої додатки в інтерфейс NovaTalks, для надання агентами додаткової інформації про користувачів, їхні замовлення, попередню історію платежів та інше. В додаток можна передавати контекст розмови і деталі контакту/діалогу.&#x20;

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

Для додавання нового/редагування існуючого додатку необхідно обрати **Додати новий додаток/Редагувати додаток.**

***

## **Створення/Редагування Додатку** <a href="#create-edit-a-dashboard-app" id="create-edit-a-dashboard-app"></a>

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

1. **Ім'я** - назва додатку
2. **Адреса** - URL-адреса, де розміщено додаток
3. **Обрана іконка** - іконка, що буде відображатись на панелі додатків

Додатки можуть отримувати дані з NovaTalks:

* При першому запуску Додатку (event "ntk-dashboard-app-context");
* При запуску Макросу з дією Надіслати подію браузеру (Детальніше [Макроси](/ua/get-started/settings/macros.md)).

**Event Payload**

**Contact object:**

```
{
    "id": 171047,
    "name": "maria kostenko",
    "email": "mariakost1@gmail.com",
    "phone_number": "+380951111111",
    "identifier": "425809372",
    "pubsub_token": null,
    "custom_attributes": {
        "language": "en"
    },
    "additional_attributes": {
        "description": ""
    },
    "last_activity_at": 1685978084,
    "thumbnail": "",
    "availability": "offline"
}
```

**Conversation object:**

```
{
   "meta":{
      "sender":{
         "id":171047,
         "name":"maria kostenko",
         "email":"mariakost1@gmail.com",
         "phone_number":"+380951111111",
         "identifier":"425809372",
         "pubsub_token":null,
         "custom_attributes":{ },
         "additional_attributes":{
            "description":""
         },
         "last_activity_at":1685978084,
         "thumbnail":"",
         "availability":"offline"
      },
      "assignee":{
         "id":76,
         "username":"nataliia.01@company.com.ua",
         "provider":"email",
         "name":"nataliia",
         "email":"nataliia.01@company.com.ua",
         "custom_attributes":{ 
         },
         "confirmed":true,
         "available_name":"",
         "timezone":"Europe/Kiev",
         "locale":"uk",
         "deleted":false,
         "show_system_messages":false,
         "avatar_url":"http://www.gravatar.com/avatar/?d=404"
      },
      "team":null,
      "labels":[…]
   },
   "id":241013,
   "account_id":1,
   "inbox_id":4,
   "status":"open",
   "assignee_id":76,
   "contact_id":171047,
   "additional_attributes":{
      "botId":"e2a2d4a6a86b7bd0",
      "chatId":425809372,
      "contactSource":"telegram"
   },
   "custom_attributes":{
   },
   "contact_inbox_id":359628,
   "dialog_id":"ffbefa72-2f37-4785-8477-5f308d96be19",
   "identifier":"Ls8e9X1ydB2x794CWZO8GJ",
   "team_id":null,
   "campaign_id":null,
   "snoozed_until":null,
   "can_reply":true,
   "contact_last_seen_at":0,
   "agent_last_seen_at":1686078912,
   "last_activity_at":1685978084,
   "assignee_last_seen_at":1686077333,
   "timestamp":1685978084,
   "priority":5,
   "substatus":"interacting",
   "subpriority":0,
"messages":[…],
   "allMessagesLoaded":false,
   "dataFetched":true
}
```

**Current agent object:**

```
{
    "id": 76,
    "name": "nataliia",
    "email": "nataliia.01@company.com.ua"
}
```


---

# 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://help.novatalks.com.ua/ua/get-started/settings/integrations/dashboard-apps.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.
