Connecting Genesys Cloud

Erlangly connects to Genesys Cloud itself: it listens to your agents' presence and routing status as they change (for adherence and the wallboard) and reads your queues' volumes every 15 minutes (for forecasting), with the last 13 weeks when you first connect. It only reads, and it connects out to Genesys, so nothing on your network has to be reachable from the internet. It's built from Genesys's API documentation: if anything looks wrong, the connection's page has a diagnostics file to send us.

1. In Genesys Cloud: a role and an OAuth client

  1. A Genesys admin opens Admin → People & Permissions → Roles / Permissions and adds a role named Erlangly with only these permissions, all View: Directory → User, Presence → Presence Definition, Routing → Queue and Analytics → Conversation Aggregate.
  2. Admin → Integrations → OAuth → Add Client: name it Erlangly, choose the Client Credentials grant, and give it the Erlangly role (in your home division).
  3. Save, and copy its Client ID and Client Secret.

2. In Erlangly: connect

Erlangly's form for connecting Genesys Cloud: the region, and the OAuth client's ID and secret.
Settings → Connections → Add a connection → Genesys Cloud.
  1. Settings → Connections → Add a connection → Genesys Cloud. Choose your region: it's in the address you sign in at (apps.mypurecloud.com is Americas (US East), apps.cac1.pure.cloud is Canada, apps.mypurecloud.ie is EMEA (Dublin)…). Paste the client ID and secret. Erlangly checks them with Genesys before saving.
  2. State codes: each combination of routing status and presence comes mapped: on queue and idle → Available, interacting → On a call, not responding → Aux, and off queue by presence (Break, Meal → Lunch, Meeting, Training, Offline). Your own presences come as reasons. Check them, and change any that mean something else on your floor. After-call work counts as On a call for now.
  3. Agents link by email the first time: someone active in Erlangly with the same email as in Genesys. Anyone else shows up on New on your ACD to match by hand.
  4. Queues: a Genesys queue that takes calls and chats is listed once for each (messages count as chats), so each can feed its own line of business. A queue with no contacts in the last 4 weeks, as on a new organization, is listed once, with No traffic yet: you can choose its line of business now, and the channels its first contacts come on will feed that line of business, with nothing more to choose. If it starts taking another channel later, that channel is listed on its own when you read the queues again. A queue that goes quiet keeps the lines of business it feeds. Callbacks aren't counted, so a queue that takes only callbacks shows No traffic yet.
  5. Volumes: once a queue feeds a line of business, Erlangly reads its last 13 weeks right away, then every 15 minutes. In the same report it asks Genesys how many were answered within your line of business's own target time, and abandoned within your target's short abandons where it counts them, so Intraday shows service level against your target, whatever service level the queue itself is set to.
A Genesys Cloud connection's page in Erlangly: when it started listening, and each Genesys queue, once for each channel it takes with the line of business it feeds.
The connection's page: each Genesys queue, once for each channel it takes, and the line of business it feeds.
Genesys Cloud's state codes in Erlangly: routing status while on queue, and presence while off it, each with the state it means.
State codes as they come mapped: routing status while on queue, and presence while off it. Change any that don't fit your center.

The connection's page shows whether Erlangly is listening, when the last status change came, and what Genesys sent (emails and names masked, presence messages left out). If Genesys refuses the connection or turns down agents' status, it says why (a missing permission, by name), and keeps trying.