LivePersonInc / node-agent-sdk

LivePerson Agent Messaging SDK for NodeJS
MIT License
49 stars 78 forks source link

Retrieve Available Skills #50

Closed jminuscula closed 6 years ago

jminuscula commented 6 years ago

Hi,

I'm trying to get my bot query the available skills before transferring a conversation. It looks like there is an endpoint on the Chat Agent API to do this [1], but since bot conversations are on Messaging, there is no chatId to perform the query with.

What's the preferred way to get this information?

Thanks!

[1] https://developers.liveperson.com/agent-chat-agent-retrieve-skills.html

donmanguno commented 6 years ago

Hi @jminuscula, there is currently no comparable API method for messaging. The concept of skill availability in asynchronous messaging environment is quite different from that of traditional chat, so we are working on a new method for the Messaging Operations API that will return skill utilization information. I can't provide an ETA, but the new methods should be added to the documentation soon.

donmanguno commented 6 years ago

HI @jminuscula, the new methods have been published: https://developers.liveperson.com/data-messaging-operations-messaging-current-queue-health.html

In addition, we'll be releasing a new API for calculating estimated wait time of the target skill soon.

jminuscula commented 6 years ago

Thanks @donmanguno!