# Call types

Group your calls by number, direction or length, and choose which agents score each kind of call.

Call types let you decide which agents score which calls. Without them, every active agent scores every call, which works when all your calls are alike. Once you have sales calls and support calls on the same phone system, you'll want the sales agent on sales calls only. A call type describes how to recognize a kind of call (the number it was made to, its direction, its length) and lists the agents that run on it.

## The default: every agent on every call

A new workspace has no call types, and every agent runs on every call. On the **Call types** page this shows as the **All calls** box at the top (**Runs on every call**), listing each agent that isn't limited to a call type. New agents always start there.

The agents listed under **All calls** run on every call, whether it matches a call type or not. Only agents set to **Active** actually score calls; any other agent shows its status, such as **Draft**, next to its name.

## How a call is routed

When a call's transcript is ready, APX does two things:

1. **Finds the call's type.** It checks your call types from the top of the list down and picks the first one whose rules match. If none match, the call has no type.
2. **Picks the agents.** The call is scored by every active agent under **All calls**, plus every active agent assigned to the call's type.

Assigning an agent to a call type takes it out of **All calls**: from then on it runs only on the call types it's assigned to. You can assign one agent to several call types.

The call's type shows on the **Calls** page in the **Type** column and at the top of the call's page.

## Create a call type

If you manage the workspace, go to **Settings**, then **Call types**, and select **New call type**.

1. Give it a **Name** (for example "Sales") and, if you like, a **Description**.
2. Under **Recognize a call when…**, set up the rules that recognize this kind of call (see below). A call type with no rules never matches a call.
3. Under **Agents that run on this call type**, tick the agents that should score these calls.
4. Select **Create call type**.

To change a call type later, select the pencil icon on its card, make your changes and select **Save changes**.

Each card on the **Call types** page sums up its rules (for example "Recognized when direction is inbound and longer than 60s"), lists its agents, and shows how many calls it matched in the last 30 days.

## Rules and conditions

Each rule is made of one or more conditions. Pick the kind of condition, then fill it in:

| Condition | Matches when | How to fill it in |
|---|---|---|
| **Number** | The call was made to one of these numbers | Type one or more numbers, separated by commas. Any common format works. A 10-digit number is read as a US number; for other countries, start with + and the country code. |
| **Direction** | The call was **Inbound** or **Outbound** | Pick one. |
| **Duration** | The call lasted at least this long | Enter a number of seconds after **Longer than**. |

To combine them:

- **+ and condition** adds a condition to the same rule. All the conditions in a rule must match.
- **Add rule (OR)** adds another rule. The call type matches if any one of its rules matches.

So "inbound **and** to the support line, **or** any call longer than 10 minutes" is two rules: the first with two conditions, the second with one.

A condition never matches when APX doesn't know the fact it checks. A call whose direction your phone system doesn't report, for example, never matches a **Direction** condition. A call type with no rules never matches any call.

> **Note:** **Number** checks the number the call was made to. For an inbound call that's your line; for an outbound call it's the customer's number. So **Number** is best for recognizing inbound calls to a particular line. For outbound calls, use **Direction** or **Duration**.

## Order matters

A call gets one type at most: the first match from the top of the list. New call types are added at the bottom. If two call types could match the same call, the one higher up wins, so put the more specific call type first. The page doesn't offer a way to reorder call types yet; to move one to the bottom, delete it and create it again.

## Calls that match no type

The **Unmatched calls** line at the bottom of the page tells you what happens to calls that match none of your call types, and how many there were in the last 30 days:

- If some agents are under **All calls**, unmatched calls are scored by those agents.
- If every agent is assigned to a call type, unmatched calls are transcribed and stored, but no agent scores them.

A call type with no agents is allowed: the card says no agents are assigned. Its calls get the type but are scored only by the agents under **All calls**, if there are any.

## Unassign or delete

- **To put an agent back on every call,** open each call type it's assigned to and untick it. Once it's off every type, it returns to **All calls**.
- **To delete a call type,** select the bin icon on its card, then **Delete**. New calls are no longer matched to it, and any agent assigned only to that type goes back to running on all calls. Past calls keep the scores they already have.

## Changes and past calls

Call types are applied when a call's transcript is ready. Creating or changing a call type, or assigning agents, affects new calls only.

If a call shows **No agents ran on this call**, no active agent was routed to it at the time. After you fix your call types or assignments, open the call and select **Re-run routing** to route it again with your current settings.

## What's coming

The **Call types** page lists more ways to recognize a call that are on the way: by integration, by tags set in Aircall, and by having AI classify the call from what was said.
