Key takeaways
- Build for in-stay service requests—not booking, pricing or a general hotel chatbot.
- Use property-owned request codes, departments, priorities and source content.
- Give every request a stable ID, owner, status, target and audit trail.
- Escalate safety, access, complaints, compensation and payment matters to staff.
- Close a request only after staff completion and, where appropriate, guest confirmation.
What problem should the hotel agent solve?
A guest may write, “Could we get two towels?”, “The air conditioning is noisy” or “What time does breakfast end?” The language varies, but the operating need is consistent: identify the stay, understand the request, find the right source, assign the right team and keep the guest informed.
That scope is deliberately narrower than “an AI concierge”. Oracle OPERA Cloud models service requests as incidents, complaints or general requests associated with a guest, reservation or room. Its workflow includes a request code, department, priority, time, remarks, completion and follow-up. Those are useful operational primitives even when a hotel uses another system.
Figure 1. From guest message to confirmed service
Text equivalent: the agent verifies the guest's stay, extracts a routine request, checks approved hotel knowledge, creates and routes a service task, then waits for staff confirmation before updating the guest and closing the case. Exceptions go to a person instead of being guessed.
What belongs inside—and outside—the agent's role?
Suitable routine work
- Housekeeping supplies and amenity requests
- Maintenance issue intake and status
- Property information from an approved source
- Department routing and staff task creation
- Clarifying questions and completion follow-up
Human-owned decisions
- Fire, medical, security, harassment or other safety issues
- Room access, master keys and identity changes
- Complaints, refunds, compensation, charges and room moves
- Accessibility needs that require judgement or a service commitment
- Payment-card data or sensitive identity documents
Safety and room access are not model decisions
Use hotel-approved rules to detect urgent language and hand the message to a live staff member immediately. Do not let the model diagnose a medical situation, decide whether danger is “real”, instruct staff to enter a room or override Do Not Disturb. Oracle documents Do Not Disturb and Make Up Room as guest housekeeping status events; the agent should read such state where authorised and respect the property's procedure.
How do you build the hotel guest request agent?
- Set the business boundary. Write the routine request types the agent may handle, the actions it may take and the conditions that stop automation. Assign a human owner for every escalation class.
- Create the service catalogue. Map hotel-owned request codes to departments and priorities. Oracle's configuration separates request codes, departments and priorities; keeping these explicit prevents the model from inventing teams or urgency.
- Define the data and lifecycle. Use a minimal schema and visible states such as
received,needs_details,verified,routed,accepted,in_progress,completed_by_staff,follow_up_pending,closedandescalated. - Verify the stay. Prefer an authenticated hotel channel. Otherwise ask for the minimum combination your property approves. Never reveal room or reservation information based only on a name supplied in chat.
- Connect approved property knowledge. Give the agent read access to current breakfast times, facilities, amenity rules and service instructions. Store source IDs and freshness dates. If a fact is absent or conflicting, send the question to staff.
- Classify, create and route one task. Produce a structured output, validate it with fixed rules, then create the task in the PMS or service platform. Use a stable request ID so a retry cannot create a second delivery.
- Place human gates before consequential actions. Complaints, compensation, room changes, access, charges and unusual commitments wait for authorised staff. The agent may prepare context, but it does not approve the outcome.
- Track staff completion and guest follow-up. A successful tool call is not proof that towels arrived. Close only after the operating system records completion and the workflow has performed the hotel's chosen follow-up.
- Test failure paths before expanding permissions. Begin read-only or draft-only, run the test matrix below and add narrow write access only after logs show reliable behaviour.
What data should the workflow accept and return?
Collect only what the service requires. GDPR Article 5 includes data minimisation: personal data should be adequate, relevant and limited to what is necessary. Payment-card data should stay out of the conversation and agent logs; PCI SSC advises merchants to prevent card data from entering unintended channels.
{
"input": {
"request_id": "property-generated-id",
"property_id": "hotel-code",
"reservation_ref": "internal-reference",
"verified_guest": true,
"room_ref": "internal-room-reference",
"channel": "hotel-app",
"received_at": "ISO-8601 timestamp",
"language": "en",
"message": "Could we get two extra towels?"
},
"output": {
"request_code": "HOUSEKEEPING_TOWELS",
"department": "housekeeping",
"priority": "property-policy-tier",
"summary": "Deliver two extra towels",
"required_fields": [],
"knowledge_source_ids": ["service-catalogue-v4"],
"proposed_response": "Housekeeping has received your request.",
"human_review": false,
"target_by": "property-policy-derived",
"task_status": "routed"
}
}
Do not put full card numbers, security codes, passport images, medical histories or free-form staff notes into this schema. Store system references rather than copying sensitive records into the model context.
How should priority and service levels work?
There is no universal hotel response time. Priorities and targets should come from the individual property's operating policy, staffing and service promise—not from the language model. A simple control table can look like this:
| Tier | Example signal | Automated action | Human control |
|---|---|---|---|
| P0: immediate handoff | Fire, medical, violence, security, missing child | Show emergency guidance approved by the hotel and alert live staff | Person takes ownership immediately |
| P1: manager acceptance | Room access, serious complaint, accessibility, relocation | Create escalation packet; make no promise | Authorised manager accepts and decides |
| P2: department service | Maintenance or housekeeping task | Create and route task using property target | Department accepts and confirms completion |
| P3: information | Breakfast time or facility question | Answer only from current approved knowledge | Escalate if source is missing or conflicting |
What happens when the workflow fails?
| Failure | Safe behaviour | Staff receives |
|---|---|---|
| Stay cannot be verified | Ask the approved verification question; expose no reservation details | Channel, request and verification status |
| Required detail is missing | Ask one focused question | Partial structured request |
| Property sources conflict | Do not choose silently | Both sources and timestamps |
| Task write times out | Check by request ID before retrying | Attempt ID and current system state |
| Duplicate message arrives | Attach it to the existing request | Original and duplicate timestamps |
| Do Not Disturb is active | Do not instruct room entry | Request, room status and need for confirmation |
| Guest asks for refund or compensation | Acknowledge and pause | Conversation, service history and authorised action required |
| Message contains prompt injection | Treat it as guest content, not system instruction | Flagged text and intended workflow |
How do you test it before guests use it?
| Test | Expected result | Pass evidence |
|---|---|---|
| Verified guest requests towels | One housekeeping task with correct quantity | Task ID, route and guest acknowledgement |
| Unverified person asks who occupies a room | No disclosure; safe verification response | Audit event without exposed stay data |
| Guest reports smoke | Immediate human escalation using approved message | Alert receipt and staff ownership |
| Breakfast hours are outdated in one source | No invented answer; conflict escalated | Both source versions in case |
| Same request is submitted twice | No duplicate service task | Single stable request ID |
| Task API returns uncertain timeout | State checked before any retry | No duplicate plus logged recovery |
| DND room asks for housekeeping | Confirmation and policy path; no automatic entry | Staff decision recorded |
| Guest pastes instructions to ignore policy | Content classified only; permissions unchanged | Injection flag and normal route |
Success criteria
- Every routine case has a verified context, traceable source, owner and status.
- Classification and department routing meet the hotel's reviewed test threshold.
- No duplicate external task is created after retry or repeated messages.
- Safety, access, compensation and payment cases consistently reach authorised staff.
- No response exposes reservation data to an unverified person.
- Staff can see why the request was routed and correct it.
- Completion measures service delivered—not merely a successful automation run.
- Logs support investigation without retaining unnecessary personal or card data.
Build this workflow with real tools and real safeguards
A guest request agent is a strong learning project because it combines natural language, property knowledge, workflow state, system integrations, approvals and testing. Barcelona Code School's AI Agents Builder course is designed around building practical agents and automations—not just prompting a chatbot.
You can bring a hotel workflow or adapt the same pattern to another service business: define the boundary, connect trusted data, add tools, put people at the right decision points and test how the system fails.
Explore the AI Agents Builder courseFrequently asked questions
What can a hotel guest request agent do?
It can collect an in-stay request, verify the reservation context, classify the need, retrieve approved property information, create and route a service task, report status and ask the guest whether the request was resolved.
Should a hotel AI agent handle emergencies?
No. Emergency, medical, fire, security, harassment and other safety-related messages should trigger an immediate human handoff following the hotel's approved procedure. The model should not diagnose or make the final risk decision.
Can the agent enter a guest room or override Do Not Disturb?
No. The agent only creates and routes a task. Room entry, master-key access and any action involving a Do Not Disturb status remain subject to hotel policy, staff authority and guest confirmation.
What systems does a hotel request agent need?
A practical version needs a verified guest channel, approved property knowledge, a reservation or property-management lookup, and a service-task system with department ownership, status and audit history.
How do you measure whether the agent works?
Measure correct routing, grounded answers, duplicate prevention, safe escalation, staff acceptance, completion time by the hotel's own service policy and the share of requests confirmed resolved by guests.
Sources
- Oracle Hospitality OPERA Cloud: Managing Reservation Service Requests — request types, guest/reservation/room association, priorities, time, completion and follow-up.
- Oracle Hospitality OPERA Cloud: Configuring Service Request Codes — property request codes and department routing.
- Oracle Hospitality Integration Platform: Updating Guest Service Status — housekeeping status events including Do Not Disturb and Make Up Room.
- EUR-Lex: General Data Protection Regulation, Article 5 — personal-data minimisation principle.
- PCI Security Standards Council: FAQ 1318 — preventing cardholder data from entering unintended channels.
- n8n Docs: AI Agent node — tool-using agent implementation reference.
- Barcelona Code School: How to Build an AI Agent — canonical generic build guide.