Structured output schema
{
"outcome": "NPS Follow-up 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": "nps score captured during the call.",
"name": "nps_score",
"required": true,
"type": "number"
},
{
"description": "reason captured during the call.",
"name": "reason",
"required": true,
"type": "text"
},
{
"description": "customer segment captured during the call.",
"name": "customer_segment",
"required": true,
"type": "text"
},
{
"description": "follow up requested captured during the call.",
"name": "follow_up_requested",
"required": false,
"type": "text"
},
{
"description": "recommended action captured during the call.",
"name": "recommended_action",
"required": false,
"type": "text"
}
]
}