Show/Hide v2 widget based on queue schedules or agent availability

Are there any examples on how we could implement chat widget v2 on customer website that would be shown/hidden based on Genesys Cloud schedules or agent availability in Genesys Cloud queues?

This is quite essential functionality and some example code would save time as the widgets don't seem to have any functionality to implement this out-of-the-box.

I know there are API's to get this data but we are looking for a ready-made solution that would follow best practices to utilize these.

There's an open source project that demonstrates using a service to expose some limited data from APIs to a web frontend. It's using the v1 chat, but the concept is the same. https://github.com/MyPureCloud/public-stats-service

Thanks for the reply - but I think we would really need more up-to-date solution with example code using v2 widget.

Based on that open source project, does this also mean we or the customer need to host additional web service to make it work? Is there no way to implement these functions in chat widget v2 without need for additional services?

The sample you posted is also over 2 years old and seems to work with an injector to chat widget v1. Can we really use it with v2 without a lot of work? Seems lot of the code and instructions in that project are exclusive to v1 widget in the injector/widget side.

The concept is the same for either version and is what that project demonstrates. There isn't a drop in solution as what you're asking for isn't a product feature. You need to host a service that uses client credentials to access private Genesys Cloud information that's protected behind authenticated APIs. This service can then expose the data in a controlled manner to your website. How you make that data available to your website is up to you; you can do it like the project demonstrates by hosting a service with a REST API, or you could build that functionality into a web backend that you already have; this cannot be done via a frontend web app because your web guests do not have Genesys Cloud credentials to make authorized API requests.

If you need assistance implementing such a solution, Genesys Professional Services can be contracted to build it for you. Your account rep can engage PS to get that contract started.

Additionally, you can request new features and share your use case at https://purecloud.ideas.aha.io/ideas.

Thanks, we will need to evaluate our options as to how to implement this in the best way for the customer. Best solution for us would be if the widget would have this data exposed to frontend without need for additional services.

It's also not so much about needing assistance in implementing it, but considering the amount of cost it adds to the solution when we need to design and implement this feature that many customers see as basic functionality of chat channel, the product becomes harder for us to sell.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.