Skip to main content
Use custom metrics to measure the outcomes that matter to your business — whether callers are being authenticated, bookings completed, or issues resolved without escalation. Without custom metrics, you are limited to generic call statistics and cannot track whether the agent is achieving its actual purpose. Custom metrics are defined in Configure > Metrics. Once created, they are evaluated per conversation and flow into Dashboards, Smart Analyst, and the Conversations API.

Metric types

Metrics can be boolean (true/false) or categorical depending on your configuration. Boolean metrics answer a yes/no question — for example, “Was the caller authenticated?” — while categorical metrics assign a label from a set of options. When creating a metric, be clear about which type you’re defining so that results are consistent and easy to interpret.

Creating a metric

1

Open the Metrics page

Go to Configure > Metrics in the sidebar.
2

Add a new metric

Click Add metric and provide:
  • Name — a short, descriptive label (e.g. “Booking completed”, “Caller authenticated”)
  • Definition — a clear description of what this metric measures and how it should be evaluated
3

Save and publish

Save your metric. It becomes active after you publish and will begin appearing in conversation data going forward.

Naming conventions

Consistent naming makes metrics easier to find, compare, and reference across dashboards, Smart Analyst, and API exports.
  • Use a consistent format — pick one casing style (e.g. Booking completed or BOOKING_COMPLETED) and apply it across all metrics in a project
  • Avoid synonyms — choose one term and stick with it. For example, use Handoff consistently rather than alternating between “handoff”, “transfer”, and “escalation”
  • Be descriptive but concise — the name should make sense at a glance in a dashboard or filter dropdown
  • Prefix related metrics — if you have multiple metrics for one flow, group them with a shared prefix (e.g. Auth: verified, Auth: failed, Auth: partial)

Writing effective definitions

The metric definition tells the system how to evaluate each conversation. Clear, specific definitions produce more consistent results and directly improve the quality of insights from Smart Analyst, which can sample and analyze conversations based on your custom metrics.

Be specific about the outcome

Less effectiveMore effective
”Check if the call went well""The caller’s issue was fully resolved without a handoff to a human agent"
"Booking metric""A reservation was successfully created, confirmed with the caller, and an SMS confirmation was sent"
"Authentication""The caller was verified using at least two identifying details (e.g. name and date of birth, or account number and postcode)“

Define success and failure

Where relevant, define what does not count as a success alongside what does. This reduces ambiguity for edge cases and partial outcomes. For example, an authentication metric might specify:
  • Success: the caller provided their name and date of birth, and the system confirmed a match
  • Failure: the caller could not provide sufficient details, or the system could not verify the information
  • Partial: the caller provided one identifier but the second could not be confirmed

Specify when the metric applies

A metric should define the point in the conversation where it becomes relevant. This matters when a metric depends on a specific flow being reached. For example:
  • “This metric applies only after the agent determines the caller is eligible for the loyalty program” — not from the start of every call
  • “Evaluate this metric once the booking flow has been initiated” — not based on whether the caller mentioned a booking
If a metric is evaluated too early (before the relevant flow starts) or too broadly (on calls where the flow was never triggered), results will be noisy and unreliable.

Additional tips

  • If the metric depends on a specific flow or function, mention it by name in the definition
  • For boolean metrics, state the exact condition that makes the metric true
  • Keep definitions self-contained — avoid referencing other metric definitions

Metrics and Smart Analyst

Smart Analyst can sample conversations based on your custom metrics and use metric values when answering natural-language questions. The quality of your metric definitions directly affects the quality of Smart Analyst’s insights. Well-defined metrics enable you to:
  • Sample conversations where a specific metric succeeded or failed, rather than relying on random sampling
  • Ask questions like “Why are calls failing the authentication metric?” and get targeted answers
  • Track metric trends across recent conversations without writing queries
See Smart Analyst for more on deep sampling and example prompts.

Logging metrics from functions

You can also log metrics programmatically from functions using the conversation object. This is useful when a metric depends on function output — for example, confirming that an API call succeeded or a payment was processed. The conversation object provides two properties for this:
  • conv.metrics_queue — queue custom metrics for analytics
  • conv.metric_events — queue metric event objects with name/value pairs
See the conversation object reference for details.

Where metrics appear

Once defined, custom metrics are available across several parts of the platform:
LocationHow metrics are used
DashboardsVisualize metric trends over time. Custom metrics appear in Standard and Custom dashboards.
Smart AnalystSample conversations by metric value. Ask natural-language questions about metric performance across recent calls.
Conversations APIThe metrics field on each conversation object contains your custom metric results, available for export to external analytics pipelines.
Conversation reviewFilter and browse conversations by metric outcomes.
Last modified on March 24, 2026