Legacy Dev Forum Posts

 View Only

Sign Up

"Available Users" Data Action

  • 1.  "Available Users" Data Action

    Posted 06-05-2025 18:29

    Nicholas_Trujillo | 2024-01-10 15:22:36 UTC | #1

    Hello!

    We used to have a custom data action for web messaging that was called GET Available Users. Pretty self-explanatory but when a customer chatted in, it would check the respective Q to see if well, any agents were available. If it returned 0 then it would send the customer a message and say no agents are available, etc. Well, it got deleted somehow, and now I do not know how to get it back. I know how to add integrations and custom data actions, but I do not know any of the variables and whatnot, that I need for it to work correctly. I checked the App Foundry, as that is where we got a lot of our custom data actions, but no go. Is anyone else using this action or something similar and would be willing to share the JSN for it?


    IntegrationsRUs | 2024-01-13 16:30:02 UTC | #2

    I attached a action which queries the queue for agents on queue. This doesn't mean those users are available but that they are on queue. Are you looking for number of agents available or number of agents on queue?

    GetAgentsOnQueueByQueue-20240113112748.custom.json|attachment (2.0 KB)


    IntegrationsRUs | 2024-01-13 16:51:09 UTC | #3

    I created another version which will get the number of idle agents in the queue if that is what you are looking for instead.

    GetAgentsIdleByQueue-20240113115012.custom.json|attachment (1.9 KB)


    Nicholas_Trujillo | 2024-01-17 21:11:59 UTC | #4

    The second one was EXACTLY what I was looking for! Thank you very much. I added it and tested it and it works as it should!


    Nicholas_Trujillo | 2024-01-17 21:14:25 UTC | #5

    You wouldn't happen to know anything about the Estimated Wait Time and if it works with Web Messaging? I have it set up and it semi-works, but only tells the customer their wait time is 5 minutes, but does not go up or down in wait time, from there. Here is what I have set up in Architect.


    system | 2024-02-16 21:15:07 UTC | #6

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


    This post was migrated from the old Developer Forum.

    ref: 24047