Voice-Agent Script Reference
Reference for the script config (goals / responses / metadata JSON) the voice agent runs on.
The core files are part of these instructions:
- 00-model: what a script is, the turn loop, the running example
- 01-flow: when goals start, end, and hand off
- 02-dialogue: messages, collecting answers, Q&A, refusals
- 03-tools: webhooks, values, SMS, call results, voice actions
- 04-variables-and-conditions: placeholders, state, condition syntax
- 05-call-start-and-built-ins: openers, voicemail and gatekeepers, built-in goals, and a short digest of each flow
- flows/subagent: subagent phases, the default body of a call
The rest are not. Read one with read_doc when its condition applies:
flows/meeting-scheduling.md: the contact should book a meeting on the callflows/callbacks.md: the contact is busy or asks to be called backflows/hot-transfer.md: the call should reach a human (merge or forward)flows/email-phone-confirmation.md: collecting an email or phone number with confirmationlookups/field-index.md: you met a field and need its owning section, including fields outside the builder UIlookups/non-ui-fields.md: an existing config uses shapes these docs don't teachlookups/transcription.md: the agent mis-hears specific words or nameslookups/troubleshooting.md: the agent misbehaved on a call; symptom-indexed recipes