# Actions TravelLine

Before adding actions [**connect TravelLine**](<../../integrations/other-integrations/TravelLine.md>) and make sure the accommodation is displayed in **Integrations**.

## Setting up the bot

1. Open the right bot.
2. Go to **Integrations and actions**.
3. Add the desired TravelLine action.
4. Select a connected accommodation facility.
5. Save the action and changes of the bot.

## Get information about the hotel

The bot receives relevant information about the selected object:

- name and address;
- contacts;
- Residence rules and other available information.

Use the action to answer general questions about the hotel. Ask the bot to rely on the TravelLine result and not invent missing information.

## Find available rooms

The bot searches for free numbers and rates according to the following data:

- date of arrival;
- date of departure;
- Number of adults;
- The age of each child, if the guests are children.

In response, TravelLine returns available options and a secure link to the booking page. The guest completes the booking in TravelLine.

Recommended scenario:

1. Clarify the dates of stay and the composition of guests.
2. Perform a search.
3. Offer only options from the TravelLine result.
4. Give the guest a link to design the selected number.

!!!note
Availability and rates may change after the bot responds. The final terms are displayed on the TravelLine booking page.
!!!

## Check reservations

The action receives the status of existing armor. To check, you need:

- the exact booking number;
- Guest's name.

The name must match the data of the customer or one of the guests of the reservation. If the name does not match or if there is no reservation, the action returns the same safe response and does not disclose personal data.

Add to the bot's instruction the rule:

> Check the booking only after the guest has provided his exact number and surname. Do not disclose personal data and do not guess the status if TravelLine has not confirmed the reservation.

## What integration doesn't do

Actions TravelLine is read-only. The bot cannot create, change or cancel a reservation. For registration, he transmits the TravelLine link to the guest, and for change or cancellation, he recommends contacting the hotel employee or using the method provided by TravelLine.
