Use this workflow when you have approved support-policy facts, permission to review conversations and a monitoring connection. The CX owner defines and checks the judgment; the developer exports the approved labels; the monitoring owner builds the view.
The example checks a fictional returns policy and exports 24 judgments, including four unassessed cases. It does not claim that connecting Datadog automatically exports Voiceflow Evaluations or conversation content.
Before you begin
- A bounded conversation set and the policy version that applied to it.
- Reviewed judgments from people or a verified evaluator. For Voiceflow’s native setup and historical scoring, follow Check support-policy answers.
- A connected destination. The worked path uses Datadog Logs and the CX worked examples.
Create a useful quality signal
Define the question and evidence
Start with one failure that matters to the customer. The example uses this rubric, named return-policy-v1:
Assess the actual response, relevant policy facts and tool result. A fluency or friendliness score cannot establish policy correctness. Version the criterion when its meaning changes.
Check the judge before scaling
Have a reviewer label a small set containing a correct answer, a policy contradiction and an insufficient-evidence case. Compare an automated evaluator with those labels before using it across production traffic. For example, a guaranteed 60-day return contradicts this policy; a case without the relevant response stays unassessed.
Review disagreements and refine the rubric. If scoring only a sample, record how it was selected and keep that population consistent. Add a random sample alongside flagged failures so the review does not silently become a failure-only rate. Additional model scoring may incur cost.
Export judgments with their identity
Ask the developer or review owner to map approved results into quality.json. The example contract requires the common project/review/Environment/release/channel fields, an opaque cx_conversation_id, and:
The example publisher rejects a second judgment for the same conversation/criterion in one review file, even with a new event ID. Use a new review ID for corrected judgments; your source system must preserve this rule across exports.
These are your export fields, not native Evaluation API paths. Preserve the original result and access checks in its source system. Keep raw answers and reasoning there unless your team separately approves their export.
Publish and inspect the quality view
From the extracted examples’ cx directory, validate the fictional file locally:
After the developer checks server-held Datadog settings and approved data, add --send to submit to the staging destination. In Logs → Explorer, use:
Use unique conversation counts, adding a string facet for cx_conversation_id if needed: pass rate is pass / (pass + fail), and assessment coverage is (pass + fail) / all selected conversations. The sample yields 16 / 20 = 80% pass, 20 / 24 = 83.3% assessed, with four failures and four unassessed cases. Do not turn unassessed cases into failures or passes.
Turn the finding into a review
Open a failed assessment through cx_evidence_ref. Compare the actual answer with the policy and tool evidence. Record whether the problem was missing Knowledge, incorrect reasoning, a failed action or the criterion itself. Follow cross-system investigation when a tool or destination contributed.
The workflow is complete when the monitoring view matches the source counts and a reviewer can reproduce a specific failure. A high pass rate alone does not establish that the customer’s task completed.
Troubleshoot the scores
The score changes after a rubric edit
Keep different criterion versions out of the same comparison.
Use a new criterion ID for changed meaning. Re-score a bounded shared sample under both versions if you need to understand the difference. Do not report a new rubric’s higher score as an agent improvement. Keep batch costs and source-result retention visible to the review owner.
Only the bad conversations were assessed
Separate diagnostic selection from a representative quality measure.
Flagged cases help diagnose failures but do not estimate the overall pass rate. Keep the flagged view and representative sample separate, show each selection rule, and report coverage. Consult online evaluation guidance when choosing sampling and assessment targets in your destination.