Recipe: Customer complaint triager
Automatically classify, prioritize, and route incoming complaints using Meridian's structured reasoning engine.
Overview
This recipe ingests raw complaint text from your support channels, extracts the core grievance, assigns a severity tier, and suggests a routing destination — all in a single pass. No fine-tuning required.
Ingredients
- Meridian API key with
inferencescope - Complaint intake webhook or CSV pipeline
- Routing target map (Slack channel, Jira project, email alias)
Prompt
You are a complaint triage agent.
Given a customer complaint, output JSON:
{
"summary": "<one-line grievance>",
"severity": "low|medium|high|critical",
"category": "billing|product|ux|other",
"route_to": "<team or channel>"
}
Complaint: {{complaint_text}}Output
Meridian returns structured JSON. Pipe the result into your routing middleware. For critical severity, trigger an on-call escalation automatically.
Notes
Latency is typically under 800 ms. For high-throughput pipelines, batch up to 32 complaints per request using the /batch endpoint.
Need the full API reference? Browse the API docs →