What it's for
Oracle OPERA Cloud is the property management system many hotels run on. HeyServo connects to it through Oracle's Hospitality Integration Platform (OHIP), using a bridge HeyServo hosts. Once connected, Saffron Bay Concierge can tell a guest which rooms are free next weekend and at what rate, look up their booking by confirmation number, tell them their balance, and, with booking changes allowed, make the reservation itself.
Everything comes live from OPERA: the assistant only quotes what OPERA returned, and never invents availability, prices or confirmation numbers.
Before you start
- An OPERA Cloud tenant with OHIP access, and an OHIP application in the Oracle Hospitality Developer Portal, with its application key, client ID and client secret.
- The gateway URL of your environment, from the Environments page of the Developer Portal.
- The property codes of the hotels the assistant should work with, each granted to your OHIP application.
- The gateway must be on the public internet. HeyServo never connects to a private address for OPERA.
- The Connect tools and integrations permission.
Connect OPERA
GoalAn OPERA account in the workspace library, its properties checked, attached to your hotel's assistant.
- 1
Open Integrations and click Connect on the Oracle OPERA Cloud card
Or connect from the assistant's ToolsConnect something new.
- 2
Give it an Account label
For example
Saffron Bay, useful if you connect several tenants. - 3
Fill in Oracle gateway
Paste the gateway URL and choose the Environment.
- 4
Fill in Credentials
Pick the authentication and paste the application key, client ID and secret.
- 5
Fill in Properties
The property codes, and a default property if you have several.
- 6
Choose the assistant under Attach to, then click Connect
HeyServo runs the pre-flight check. Nothing is saved until it passes.
- OHIP gateway URLText
- The Gateway URL value on your Environments page in the Oracle Hospitality Developer Portal: the host only, starting
https://, for examplehttps://<tenant>.hospitality-api.<region>.ocs.oc-test.com. Not the address of the Developer Portal page that shows it.Limit Required. https, a public host, no path - EnvironmentChoice
- Shown on the card so nobody mistakes a UAT tenant for live bookings.Default
ProductionOptionsProductionTest / UAT
- AuthenticationChoice
- How HeyServo signs in to Oracle.Default
OAuth client credentials (recommended)OptionsOAuth client credentials (recommended)Integration user (legacy password grant) - Application key (x-app-key)Text
- From your OHIP application in the Developer Portal. Encrypted at rest and only sent to the OPERA bridge HeyServo hosts.Limit Required
- Client IDText
- From your OHIP application.Limit Required
- Client secretText
- Encrypted at rest.Limit Required
- OAuth scopeText
- Client credentials only. Oracle's standard OHIP scope is filled in; only change it if your Developer Portal or OCIM shows a different one.Default
urn:opc:hgbu:ws:__myscopes__ - Enterprise IDText
- Client credentials only. Only if Oracle gave your tenant one.Default
Optional - Integration usernameText
- Integration user only.Limit Required for that method
- Integration passwordText
- Integration user only. Encrypted at rest.Limit Required for that method
- Property codesList
- OPERA property codes, comma separated, for example
JBR01, CRK01. Upper-cased and de-duplicated for you. Each is checked against your tenant when you connect.Limit Required. Letters, digits, - and _, up to 20 characters each - Default propertyText
- Used when a guest doesn't name a property. Must be one of the codes above.Default
The first code - External system codeText
- Advanced. Only if your OHIP application requires
x-externalsystemon reservation calls.DefaultOptional
The pre-flight check
When you click Connect, HeyServo signs in to your gateway with these credentials and looks up every property code, before anything is saved. If any part fails, you see what to fix and nothing is stored. When it passes, the account is saved with the properties OPERA confirmed: name, code, time zone, currency, check-in and check-out times, and room types.
| You see | What to do |
|---|---|
That doesn't look like an OHIP gateway URL | Copy the Gateway URL value from your Environments page: the host only. |
enter just the gateway host | You pasted a page address with a path. Keep only https:// and the host. |
Oracle didn't answer at that gateway URL. | Check the URL and that the tenant is active, then try again. |
Oracle rejected the application key. | Copy x-app-key from your OHIP application. |
Oracle rejected the sign-in | Oracle's own words follow: check the client ID and secret, or the integration user. |
This integration isn't allowed to access property {code}. | Add the property to the application in OCIM, or remove it from the list. |
Oracle refused the API call after issuing a token | Usually the application isn't subscribed to the right API, or the scope is wrong. Oracle's message says which. |
Oracle is rate-limiting this tenant right now. | Wait a minute and try again. |
must be one of the property codes above | The default property isn't in the list of property codes. |
invalid property code | A code has characters OPERA codes can't have. |
What the assistant can do
| Tool | Type | What it does | Can be cached |
|---|---|---|---|
opera_get_hotel_details | Read-only | The hotel's details: name, time zone, currency, check-in and check-out times, room types | Yes |
opera_list_rate_plans | Read-only | The hotel's rate plans | Yes |
opera_check_availability | Read-only | Live availability and rates for dates and guests | Yes |
opera_find_reservations | Read-only | Finds a booking, by confirmation number or by the guest's name and arrival date | Never |
opera_get_reservation | Read-only | One booking's details | Never |
opera_get_folio_balance | Read-only | A booking's balance | Never |
opera_find_guest_profiles | Read-only | Looks a guest up | Never |
opera_create_reservation | Write | Books a reservation | Never |
opera_modify_reservation | Write | Changes a reservation | Never |
opera_cancel_reservation | Write | Cancels a reservation | Never |
- Quotes only what OPERA returned.
- Asks for the confirmation number, or the guest's name and arrival date, before looking up a booking.
- Shares a booking's details only with the person who identified it.
- Says the property system is unavailable and offers a person if OPERA fails or is busy, and retries at most once.
- Reads back payment card numbers, even partly, or asks for them in chat.
- Volunteers other guests' details.
- Checks guests in or out, takes payments or gives refunds: those are never available.
Booking changes
A new OPERA account is read-only. When a guest asks to book, change or cancel, the assistant explains that a member of staff will do it and offers to connect them with a person. To let the assistant make these changes itself, switch on Allow booking changes on the integration's page for an assistant, or Allow changes in the account's Permissions on Integrations.
GoalThe assistant books, changes and cancels reservations itself.
- 1
Open the assistant's Tools and click the Oracle OPERA Cloud card
- 2
Under Agent permissions, switch on Allow booking changes
It asks Allow booking changes?: the assistant gets three more tools for the listed properties and acts on the live system.
- 3
Click Allow booking changes
You see
Booking changes enabled. The three booking tools appear in the tools list.
- Before booking, the assistant reads back the arrival date, departure date, number of adults and children, room type and rate plan, and waits for a clear yes.
- Before changing or cancelling, it restates the reservation it is about to change and confirms.
- It gives the guest the confirmation number OPERA returns, exactly.
- The setting belongs to the account, so it applies to every assistant the account is attached to. Switching it off shows
Booking changes disabledand the assistant is read-only again.
Guest data in diagnostics
Redact guest data in diagnostics is on from the start for OPERA. In traces and webhooks, tool inputs and results are replaced with placeholders: names, emails, phone numbers, confirmation numbers and reservation IDs are hidden, and a result shows as [redacted: N chars]. What stays visible: the property code, arrival and departure dates, adults, children, rooms, room type, rate plan code, limit and status.
The integration's page
- ConnectionShown
- Gateway, Environment (Test or Production), Authentication, Tools, Properties, Validated and Connected. Secrets are never shown.
- PropertiesShown
- The properties this connection may read, as confirmed by the last check: Property, Code, Time zone, Currency, Check-in / out, Room types (each with how many it sleeps and how many rooms).
- Agent permissionsShown
- Allow booking changes and Redact guest data in diagnostics.
- ReconnectButton
- Reconnect Oracle OPERA Cloud with everything but the secrets filled in. Leave a secret blank to keep it. Change a property code here, then Save and reconnect: the pre-flight check runs again.
Limits
| What | Limit |
|---|---|
| OPERA accounts per assistant | 1 |
| Property code | Up to 20 characters |
| Gateway | Public https host only |
| Never available | Check-in, check-out, payments, refunds |