Structured output schema
{
"outcome": "Appointment Booking AI phone prompt outcome",
"fields": [
{
"description": "caller name captured during the call.",
"name": "caller_name",
"required": true,
"type": "text"
},
{
"description": "phone number from caller id captured during the call.",
"name": "phone_number_from_caller_id",
"required": true,
"type": "text"
},
{
"description": "appointment type captured during the call.",
"name": "appointment_type",
"required": true,
"type": "text"
},
{
"description": "preferred times captured during the call.",
"name": "preferred_times",
"required": true,
"type": "date"
},
{
"description": "timezone captured during the call.",
"name": "timezone",
"required": true,
"type": "date"
},
{
"description": "notes captured during the call.",
"name": "notes",
"required": false,
"type": "text"
},
{
"description": "confirmation required captured during the call.",
"name": "confirmation_required",
"required": false,
"type": "text"
}
]
}