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
- Create LiveEngage site
- Ensure you have a user for this simulator (you will need a username and password)
- Run npm install
- Run npm start
- Enter account ID
- Enter agent username
- Enter agent password
- Go to visitor test page, enter your site ID in the url and refresh the page
- Click to start chat
- Send the first message from the visitor side
- Wait for the agent response
- Follow steps 7 and 8 until the simulator ends the conversation