> For the complete documentation index, see [llms.txt](https://docs.guestway.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guestway.io/reservations-and-operations/room-assignment/how-to-set-up-automatic-room-assignment.md).

# How to set up automatic room assignment

This guide shows you how to set up automatic room assignment, test it, and turn it on for your properties.

{% hint style="info" %}
**Before you start**

* The admin or operator role.
* A connected PMS with room types.
  {% endhint %}

## Name and scope the configuration

{% stepper %}
{% step %}

### Add a configuration

Go to **Settings** → **Room Assignment**, and click **Add configuration**.
{% endstep %}

{% step %}

### Name it and choose the properties

Fill in the **Name**, for example *Amsterdam – default*. Under **Where this applies**, choose all properties, or specific complexes or multi-units. You cannot choose a single listing.

To make exceptions, create one general configuration first, then more specific ones.
{% endstep %}
{% endstepper %}

## Enable and test the configuration

{% stepper %}
{% step %}

### Start in testing mode

Turn on **Enabled** and **Testing mode**. Guestway shows which room it would choose, without sending anything to your PMS.
{% endstep %}
{% endstepper %}

## Choose the trigger and the logic

{% stepper %}
{% step %}

### Choose the trigger

Under **Assignment trigger**, choose **On booking confirmation**, **Days before check-in** or **On check-in day**, and set the days or hours.

If rooms must be clean before they are assigned, choose **On check-in day** and turn on **Wait until unit is clean**.
{% endstep %}

{% step %}

### Set the cleaning time

Under **Cleaning time needed**, set the **Preferred minimum cleaning time**.
{% endstep %}

{% step %}

### Choose the placement strategy

Choose **Best fit**, **Least recently used** or **Completely random**.
{% endstep %}

{% step %}

### Go live

When the test results are right, turn off **Testing mode**, and save.
{% endstep %}
{% endstepper %}

## Troubleshooting

<details>

<summary>Can I still assign a room by hand?</summary>

Yes. Assign it in your PMS before the trigger moment. Guestway skips reservations that already have a room.

</details>

<details>

<summary>I changed the room in my PMS after Guestway assigned it. Will Guestway change it back?</summary>

No. Your change stays. If you remove the room, assign a new one by hand.

</details>

<details>

<summary>The dates of a reservation changed after a room was assigned. What do I do?</summary>

Check in your PMS that the room still works for the new dates.

</details>

<details>

<summary>How do I stop automatic assignment for one property?</summary>

Create a configuration for that property, and turn off **Enabled**. The organization-wide rule then does not apply to it.

</details>

<details>

<summary>What do I do when a room assignment failed?</summary>

Open the **Room assignment failed** message in the conversation, and read what it says.

* If your PMS did not accept the room, you do not have to do anything. Guestway tries again automatically, within about 10 minutes.
* If your PMS did not answer in time, Guestway does not try again for this reservation. Check the reservation in your PMS, and assign the room by hand if it has none.

</details>

## Related

* [Room assignment](https://docs.guestway.io/reservations-and-operations/room-assignment.md): all fields and rules.
* [About room assignment](https://docs.guestway.io/reservations-and-operations/room-assignment/about-room-assignment.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.guestway.io/reservations-and-operations/room-assignment/how-to-set-up-automatic-room-assignment.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
