I'm building a short-term rental operation run by agents: guest messaging, review replies, issue triage, cleaning and maintenance dispatch, and owner reporting. The property management system (Beds24) stays the system of record. The agents react to its webhooks.
Event-driven agents are cheap to start and easy to get wrong. Three rules keep this one safe.
Try a day of events
Eight webhooks arrive over one day. One of them is forged. Switch the signature check off, cut the API credits, and see what changes.
08:10 booking.created Three nights, two guests
Ran
Send the welcome message and add a cleaning slot (2 credits)
09:30 message.received "Can we check in at 12?"
Ran
Reply: yes if cleaning is done by then, and ask the cleaner (2 credits)
From the property's memory: Check-in from 15:00. Early check-in is fine once cleaning is done.
11:05 message.received "The heating doesn't work"
Ran
Open a maintenance issue and dispatch the plumber (3 credits, urgent)
From the property's memory: Heating faults go to the on-call plumber.
13:40 message.received "We want a refund for last night"
Waiting for the owner
Draft a partial refund of one night (2 credits, high risk)
From the property's memory: Refunds and price changes need the owner's yes.
14:15 booking.cancelled Sender doesn't know the shared secret
Rejected: bad signature
Cancel every booking this month (6 credits, high risk)
16:20 review.posted 3 stars: noisy neighbours
Ran
Draft a reply that mentions quiet hours (2 credits)
From the property's memory: Quiet hours 22:00 to 07:00.
18:00 pricing.suggestion A concert in town on Saturday
Waiting for the owner
Raise Saturday's price by 20% (2 credits, high risk)
From the property's memory: Refunds and price changes need the owner's yes.
20:45 message.received "Where do we leave the keys?"
Ran
Reply with the checkout steps (1 credit)
The forged event is dropped before the agent sees it. Low-risk replies run on their own, refunds and price changes wait for the owner, and the heating fault goes first because it's urgent. Cut the credits to see what waits for the next window.
This property's memory
- Check-in from 15:00. Early check-in is fine once cleaning is done.
- Quiet hours 22:00 to 07:00.
- Heating faults go to the on-call plumber.
- Refunds and price changes need the owner's yes.
1. Check the signature before the agent sees anything
A webhook URL is a public endpoint. Without a shared-secret check, anyone who finds it can post a booking cancellation, and the agent will treat it like a real one. The check is a few lines at the edge, and it has to come before any model call.
2. Gate the actions you can't take back
Replies to guests and cleaning slots run on their own. Refunds, price changes and guest disputes go to the owner for a yes. The gate sits in the harness, not the prompt, so a persuasive guest message can't talk its way past it.
3. Ration the API credits
The PMS API has a credit budget. A scheduler that knows the budget sends urgent work first, like a heating fault, and holds the rest for the next window instead of failing halfway through a booking.
Memory per property
Each agent gets the property's house rules, SOPs and guest history in its context. "Can we check in at 12?" gets the right answer because the agent knows the check-in rule and asks the cleaner, instead of guessing.
You can also try this demo on its own in the lab.