Genesys Cloud - Main

 View Only

Sign Up

Expand all | Collapse all

Last agent routing

  Thread closed by the administrator, not accepting new replies.
  • 1.  Last agent routing

    Posted 06-06-2023 06:36
    No replies, thread closed.

    Is it possible to disable the default last agent routing? 

    When an agent has answered a message via the configurated facebook messenger there is a threading timeline of 72 hour. This also means that the agent gets the interaction back even thou the agent is not active on the queue any more if there is a new message in the interaction within the 72 hours. 

    The interaction will now be routed to the previous agent if the agent is on-queue (queue membership is not taken into consideration). 

    I would like to keep the threading timeline of 72 hours but disable the last agent part of the routing if that is possible?


    #Routing(ACD/IVR)

    ------------------------------
    Petter Magnesen
    Nextgentel AS
    ------------------------------


  • 2.  RE: Last agent routing

    Posted 06-06-2023 18:04
    No replies, thread closed.

    Hey Petter, 

    You can create a user (that is never used or logged in so wouldn't take a license) and then set up preferred agent routing to always go to that userID. Then as it will never be able to see that user online, it will default to your next type of routing and drop the last agent part. 



    ------------------------------
    Lawrence Drayton
    Prvidr Pty Ltd
    ------------------------------



  • 3.  RE: Last agent routing

    Posted 06-07-2023 03:33
    No replies, thread closed.

    Thank you! Got it working with the preferred agent routing.



    ------------------------------
    Petter Magnesen
    Nextgentel AS
    ------------------------------



  • 4.  RE: Last agent routing

    Posted 06-30-2023 12:28
    No replies, thread closed.

    Hello Lawrence,

    First of all, thanks for the great idea, I always like seeing ingenuity like this :)

    I am trying to achieve the same intent and have just set up routing for our WhatsApp's to a 'default preferred agent' which is has never logged in as you have described. However, when I have tested this and looked at the analytics API it seems that it is still using "last" routing, even though the agent score pair is listed there as well. It just doesn't seem to try routing to that preferred agent.

    I have checked the queue is set up on preferred agent routing then spills out to bullseye routing.

    Do you know if there has been a change where Genesys native behaviour will default to "last" routing if it sees the preferred agent is not online?

    Any other thoughts? 

    Many thanks for your help.



    ------------------------------
    Russell Price
    GREENMILL SUPPLY COMPANY LIMITED
    ------------------------------



  • 5.  RE: Last agent routing

    Posted 07-01-2023 00:26
    No replies, thread closed.

    Hey Russell, 

    Thanks! Let's see if we can nut this down - 

    To test, have you tried doing the same on a normal web message interaction and see if it repeats itself by using the last agent routing still? If this is the case, there might be an error in the flow setup when creating the agent score pair, though I expect not as it would be hard coded - but just going down the list of cases. It also sounds like you've got the queues set up correctly too, which is exactly what I have set up in my orgs for these scenarios, though I have the second step as standard routing after. If you wanted to share a screenshot of your flow where you make the agent score pair I can take a look. And even throw this into a test queue of my own to try and replicate. 



    ------------------------------
    Lawrence Drayton
    Prvidr Pty Ltd
    ------------------------------



  • 6.  RE: Last agent routing

    Posted 07-03-2023 07:05
    No replies, thread closed.

    Thanks Lawrence.

    I have just copied the logic to the web message flow and I'm having the same results. Please see attached screenshots of the transfer to queue action (the agent score pair is hard coded straight into the action), the workspace report and the queue configuration.

    Note that on the Workspace report it says that preferred agents were requested and it has correctly listed the name of the agent ("Default Preferred Agent"), however, when looking at the analytics API (see below customer participant code) it shows that it has requested and used "last" routing the second time I messaged in. When looking at the ACD participant code on the API, you can see the agent score pair is listed.

    I also have debug logging set up in the flow and can track that it is following the correct path to the transfer to queue action.

        {

          "externalContactId": "--redacted--",

          "participantId": "--redacted--",

          "purpose": "customer",

          "sessions": [

            {

              "addressFrom": "--redacted--",

              "addressTo": "--redacted--",

              "agentBullseyeRing": 1,

              "direction": "inbound",

              "journeyCustomerId": "--redacted--",

              "journeyCustomerIdType": "cookie",

              "journeyCustomerSessionId": "--redacted--",

              "journeyCustomerSessionIdType": "web",

              "mediaType": "message",

              "messageType": "webmessaging",

              "peerId": "--redacted--",

              "provider": "PureCloud Messaging",

              "requestedRoutings": [

                "Bullseye"

              ],

              "routingRing": 1,

              "selectedAgentId": "--redacted-- ID ending: 1176",

              "sessionId": "--redacted--",

              "usedRouting": "Bullseye",

              "metrics": [

                {

                  "emitDate": "2023-07-03T10:23:18.270Z",

                  "name": "nConnected",

                  "value": 1

                },

                {

                  "emitDate": "2023-07-03T10:24:46.776Z",

                  "name": "tConnected",

                  "value": 88506

                }

              ],

              "segments": [

                {

                  "conference": false,

                  "disconnectType": "peer",

                  "queueId": "--redacted--",

                  "segmentEnd": "2023-07-03T10:24:46.776Z",

                  "segmentStart": "2023-07-03T10:23:18.270Z",

                  "segmentType": "interact"

                }

              ]

            },

            {

              "addressFrom": "--redacted--",

              "addressTo": "--redacted--",

              "direction": "inbound",

              "journeyCustomerId": "--redacted--",

              "journeyCustomerIdType": "cookie",

              "journeyCustomerSessionId": "--redacted--",

              "journeyCustomerSessionIdType": "web",

              "mediaType": "message",

              "messageType": "webmessaging",

              "peerId": "--redacted--",

              "provider": "PureCloud Messaging",

              "requestedRoutings": [

                "Last"

              ],

              "selectedAgentId": "--redacted-- ID ending: 1176",

              "sessionId": "--redacted--",

              "usedRouting": "Last",

              "metrics": [

                {

                  "emitDate": "2023-07-03T10:26:10.114Z",

                  "name": "nConnected",

                  "value": 1

                },

                {

                  "emitDate": "2023-07-03T10:26:40.476Z",

                  "name": "tConnected",

                  "value": 30362

                }

              ],

              "segments": [

                {

                  "conference": false,

                  "disconnectType": "peer",

                  "queueId": "--redacted--",

                  "requestedRoutingUserIds": [

                    "--redacted-- ID ending: 1176"

                  ],

                  "segmentEnd": "2023-07-03T10:26:40.476Z",

                  "segmentStart": "2023-07-03T10:26:10.114Z",

                  "segmentType": "interact"

                }

              ]

            }

          ]

        },

    -------------------------------------------------------------------------------------

        {

          "participantId": "--redacted--",

          "purpose": "acd",

          "sessions": [

            {

              "addressFrom": "--redacted--",

              "addressTo": "--redacted--",

              "direction": "inbound",

              "flowInType": "workflow",

              "mediaType": "message",

              "messageType": "webmessaging",

              "peerId": "--redacted--",

              "provider": "PureCloud Messaging",

              "remote": "Guest",

              "requestedRoutings": [

                "Last"

              ],

              "selectedAgentId": "--redacted-- ID ending: 1176",

              "sessionId": "--redacted--",

              "flow": {

                "flowId": "--redacted--",

                "flowName": "Drop into Hold",

                "flowType": "INQUEUESHORTMESSAGE",

                "flowVersion": "3.0",

                "startingLanguage": "en-gb"

              },

              "metrics": [

                {

                  "emitDate": "2023-07-03T10:26:12.516Z",

                  "name": "nOffered",

                  "value": 1

                },

                {

                  "emitDate": "2023-07-03T10:26:16.194Z",

                  "name": "tAcd",

                  "value": 3678

                }

              ],

              "segments": [

                {

                  "conference": false,

                  "disconnectType": "transfer",

                  "queueId": "--redacted--",

                  "requestedRoutingUserIds": [

                    "--redacted-- ID ending: 1176"

                  ],

                  "segmentEnd": "2023-07-03T10:26:16.194Z",

                  "segmentStart": "2023-07-03T10:26:12.516Z",

                  "segmentType": "interact",

                  "scoredAgents": [

                    {

                      "agentScore": 100,

                      "scoredAgentId": "--redacted-- ID ending: 63c1"

                    }

                  ]

                }

              ]

            }

          ]

        }

    -----------------------------------------------

    -----------------------------------------------

    -----------------------------------------------

    -----------------------------------------------

    -----------------------------------------------

    Many thanks for your help on this.



    ------------------------------
    Russell Price
    GREENMILL SUPPLY COMPANY LIMITED
    ------------------------------



  • 7.  RE: Last agent routing

    Posted 07-04-2023 08:14
    No replies, thread closed.

    Have you added the dummy user to the queue?

    From another thread it seems you need to do that for it to work.



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------



  • 8.  RE: Last agent routing

    Posted 07-05-2023 08:04
    No replies, thread closed.

    Thanks Jan, that's worked. It's always the simple things :D

    For anyone wanting to use this functionality its worthwhile noting that the routing doesn't immediately move on to the standard routing when it sees the preferred agent is not online, it will wait the full specified preferred agent routing duration as set in the queue first. This means there will be some delay to every interaction using this routing method (the shortest preferred agent routing duration is 2 seconds, but you may be using preferred agent routing for other purposes and have a longer duration set). In most cases a 2 second delay shouldn't matter but worthwhile noting.

    Thanks for your help all.



    ------------------------------
    Russell Price
    GREENMILL SUPPLY COMPANY LIMITED
    ------------------------------



  • 9.  RE: Last agent routing

    Posted 07-06-2023 08:12
    No replies, thread closed.

    All - please note that we do have an idea on the backlog to 'turn off' Last Agent Routing by default.  I don't have an ETA but I know this is something that would bring some relief so I'm hopeful we can get to it some time this year.

    Feel free to vote on and follow this idea:  https://genesyscloud.aha.io/ideas/ideas/INB-I-1307



    ------------------------------
    Chris Bohlin
    Sr. Director - Product Management
    Genesys Cloud
    ------------------------------



  • 10.  RE: Last agent routing

    Posted 07-06-2023 08:56
    No replies, thread closed.

    Hi,

    Personally I would much rather see an option for Last Agent Routing to require the agent to be on-queue in the target queue, than turning the feature off.
    If the agent isn't in the queue they should no longer be considered for Last Agent routing.

    Now we have to build this logic with Preferred routing.



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------



  • 11.  RE: Last agent routing

    Posted 07-17-2023 11:12
    No replies, thread closed.

    Not out of the question, Jan.  As we explore implementing this - we can see what optionality we can introduce.  



    ------------------------------
    Chris Bohlin
    Sr. Director - Product Management
    Genesys Cloud
    ------------------------------



  • 12.  RE: Last agent routing

    Posted 07-18-2023 08:35
    No replies, thread closed.

    Sounds to me like there needs to be several options. (Turn it off, Turn it on only if Agent is Online and On Queue, Turn it on if Agent is Online regardless of Queue Status Turn on always and so on. There may even be opportunity to link to WFM and consider scheduled agent activity - Turn on if agent is due on queue within the next X minutes....)

    Given the asynchronous nature of some of these interactions,  can see that you won't find a "one size fits all" solution and whatever you do, someone will say "but in THIS instance...."



    ------------------------------
    Paul Simpson
    Eventus Solutions Group
    ------------------------------



  • 13.  RE: Last agent routing

    Posted 11-03-2023 02:27
    No replies, thread closed.

    Is this "feature" properly described anywhere 'cos I haven't found it.

    How long will it wait for that LAST Agent?

    Adding a dummy Agent to the mix means we have to tell people to ignore Dummy when they look at their views etc. 

    Poor design decision which may be why there's little documentation?



    ------------------------------
    Angus Huckle
    Spark New Zealand Trading Limited
    ------------------------------



  • 14.  RE: Last agent routing

    Posted 11-08-2023 04:32
    No replies, thread closed.

    This isn't a proper feature, just a workaround brainchild of some frustrated administrators :).

    The length of time it tries the dummy agent is down to how you configure the queue routing. I have configured it to route to preferred agents and try them for the shortest possible time (2 seconds), then timeout to my main routing method which is Bullseye. This means there will essentially be a 2 second delay built into the call routing as it tries the dummy agent for 2 seconds before progressing with your actual routing strategy.

    You are correct that the dummy agent shows up on views, however, we haven't had any reports of this being frustrating or an issue to either team leaders or users.

    And lastly,  I'm afraid that this thread is the only documentation you'll find on this 'feature'. Good luck :D



    ------------------------------
    Russell Price
    GREENMILL SUPPLY COMPANY LIMITED
    ------------------------------



  • 15.  RE: Last agent routing

    Posted 11-08-2023 10:59
    No replies, thread closed.

    I have it working with a Dummy Argent thanks to here.

    When I asked "How long will it wait for that LAST Agent?" I was hoping someone from Genesys would explain how the in-built feature works - how long it waits for the last Agent before moving.



    ------------------------------
    Angus Huckle
    Spark New Zealand Trading Limited
    ------------------------------



  • 16.  RE: Last agent routing

    Posted 11-08-2023 11:09
    No replies, thread closed.

    It won't wait for Last Agent, it will try another agent if the Last Agent isn't available, or if the they don't answer when available.



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------



  • 17.  RE: Last agent routing

    Posted 11-08-2023 11:24
    No replies, thread closed.

    That is not what we see. If the LAST Agent is online but not on queue/that specific queue/no longer handling messages, it sits and waits until someone does something.

    Hence my other question....
    "Is this "feature" properly described anywhere 'cos I haven't found it." And by "feature" I mean Genesys Last Agent Routing, not the Dummy Agent workaround.



    ------------------------------
    Angus Huckle
    Spark New Zealand Trading Limited
    ------------------------------