Skip to content

LivePersonInc/agent-sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent sample app

Agent simulator app. This is a virtual agent simulator built over the Chat Agent API. In this demo the simulator implements the following Chat Agent API endpoints:

  • LiveEngage login
  • LiveEngage session refresh
  • Set availability to online
  • Create agent session
  • Check for incoming chats
  • Accept chat invitation and start chat session (if there is a chat waiting in queue)
  • Chat polling (wait to get messages from visitor)
  • Send line
  • End the chat when the transcript is over

Prerequisites

  • Create LiveEngage site
  • Ensure you have a user for this simulator (you will need a username and password)

Installation

  • Run npm install

Getting Started

  1. Run npm start
  2. Enter account ID
  3. Enter agent username
  4. Enter agent password
  5. Go to visitor test page, enter your site ID in the url and refresh the page
  6. Click to start chat
  7. Send the first message from the visitor side
  8. Wait for the agent response
  9. Follow steps 7 and 8 until the simulator ends the conversation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published