# Content categorization for routing
request_data = {
"processing_type": "deferred",
"type": "markdown",
"priority": "medium",
"request_text": "Please categorize this customer inquiry:\n\n'Hi, I'm having trouble with my recent order #12345. The item was supposed to arrive yesterday but I haven't received it yet. Can you help track it down?'",
"response_type": "single_select",
"response_config": {
"options": [
{
"value": "shipping_inquiry",
"label": "📦 Shipping & Delivery",
"description": "Questions about order status, shipping, or delivery",
"color": "#3b82f6"
},
{
"value": "product_support",
"label": "🛠️ Product Support",
"description": "Technical issues or questions about using products",
"color": "#f59e0b"
},
{
"value": "billing_payment",
"label": "💳 Billing & Payment",
"description": "Payment issues, refunds, or billing questions",
"color": "#10b981"
},
{
"value": "returns_exchanges",
"label": "🔄 Returns & Exchanges",
"description": "Returning items or requesting exchanges",
"color": "#8b5cf6"
},
{
"value": "general_inquiry",
"label": "📞 General Inquiry",
"description": "Other questions not fitting specific categories",
"color": "#6b7280"
}
],
"required": True
},
"default_response": "general_inquiry",
"timeout_seconds": 7200,
"platform": "api"
}