> For the complete documentation index, see [llms.txt](https://manual.selarti.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.selarti.com/manual-en/external-integrations/integration-using-the-albato-service.md).

# Integration using the Albato service

[*Albato*](https://albato.ru/?_ga=2.31799486.1218008386.1736919597-1080970657.1736919399) *— one service for all integrations. Allows you to set up integrations in minutes without involving developers.*

You can set up an integration with any external service. Selarti will send a webhook to the external system when the AI agent receives contacts or consent for the target action.

For example, the AI agent has agreed on a video meeting, after which a deal will be automatically created in your CRM system, and a message with all the necessary information will be sent to the managers' chat.

### Setting up integration through the Albato service

1. Register in [**the Albato**](https://albato.ru/) service, go to the «*Connections*» and click «*Add connection*».

<figure><img src="/files/7365f5b8546b2c408924907b52954bdb49fddf20" alt=""><figcaption></figcaption></figure>

2. Choose the connection type «*Webhook*» and click «*Add connection*». Then click «Next» everywhere.

<figure><img src="/files/2c054c177045f812e8e91e57dd480bef3c66f1f9" alt=""><figcaption></figcaption></figure>

3. When the connection is created, click the «*Catch webhook*». After that you need to click «Wait for webhook».

<figure><img src="/files/0024bb91be49b7bd71b53cedaa69fd3c7b85e7ba" alt=""><figcaption></figcaption></figure>

4. Copy the link and go to your Selarti account.

<figure><img src="/files/1b78583e59c6b8213f3ecc231d1437bfbec93ba0" alt=""><figcaption></figcaption></figure>

### Settings in the Selarti account

1. In the left side control panel, go to the «[*Integration*](https://selarti.com/panel?menu=integration)», in the top right click «*Create integration*». Choose the integration type «*Albato*».

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

2. Enter your name, then paste the link copied from the Albato account. Click «*Send test webhook*»*.*

<figure><img src="/files/WE5aXpxkjpBpCzKzHI9T" alt="" width="464"><figcaption></figcaption></figure>

If you did everything correctly, Albato will display available fields, and the entered link in Selarti will be highlighted green.

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

3. Select the required tags and click «*Create integration*»*.*

<figure><img src="/files/tr9Gjw4LWqjp5u7tq9CS" alt="" width="464"><figcaption></figcaption></figure>

### Adding a webhook in the Albato service

1. Go to Albato, in the «My flows» section click «Create new flow»*.* The flow builder will open.

<figure><img src="/files/3d0b6329ed074919ab6abeffe53b7581c4d3d0a9" alt=""><figcaption></figcaption></figure>

2. Add the webhook created above as a trigger and click «*Add trigger*»*.*

<figure><img src="/files/0e574a6474d6575e5369b114146eeb3857ab1a6b" alt=""><figcaption></figcaption></figure>

3. Create an action. There can be many options, Albato supports a large number of actions. More about each setting [**here**](https://blog.albato.ru/category/instrukczii/)**.**

Done!

#### Example of setting up a notification in Telegram

1. After creating the action, choose the necessary settings and click «*Add action*».

<figure><img src="/files/7ebf1c95cbb149072994d04d0a4ba18cd514d908" alt=""><figcaption></figcaption></figure>

A window with settings will open, make the necessary settings and click «*Save*»*.*

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

After you configure the actions, click the «*Run*»*.*

<figure><img src="/files/22186100000ab314cb2a234a261299948595f8ff" alt=""><figcaption></figcaption></figure>

### Description of webhook fields

<mark style="color:purple;">**`title`**</mark> — dialog title (First Name Last Name/profile name).\ <mark style="color:purple;">**`contacts`**</mark> — interlocutor's contacts. Phone, username.\ <mark style="color:purple;">**`success`**</mark> — the AI agent marked the dialog as successful (yes/no).\ <mark style="color:purple;">**`get_contact`**</mark> — the AI agent obtained additional contacts of the interlocutor (yes/no).\ <mark style="color:purple;">**`close`**</mark> — dialog closed (yes/no).\ <mark style="color:purple;">**`is_bot`**</mark> — dialog identified as a bot (yes/no).\ <mark style="color:purple;">**`share_url`**</mark> — link to view the dialog.\ <mark style="color:purple;">**`company_id`**</mark> — Company ID.\ <mark style="color:purple;">**`task_id`**</mark> — Task ID.\ <mark style="color:purple;">**`thread_id`**</mark> — Dialog ID.\ <mark style="color:purple;">**`dialog`**</mark> — AI dialog with the user as text.

We can add additional fields from the list of standard ones. If you think there are fields that all clients need — write to [support](https://t.me/selarti_support_bot).\
You can add custom fields for yourself using [custom API](/manual-en/main-sections-of-the-service/ai/ai-functions.md).
