# SLA metrics and evaluations

Set up SLA clocks and counters with targets, and learn how to read whether each conversation met or breached them.

Source: https://support.rework.com/article/prospect-metrics-and-evaluations

An SLA metric is simply a clock or a counter with a target, like time to first response or reassignments per day. Every time one runs on a conversation, it leaves a row you can read afterwards, and that row tells you whether it was **Met** or **Breached**.

## Define a metric

Go to **Routers**, pick the service, then open **SLA metrics** and click **New metric** **(1)**.

Each existing metric shows up as a card with its code, **Measurement scope** and **Occurrence** **(2)**, the events under **Start when**, **Pause on** and **Stop when** **(3)**, and its **Targets** **(4)**.

![SLA metrics page of the Sales service with the New metric button (1), and on the First response card the metric code, measurement scope and occurrence (2), the Start when, Pause on and Stop when events (3) and the Targets section with Add target (4) highlighted](https://storage.googleapis.com/reworkv3-public/success/260928/A4ELzkN1LWhlBLUBTV3hFJ58kDfsSzOEdQ7EHrgjDPp014alRuUZxtRmSzikq5hc/img.Iq2y6JuQDb70o1L3RCZxR2y1CI98iINeVvb2GyEQjdx09PbV9yD8UHIGIGTvNvQ3.png)

In the **New SLA metric** dialog, **Metric type** **(1)** is your first choice, and it's not something you can casually change afterwards, so pick carefully:

- **Time**: measures elapsed time to an outcome.
  
- **Count**: counts event occurrences within a window.
  

Next, give the metric a **Metric name** and a short **Code** **(2)**, then set:

- **Measurement scope** **(3)**: **Per object** (one measurement per conversation), **Per object + owner** (a separate measurement per owner on each conversation), or **Per owner** (aggregated per owner across all conversations).
  
- **Occurrence** **(4)**: **Single** keeps the running measurement and ignores duplicate starts, while **Multiple** starts a new one every time.
  

A **Time** metric then needs **Start on events** **(5)** and **Stop on events**, under **Lifecycle**. These are conversation moments such as **Conversation created**, **First agent reply**, **Conversation assigned (anyone)** and its by-whom variants, **Conversation reassigned**, **Conversation closed**, **Conversation reopened**, **Conversation snoozed**, **Conversation unsnoozed** and **Label added**.

![New SLA metric dialog with Metric type Time or Count (1), Metric name and Code (2), Measurement scope (3), Occurrence Single or Multiple (4) and Start on events (5) highlighted](https://storage.googleapis.com/reworkv3-public/success/260928/A4E2aj5dZvMWccnZrQuc5xnCexBbbLwD1IatqIVgIvmu1yeXwxcgQpV9qcKoXrGE/img.roMib5rzipiWilbT8ks62xQoVgud1JFlLMzG9ITdrr11Ss6UknfC7sgRPx1w9R8i.png)

You can narrow either end with **Add a start condition** or **Add a stop condition**. You can also use **Add a pause condition** to stop the clock while something holds true. Don't worry, that waiting time doesn't count toward the SLA.

A **Count** metric takes **Count on events** plus a **Window**, a **Reset time** and, for a weekly window, a **Reset day**.

> **Warning:** The event list also contains **Customer replied** and a **Conversation enters stage** entry for each of your stages. Nothing raises those moments yet, so a metric built on them never starts or stops. Please don't use them for now.

## Targets

A metric with no target never evaluates, so this step matters. On the metric's card, click **Add target** and give it a **Target** value and **Unit** (a **Max count** for a count metric), an optional **Label**, and optional **Match conditions**.

Conditions let you hold different parts of the business to different numbers: fifteen minutes for a VIP label, an hour for everyone else.

Targets are matched **top down, first match wins**, so put the narrowest target above the general one. Drag a row to reorder. A target with no conditions matches everything (the card labels it as a fallback), which makes it the right one to leave at the bottom. 💡

## What counts as a breach

When the stop event fires, the measured value is compared with the first matching target. Over the target is **Breached**, inside it is **Met**. Evaluation allows a two-minute grace.

Two things can happen on a breach.

**A metric on its own** notifies the conversation's assigned agent. You control this per metric with **Notify the Lead owner when this metric is breached**, and with the **SLA breached** toggle in the service's **Notifications** settings, which also sets who else is told. The notification names the metric and how far over target the conversation went, and links back to it.

**A metric wired into a Service Level Agreement step** runs that step's own breach actions instead. Set the step's **Evaluate by** to **Metric**, choose the metric, and pick what happens under **On metric breach, do**:

- **Re-assign** hands the conversation to another person or team, and it works today.
  
- **Send message** and **Send email** are recorded as done but don't deliver anything in Prospect yet.
  
- **Enroll automation** isn't available either.
  

A step evaluating a rule works the same way, under **On rule match, do**.

## Metric evaluations

**Metric evaluations** lists the 50 most recent measurements for the service, newest first, with a summary strip above **(1)**: **Total**, **Evaluated**, **Met**, **Breached**, **In progress** and **Compliance**.

Compliance is met divided by met plus breached. Measurements that are still running aren't counted either way.

Each row shows the conversation, the metric, the owner, the verdict **(2)** (**Met**, **Breached**, **In progress** or **Not evaluated**), the value against its target **(3)**, which events started and stopped it, and how long it spent paused.

![Metric evaluations page with the Total, Evaluated, Met, Breached, In progress and Compliance summary strip (1), and a Breached verdict (2) with its value against target, 51h 51m of 48h 0m (3), highlighted](https://storage.googleapis.com/reworkv3-public/success/260928/JjmX28xIt4cu6qJhth2TXH2HfTLDAxhOV7wXcoVKXJ3tQfBTUAKwPxl4b4e8IQog/img.9eqslALylwQwsdNhvkf2oTVqInbRGpBhmdfwEna8fo1LEn6jZ8S9PlmWVAt7Do2a.png)

Click a row to open **Metric evaluation**. It shows the verdict **(1)**, the owner, when the clock started and stopped and why, the **Value** against the **Target** **(2)**, how long it was paused, and the **Event timeline** **(3)** behind the measurement along with any SLA steps linked to it. **Open conversation** **(4)** takes you straight to the thread.

![Metric evaluation side panel for a Resolution time measurement, with the Breached verdict (1), Value and Target (2), the Event timeline section (3) and the Open conversation button (4) highlighted](https://storage.googleapis.com/reworkv3-public/success/260928/xzpxawZElxxKyJftHznichGHlPjIQYHuKarKwKfn6GZCFLyS3AjM76ywQevvlfQ3/img.qqwLtLBc1kMJuBlX5dXJWEEu4SCPrNC9sJHXaseGKBaPWo1Ul2lD3Azju6kfjyyR.png)

## SLA node evaluations

Metric evaluations answer "did this clock hit its target?". **SLA node evaluations** answer a different question: "what did the router's deadline step decide, and when?". You get one row per step execution, with **Total**, **Pending**, **Done**, **Failed**, **Met** and **Breached** above.

Each row carries two separate columns:

- **State** is how the step itself finished: **Pending** (still waiting on its deadline), **Done** or **Failed**.
  
- **Outcome** is the verdict: **Met**, **Breached**, **In progress**, **Not evaluated**, **No measurement** or **Invalid**.
  

So a step can be **Done** and **Breached** at the same time. That's not a contradiction: it finished, and the answer was bad news.

Open a row to see the step's result message, each breach action and whether it passed, plus **Open process trace**, which shows the whole router run this step belonged to.

**SLA reports** aggregates the same data: the **Compliance trend** over time **(1)**, a breakdown **By metric** **(2)** and **By owner** **(3)**, timing figures such as **Time average**, **Time p50** and **Time p90** **(4)**, and the **Recent breaches** further down the page.

![SLA reports page with the Compliance trend chart (1), the By metric table (2), the By owner table (3) and the Time average, Time p50 and Time p90 tiles (4) highlighted](https://storage.googleapis.com/reworkv3-public/success/260928/FgQLnklXXvnkOBRBgfnKegwVLd9AyLtQJH0rnKCCR8l53uSqByQPU1rsUsWMYYKX/img.6SONd32b5qZQefKxlggkz5fHQD23bElWfwWyxefweTkEXJUPElvgFgIBd9Kvi6ok.png)

## What an agent sees on a conversation

Agents find all of this in the **SLAs** tab in the conversation's right-hand rail:

- **Flows** lists the router runs that touched the conversation.
  
- **Metric evaluations** lists its clocks, each with a ring showing how far it has run against its target **(1)** and a badge with the verdict **(2)**.
  

Clicking a row opens the same detail panel as the admin pages.

![SLAs tab of a conversation showing Resolution time and First response, each with its progress ring (1) and its Met / Breached verdict badge (2)](https://storage.googleapis.com/reworkv3-public/success/260929/0cT8PLaw4I0EUvDs6WwcsaI0BD1Oh61VSdZjCLpLhDQC91f0iEyWdGH6ZhWKJ81N/img.8EwOPBZhvwoa6uy4uIcQuXNKlDONLu3z1yQkNXk7qWMUT6kczjs8lQkndBFqzSMQ.png)
