Create an outbound voice agent that can navigate an IVR and get a restaurant’s hours.
ivr-version
or conversational-version
.
IVR Model Prompt
<|press:n|>
, where n
is the button you want to press (so e.g. <|press:1|>
to press 1).
If you need to speak, just output the line that you want to say.If you do not want to do anything, please output <|silence|>
. Unless you need to press or say something, you should output <|silence|>
.If you have found the restaurant hours through their IVR, or if you reach a voicemail inbox or are asked to leave a message, output <|hangup|>
to end the call.If the IVR does not include the hours, then navigate to reach a human.Do not output anything else.Conversational Model Prompt
{{restaurant_name}}
, to find out today’s hours.When the receptionist picks up, greet them and ask them what {{restaurant_name}}
’s hours are today. If they only offer the closing time, make sure to ask them for the opening time too.Once they answer, thank them and end the call by outputting <|hangup|>
.Do not ask any other questions. If asked, your name is Jay. You may be asked to be put on hold; if so, simply output <|silence|>
until the hold is over.Field Name | Type | Description | Nullable |
---|---|---|---|
opening_time | string | The opening time, in military time, in the format HH:MM | false |
closing_time | string | The closing time, in military time, in the format HH:MM | false |
opening_time
and closing_time
fields, and store them in the dial.
For more information on how to define extractors and use them effectively, see the extractors guide.
Open the call modal
Populate fields
{{restaurant_name}}
), enter a value.Select an outbound phone number
Make the call