Skip to content

MyPureCloud/queue-notifications-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Queue Notifications Example

TLDR;

A web page that allows a user to subscribe to queue notificaitons and displays active conversations.

Try it now with your mypurecloud.com credentials at https://mypurecloud.github.io/queue-notifications-example/src/

screenshot

Running the app

Prerequisites

  • Node.js
  • http-server node package
  • SSL certificates (instructions to generate them below)
  • A PureCloud Engage org
    • With a working edge for telephony
    • With at least one queue set up for inbound ACD
    • With at least one user configured to handle ACD calls from the queue

Setup

  1. Clone this repo locally
  2. Generate SSL certificates for http-server to use HTTPS (recommended tutorial)
  3. Install http-server globally: npm install http-server -g
  4. Change the environment in main.js if you need to connect to another PureCloud environment.
  5. If using a different environment or redirect URL, you will also need to provide your own client ID and redirect URL.
  6. Run the server from the repo directory
  7. In the OSX terminal: sh server.sh
  8. For non-shell environments, inspect server.sh to see the http-server command to start the web server. The path to the certificates and the ability to turn of HTTPS can be changed here also.

Using the app

  1. Navigate to the page: https://localhost:8443/
  2. This app is also hosted on Github Pages for access without running locally: https://mypurecloud.github.io/queue-notifications-example/src/
  3. If not already authenticated, you will be redirected to log in to PureCloud.
  4. The list of queues will be populated at the top of the page. Scroll through the list and click the subscribe button to subscribe to the desired queues.
  5. Place calls into the queues to see the display populate.
  6. Inspect the JavaScript console to see some relevant trace messages.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published