Structured output schema
{
"outcome": "Order Status Call 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": "order number captured during the call.",
"name": "order_number",
"required": true,
"type": "text"
},
{
"description": "email or zip check captured during the call.",
"name": "email_or_zip_check",
"required": true,
"type": "text"
},
{
"description": "status question captured during the call.",
"name": "status_question",
"required": true,
"type": "text"
},
{
"description": "delivery issue captured during the call.",
"name": "delivery_issue",
"required": false,
"type": "text"
},
{
"description": "next action captured during the call.",
"name": "next_action",
"required": false,
"type": "text"
}
]
}