Connecting Five9

Erlangly connects to Five9 itself: it follows your agents' states as they change, through Five9's statistics service, for adherence and the wallboard. It only reads, and it connects out to Five9, so nothing on your network has to be reachable from the internet. It's built from Five9's API documentation: if anything looks wrong, the connection's page has diagnostics to send us.

It also reads your skills' calls from a Five9 report you make once (step 3), every 15 minutes, for forecasting and Intraday: contacts, handle time, abandons, answer rate and service level against your own target.

1. In Five9: a user for Erlangly

  1. A Five9 admin makes a user for Erlangly and uses it for nothing else: Five9 allows one statistics session per user, so signing in with it elsewhere stops Erlangly's.
  2. They give it a supervisor role that can see all agents, for their live states.
  3. And an administrator role that can only view users and skills: Erlangly reads your agents' emails and your skills with it.
  4. And the Reporting role, to run the volume report (step 3).
  5. Note your domain's data center: the address you sign in at, such as app.five9.com for the US or app.five9.eu for the EU.

2. In Erlangly: connect

Erlangly's form for connecting Five9: the data center, and the username and password of the user made for Erlangly.
Settings → Connections → Add a connection → Five9.
  1. Settings → Connections → Add a connection → Five9. Choose the data center (US, Canada or EU), and enter the user's username and password. Erlangly signs in to check them before saving.
  2. State codes: Five9's states come mapped: Ready → Available; On Call, Ringing, On Hold and On Park → On a call; After Call Work → After-call work; Logged Out → Logged off. Five9 doesn't list its reason codes, so each Not Ready and Logged Out reason code is mapped the first time an agent uses it, by its name (Break and Lunch → Break, Training and Meeting → Aux…). Check them as they appear, and change any that mean something else on your floor.
  3. Agents link by email the first time: someone active in Erlangly with the same email as the Five9 user (Five9 usernames are often emails). Anyone else shows up on New on your ACD to match by hand. Erlangly reads Five9's users again every 30 minutes, for agents added since.
  4. Five9 only sends changes, so every few minutes Erlangly compares everyone's state again: an agent linked or a code mapped since counts right away.
A Five9 connection's page in Erlangly: listening since when, the last status change, and how many messages Five9 sent.
The connection's page: whether Erlangly is following Five9, and what Five9 sent.
Five9's state codes in Erlangly: Five9's states, and Not Ready and Logged Out by reason code, each with the state it means.
State codes as they come mapped: Five9's states, and Not Ready and Logged Out by reason code. Change any that don't fit your center.

The connection's page shows whether Erlangly is following Five9, when the last state change came, and what Five9 sent (people's emails and names masked). If Five9 refuses the username or password, it says so, with the data center to check, and keeps trying.

3. Volumes and service level

Five9's standard Call Log report doesn't say which skill a call was for, so Erlangly reads a report you make once from the same data.

  1. In Five9's reports, make a custom report from the Call Log data source with these columns: CALL ID, TIMESTAMP, SKILL, CALL TYPE, SPEED OF ANSWER, QUEUE WAIT TIME, TALK TIME, HOLD TIME, AFTER CALL WORK TIME and ABANDONED. No filters: Erlangly asks for the times it needs.
  2. Save it as Erlangly call log in a folder named Erlangly, and share it with Erlangly's user. Another folder or name works too: enter them on the connection's form.
  3. On the connection's page, under Queues, choose the line of business each Five9 skill feeds. Erlangly reads their last 13 weeks right away, a day a report, then every 15 minutes.

Erlangly counts each inbound call once, on the skill it first came in on, by when it came in: offered, handled, handle time (talk, hold and after-call work, on every leg of a transfer) and abandons.

Speed of answer gives the calls answered within your line of business's own target time, so Intraday shows service level against your target, and the time waited before hanging up gives short abandons where your target counts them. Five9 doesn't mark a call abandoned when the caller hung up sooner than its Speed of Answer minimum, so those aren't abandons here either.

Chats and emails aren't in the Call Log: import them, or send them through the API. If the report is missing, lacks a column, or Erlangly's user doesn't have the Reporting role, the connection's page says so.