How do I write rules the AI must follow?
Rules are the second source of knowledge. While your listing describes the property itself, rules describe how you want to run it — your policies, your procedures, and your preferences. Rules tell the AI what to do, not just what exists.
Workspace-wide rules
Workspace rules apply to every listing in your workspace. Use them for policies that are the same across your whole operation, so you don't have to repeat yourself for each property.
Example workspace rules:
- "Always confirm check-in time 24 hours before arrival."
- "Offer late checkout to returning guests if the calendar allows it."
- "Never discuss pricing or discounts without a manager."
- "Send a goodbye message the morning of checkout with the wifi note."
Anything that's true for all your properties belongs here. It saves you from maintaining the same rule in several places.
Per-listing rules
Per-listing rules apply to one listing only. Use them for anything unique to a specific property — something that would be wrong or confusing if applied everywhere.
Example per-listing rule:
- "Unit 3 has a shared pool — pool hours are 7AM-9PM."
- "The parking space fits compact cars only; tell guests with SUVs to use the street."
- "This unit's AC remote is in the drawer under the TV."
If a policy is true for exactly one unit, it's a per-listing rule. If it's true for all of them, it belongs at the workspace level.
Writing good rules
Rules have a few simple constraints:
- 3 to 500 characters long.
- One instruction per rule — split compound rules into separate rules so each can be maintained independently.
- Be specific and unambiguous — vague rules produce vague replies.
- State the policy AND the response you want — say what's true, and how you want the guest to be told.
Before and after examples:
| Before | After | | --- | --- | | "Guests can check in anytime." | "Check-in is from 3PM to 10PM. If a guest arrives later than 10PM, tell them the keybox code and the step-by-step entry instructions." | | "Be nice to guests." | "Greet every guest with a warm welcome message including the wifi name and password." | | "No smoking." | "Smoking is not allowed inside the unit. Tell guests they may smoke on the balcony and that the smoke detector is active." |