# Connecting Avito

Integration transmits incoming customer messages from Avito to the bot. In the script, you can use the name, price and link of the ad.

## Before connecting n

Prepare your Avito account details and make sure you have the right to give ChatRex access to that account’s messages.

## Connection

1. Open **Integrations**.
2. Press **Connect integration**.
3. In the **Channels** tab, select **Avito**.

4. Press **Connect**.
5. On the Avito page, log in to your account and confirm ChatRex access.
6. After returning to ChatRex, make sure the status has changed to **Connected**.

## Advertisements

In the channel settings, you can transfer the bot:

- name of the announcement;
- price;
- link to the ad.

These values are available as variables in prompts and actions. Do not ask the customer to repeat information that has already come from Avito.

## Running for Certain Ads

On the **Channels and Start** tab, add the condition **Advertisement → Ad name** and select the appropriate operator:

- **Equal** or **Not equal** for the exact name;
- **Contains** or **Does not contain** for part of the name.

If the bot must respond to all ads, do not add a limiting condition.

## Appointment and verification

1. Open **My Bots → Change → Channels and Launch**.
2. Add the connected Avito and save the changes.
3. Send a test message to the ad.
4. Check the response and the ad values in the processing history.

If ChatRex Lite is used, Avito’s settings may also have amoCRM transaction settings available.

!!!note
The terms of different bots should not overlap. Otherwise, one Avito appeal can suit several scenarios at once.
!!!
