Structured output schema
{
"outcome": "Electricians Appointment Booking AI phone script outcome",
"fields": [
{
"description": "ai disclosure acknowledged captured during the call.",
"name": "ai_disclosure_acknowledged",
"required": true,
"type": "text"
},
{
"description": "caller name captured during the call.",
"name": "caller_name",
"required": true,
"type": "text"
},
{
"description": "site address captured during the call.",
"name": "site_address",
"required": true,
"type": "text"
},
{
"description": "issue type captured during the call.",
"name": "issue_type",
"required": true,
"type": "text"
},
{
"description": "power outage captured during the call.",
"name": "power_outage",
"required": true,
"type": "text"
},
{
"description": "burning smell captured during the call.",
"name": "burning_smell",
"required": false,
"type": "text"
},
{
"description": "panel access captured during the call.",
"name": "panel_access",
"required": false,
"type": "text"
},
{
"description": "urgency captured during the call.",
"name": "urgency",
"required": false,
"type": "text"
},
{
"description": "phone number from caller id captured during the call.",
"name": "phone_number_from_caller_id",
"required": false,
"type": "text"
},
{
"description": "appointment type captured during the call.",
"name": "appointment_type",
"required": false,
"type": "text"
},
{
"description": "preferred times captured during the call.",
"name": "preferred_times",
"required": false,
"type": "date"
},
{
"description": "timezone captured during the call.",
"name": "timezone",
"required": false,
"type": "date"
}
]
}