# Connect Aircall

Install APX from the Aircall Dashboard, or connect with an Aircall API key, and APX scores each recorded call and can post the score back to Aircall.

APX checks your Aircall account for new calls every minute and scores each answered call that has a recording. There are two ways to connect, and both bring calls in the same way:

| Way | What you need |
|---|---|
| Install from the Aircall Dashboard (recommended) | An Aircall admin. No keys to copy. |
| Connect with an API key | An Aircall admin to create an API ID and token. |

A workspace can have one Aircall connection at a time (see [One Aircall connection per workspace](#one-aircall-connection-per-workspace)).

## Before you start

APX only sees answered calls that have a recording. In the Aircall Dashboard, for each number you want scored:

- Turn on call recording and set it to record automatically. Otherwise only the calls an agent chooses to record reach APX.
- Make sure the number's call flow rings a person or a team. Missed calls and calls that only reach voicemail are skipped.

## Install from the Aircall Dashboard

1. In the Aircall Dashboard, find **APX Intelligence** in the integrations list and select **Install**. You can also start in APX: go to **Integrations**, select **Add integration**, pick **Aircall** and select **Next**.
2. Aircall opens APX. If you're not signed in, select **Sign in**, or **Create an account** if you're new to APX. You come straight back to the same page afterwards.
3. Check the workspace name in the heading **Connect Aircall to** your workspace. Change **Name in APX** if you like; it's how the connection shows on your Integrations page.
4. Select **Continue to Aircall** and approve access in Aircall.

You see **Aircall connected** and land on a welcome page headed **Aircall is connected to** your workspace name. If you're reinstalling, you skip the welcome page and land on the integration's page instead (see [Uninstall and reconnect](#uninstall-and-reconnect)).

### The welcome page

The welcome page walks you through four steps, one screen at a time. The row across the top shows all four (**Agents**, **Alerts**, **Send to Aircall**, **First call**) with a green check on each one that's done; select any of them to jump there. Use **Next** and **Back** to move between steps. Every step is optional: **Skip for now** moves on without doing it, and you can come back later. The page opens on the first step that isn't done yet and reads your workspace's current settings, so it always shows what's already done.

| | Step | What you do |
|---|---|---|
| 1 | **Choose which agents score your calls** | New workspaces start with three agents, all drafts, and only agents that are on score calls. Turn on the switch next to each agent you want: it changes from **Draft** to **Scores calls**, and the count under the list shows how many are on. Turning an agent on also scores the calls from the last 24 hours. An agent that isn't ready yet shows **Finish setting up** instead of a switch. |
| 2 | **Get an email when a call scores low** | Get an email when a call scores below an agent's threshold. Check the address in **Email alerts to** and select **Turn on alerts**. If APX needs to confirm the address, the step says **Check** your address **to confirm**: open the email APX sends and confirm it. If your workspace already sends alerts somewhere, the step says where, with a **Manage** link. If you can't change alert settings, the step says so and links to your team. |
| 3 | **Send scores to Aircall** | Select **Turn on** and APX adds each score to the call in Aircall as a note. It stays off until you do, and nothing changes in your Aircall settings. See [Post scores back to Aircall](#post-scores-back-to-aircall). |
| 4 | **Make your first call** | Make or take a call on a number that records automatically. The step follows that call until it's scored. |

Step 4 shows one line at a time:

| What step 4 says | What to do |
|---|---|
| **Turn on an agent in step 1 so your calls get scored.** | Turn on at least one agent in step 1. |
| **Connecting to Aircall…** | Wait. APX hasn't finished its first check of your account yet. |
| **Make or take a call in Aircall.** | APX is waiting for your first call. Only answered, recorded calls are scored, so missed calls and voicemails are skipped. Select **Check your recording settings** if you're not sure recording is on. |
| **First call received**, then downloading, transcribing or scoring | Wait. The line moves on by itself. |
| **Your first call is scored** | Select **View analysis**. |
| **Your first call came in. None of your agents apply to it.** | Each agent decided the call wasn't one it should score. Select **View call** to see why, or try a call your agents are built for. |
| **We couldn't score this call.** | Select **View call** for details. |
| **This integration is paused.** | Select **Resume**. |
| **APX lost access to Aircall.** | Select **Reinstall Aircall**. |
| **APX stopped checking Aircall.** | Select **Fix in integration settings**. |

On the last step, **Go to dashboard** takes you on. Below every step, **Integration settings** opens the integration's own page. If a link takes you somewhere else in APX before you've finished (for example **Manage** in the alerts step), a bar at the bottom of the page says your Aircall setup isn't finished: select **Continue setup** to go back to the step you left, or close the bar if you're done with it. To come back to the welcome page before your first call arrives, select **Show me how** next to **Make a recorded call** on the dashboard's **Get your first call analyzed** card.

The integration's **Overview** tab shows **Connected via Aircall install**.

### If the install doesn't finish

| What you see | What to do |
|---|---|
| **You cancelled the install in Aircall.** | Nothing was connected. Install again from the Aircall Dashboard when you're ready. |
| **This install link has expired.** | The link works once, for 10 minutes. Start again from the Aircall Dashboard. |
| **Aircall is already connected elsewhere.** | Your Aircall account is connected to a different APX workspace. Someone in that workspace has to delete the Aircall integration there first. |
| **No workspace access** | The APX account you signed in with isn't in a workspace. Ask whoever set up APX for your team to invite you, or sign in with a different account. |

## Connect with an API key

1. In the Aircall Dashboard, go to **Integrations & API**, then **API Keys**, and create an API key. You need to be an Aircall admin.
2. Copy the API ID and the API token. Aircall shows the token only once.
3. In APX, go to **Integrations**, select **Add integration**, and under the Aircall card select **Or connect with an Aircall API key**.
4. Enter a **Name** and select **Next**.
5. Paste the **API ID** and the **API token**, then select **Create integration**.

APX checks the key with Aircall before saving it. A wrong ID or token is rejected on this step with Aircall's reason. Once it's saved, select **Test connection** on the integration page at any time to check it again.

## One Aircall connection per workspace

Connecting the same Aircall account twice would score every call twice, so APX keeps it to one:

- **Installing when you already use an API key** replaces it. The install page tells you, and APX pauses the API-key integration. Calls the API-key integration already brought in aren't imported again.
- **Adding an API key when you have the install** isn't possible. The Aircall card on the new integration form is greyed out, with a link to **Open it**. To switch to an API key, delete the installed integration first.
- **One Aircall account, one APX workspace.** To move Aircall to a different workspace, delete the Aircall integration in the first workspace, then install from the second.

## Post scores back to Aircall

APX can add each agent's score to the call in Aircall, so your team sees it next to the call without opening APX. It's off until you turn it on, and it works the same for the Aircall Dashboard install and an API-key connection.

### Turn it on

1. Go to **Integrations** and open your Aircall integration.
2. On the **Overview** tab, find **Write-back to Aircall** and turn on the switch.

Right after you install from the Aircall Dashboard, you can also select **Turn on** in the **Send scores to Aircall** step of the [welcome page](#the-welcome-page).

The line under it shows **On · nothing posted yet** until the first note goes out, then when APX last posted (for example **On · last posted 5m ago**). The **Activity** tab records **Write-back to Aircall turned on**.

APX posts for calls it scores from then on. It doesn't go back and post calls it scored earlier. If you run one of those calls again, APX posts its note then.

### What APX posts

After an agent scores a call, APX adds one note to that call in Aircall. Each agent that scores the call adds its own note. An agent that decides the call isn't one it should score posts nothing. The note looks like this:

```text
APX Intelligence · Sales Coaching: 62/100 (D) · FLAGGED. Rep handled the pricing objection well but never confirmed the next step. Needs work: No close; the call ended without a commitment. Full analysis: https://apxintelligence.com/calls/...
```

- **The first line** has the agent, the score out of 100 and the grade. **FLAGGED** appears only when the call scored below the agent's threshold.
- **The summary** is the agent's short summary of the call.
- **Needs work** is the agent's most serious weakness, when it found one.
- **Full analysis** is a link to the call in APX. Aircall shows it as plain text, so copy it into your browser.

In Aircall, the note appears under the call's **Notes**, as one paragraph. When a call is flagged, APX also adds a red **APX: Flagged** tag, shown under the call's **Tags**. APX creates the tag in your Aircall account the first time it needs it.

Each agent posts once per call. Running the call again, or publishing a new version of the agent, doesn't post a second note.

### Who sees the notes

Everyone in your Aircall account can see notes and tags, including the rep who took the call.

### Aircall's limits

- **5 notes per call.** Aircall allows 5 notes on a call. If a call already has 5, APX can't add more, so with more than 5 agents scoring one call some notes aren't posted.
- **Notes can't be edited or deleted.** Aircall doesn't let anyone change or remove a note APX posted, including after you turn write-back off.
- **No emojis.** Aircall removes them, so APX leaves them out of the note.

### Check a call in APX

On the call's page in APX, each agent card shows whether its note reached Aircall, next to **Full Analysis**:

| What the card says | What it means |
|---|---|
| **Posted to Aircall** | The note is on the call in Aircall. |
| **Not posted yet · retrying** | Aircall was busy or unavailable. APX tries up to 3 times in all, about 2 and then 4 minutes apart. |
| **Not posted to Aircall: Aircall was busy and we stopped retrying** | The retries ran out. |
| **Not posted to Aircall: Aircall allows 5 notes per call; this call already has 5.** | See [Aircall's limits](#aircalls-limits). |
| **Not posted to Aircall: Aircall revoked APX's access** | APX was uninstalled or its key stopped working. Hover the line for what to do, and see [Uninstall and reconnect](#uninstall-and-reconnect). |
| **Not posted to Aircall: Aircall didn't answer in time** | Aircall didn't respond. APX doesn't try again, so it never posts the same note twice. The note may still have reached the call, so check it in Aircall. |
| **Not posted to Aircall: Aircall returned an error** | Aircall refused the note, couldn't be reached, or kept failing until APX stopped retrying. |
| **Not posted to Aircall** | APX couldn't confirm the note was sent and doesn't try again. Check the call in Aircall: the note may be there. |
| **Not posted to Aircall: the call no longer exists in Aircall** | The call was deleted in Aircall. |
| **Not posted to Aircall: write-back is off** | Write-back was turned off before the note went out. |

No line means nothing was sent for that agent, for example because write-back was off when the call was scored, or the note is still being sent.

### Turn it off

Turn off the switch on the **Overview** tab. The line under it reads **Off · nothing is posted to Aircall**, and the **Activity** tab records **Write-back to Aircall turned off**. Newly scored calls post nothing, and notes waiting for a retry are dropped. Notes already in Aircall stay there.

APX also posts nothing while the integration is **Paused**, **Errored** or **Disconnected**, even with the switch on. A note waiting for a retry stays at **Not posted yet · retrying** until the integration is syncing again.

## Uninstall and reconnect

If you uninstall APX in the Aircall Dashboard, APX notices on its next check (within a minute or two):

- The integration shows **Disconnected**, and APX stops checking for calls.
- The people who manage your workspace get one email saying Aircall was disconnected.
- Calls and analyses already in APX stay.

To reconnect, open the integration and select **Reinstall Aircall**, or install again from the Aircall Dashboard. The same integration reconnects with its name, settings and call history, and you see **Aircall reconnected**. To rename it, use **Rename** on the integration page.

Deleting the integration in APX stops calls coming in but doesn't uninstall APX in Aircall. If you're done with APX, uninstall it in the Aircall Dashboard as well.

For an API-key integration, deleting or replacing the key in Aircall has the same effect: **Disconnected**. Restore the key and select **Test connection**, or delete the integration and connect again with a new key.

## Troubleshooting

**Calls are in Aircall but not in APX.** Check the call was answered and has a recording in Aircall, and that the integration isn't **Paused**, **Errored** or **Disconnected**. Calls from before you connected aren't imported.

**Sync events shows "Aircall asked us to slow down".** Aircall limits how many requests all the apps on your Aircall account can make each minute, and other apps share that limit with APX. APX keeps trying. If it can't get through for about 20 minutes, the integration shows **Errored**; select **Test connection** once the other apps are quieter.

**Sync events shows "Too many new recordings at once".** More calls arrived than APX reads in one check, so some may arrive late or be missed. Contact support if a call is missing.

More fixes: [Troubleshooting](/docs/integrations/troubleshooting).
