One draft of this restaurant-service agent offered a free technical visit. The business actually sold a paid service. I corrected the offer and asked the conversation to establish a real need, rather than arrange a visit on terms the business did not provide.
I was working on a Spanish outbound voice-agent prompt for a technical service visiting restaurants. A natural opening mattered, but the conversation also needed to reach the right person, describe the real offer and handle a booking honestly.
The completed work is a final Markdown prompt and a comparison of two drafts. The call branches below are instructions in that prompt, not verified live-call results.
A transfer means checking the new speaker
The final prompt asks the agent to establish the speaker's role when the call begins and confirm it again after a transfer. Knowing the restaurant does not establish who has just picked up or whether they can arrange a visit.
This is a sanitized illustration of the instruction, not a recorded call:
First speaker: Un momento, te paso con la encargada.
New speaker: ¿Sí?
Agent: Hola. ¿Con quién hablo? ¿Se encarga usted de este tema
en el restaurante?The restaurant context remains useful. The speaker check has to happen before continuing the booking branch.
A transfer starts another role check
- 01Role confirmedThe current speaker has been identified
- 02Call transferredSomeone else joins the call
- 03Role unconfirmedDo not inherit the previous answer
- 04Check againConfirm who can arrange the paid visit
The prompt also gives separate paths for a transfer to the wrong person and a person who is not interested. A refusal needs its own response and closing, rather than another attempt to run the same pitch.
Compare the offer, the handover and the booking separately
I supplied ElevenLabs examples and its prompting guide, then brought in another model's draft. I asked for an honest section-by-section comparison before choosing the final version.
That made it possible to look at the offer, role discovery, handover, objections and closing one at a time. A useful opening in a draft did not establish that its booking instructions were also useful.
The final prompt keeps a boundary around technical advice. The agent can collect a description of the need and arrange a visit. Diagnosis belongs to the technician. Fluent speech should not turn a caller's description into an invented technical conclusion.
Ask for a time, then wait for the booking result
get_availability finds available options. create_visit requests the booking. The prompt includes a short spoken acknowledgement before a tool call, explaining the pause to the caller.
The tool result determines what the agent is allowed to confirm:
| What happened | What the conversation can establish |
|---|---|
| Available times returned | Offer those times |
| Booking succeeds | Confirm the visit |
| Booking tool fails | Explain the problem without saying the visit is booked |
These are the intended branches. The prompt contains them, but I have not verified the final agent against a recorded suite of calls covering those cases.
The final document brings the paid offer, speaker checks, technical limits and tool rules together. Hearing the agent handle real transfers, refusals and failed bookings is still the next test. I do not have a measured booking success rate or latency result to report.
Project sources & checks
The source includes supplied ElevenLabs examples and prompting guidance, the paid-visit correction, another model draft and a request for honest section-by-section comparison.
The saved prompt includes role verification, confirmation after transfers, technical limits, availability/booking tools, spoken tool acknowledgements, failure handling and closing examples.
The short exchange below is a sanitized illustration of the prompt rule, not a call transcript or a verified model response.
A final Markdown prompt and comparison analysis. No verified live booking rate, latency result or recorded call suite.