Operate and govern
How do you stop a voice agent from booking the same appointment twice?
Make creation retry-safe in the booking application. Give each confirmed booking intent a stable key, record the resulting booking ID, and reconcile unknown results before making a new request.
Key the confirmed action
Use a business action identifier scoped to the call and intent; reuse it for the same request after timeouts or duplicate events. Treat a changed date as a new intent only after confirming the change.
Persist or verify the result
Use an upstream idempotency facility when available. If unavailable, add an application-side uniqueness rule or verify booking state before retrying ambiguous writes.
Test response loss
Simulate a booking that succeeds upstream while its response is lost. The second attempt should not create another appointment or issue two user confirmations.
Sources and scope
Sources checked: .
- Stripe idempotent requests
Concrete vendor example of idempotency semantics; booking providers may differ.
- Twilio Event Streams delivery and duplication
An event delivery example where duplicates must be acknowledged without rerunning work.