Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Resume web messaging conversation - skip bot

    Posted 11-18-2024 14:42
    No replies, thread closed.

    I have an inbound messaging flow that hands off to a digital bot to collect customer info and context so the flow can then route to the appropriate queue. If the customer steps away and the agent closes the conversation we have the threading timeline open for 72 hours. The problem is when the customer resumes the conversation the bot kicks in and they have to go all through the bot to get to another agent.

    I know about Message.IsNewConversation but how can I make sure the customer is routed to the correct queue the second time? I can skip the bot if the Message.IsNewConversation = false but then what? Do I need to verify that the participant data is still set and if not ask them again? How can I make sure this conversation goes to the right queue/agent as needed?


    #ArchitectureandDesign
    #DigitalChannels

    ------------------------------
    Kyle Russell
    Senior Manager of Sales Technology
    ------------------------------


  • 2.  RE: Resume web messaging conversation - skip bot

    Posted 11-18-2024 18:41
    No replies, thread closed.

    Hi @Kyle Russell,

    You can add a new Data Action to check if there is an "acd" participant in case this is not a new conversation. The API you can use is https://developer.genesys.cloud/devapps/api-explorer-standalone#get-api-v2-analytics-conversations--conversationId--details. Then, in a false branch of Decision with expression Message.IsNewConversation add this Data Action and route the conversation to a queue found in response. 



    ------------------------------
    Tatjana Knezevic

    www.startelecom.cloud

    https://www.linkedin.com/company/star-telecom-www-startelecom-ca-/
    ------------------------------



  • 3.  RE: Resume web messaging conversation - skip bot

    Posted 11-19-2024 09:11
    No replies, thread closed.

    Hi - Indeed, you could leverage Participant Data for that purpose.



    ------------------------------
    Angelo Cicchitto
    Genesys - Employees
    ------------------------------



  • 4.  RE: Resume web messaging conversation - skip bot

    Posted 11-19-2024 11:00
    No replies, thread closed.

    Did you set up preferred agent routing on the queue?  I know with callback, that is required to get it back to the same agent.  It might be required for the threading with messaging now as well.  Like Tatjana wrote, you can look at the conversation for the existing ACD participant and get the ID/Name.



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 5.  RE: Resume web messaging conversation - skip bot

    Posted 11-19-2024 13:56
    No replies, thread closed.

    What appears to be happening is that when the customer resumes the conversation the bot starts again (bc we didn't check to see if IsNewConversation) and when they pick a different context value and we use it in the Transfer to ACD task things get...weird. The agent that was previously assigned is who the conversation is routed to BUT within the newly selected queue even though the agent isn't part of that queue. If you view the interaction dashboard you can see this record but it's greyed out. How can a conversation be routed to an agent who doesn't belong to a queue the interaction belongs to?

    What we're looking to put in is a check at the beginning for IsNewConversation and if false...ask the customer if they want to resume their conversation or start over.

    1. If they decide to start over how can I make sure the agent and queue details on the conversation are cleared?
    2. If they decide to resume the conversation how do I make sure the Transfer to ACD has the right inputs? If the previous agent is unavailable does it then route to anyone in the previous queue?

    I checked the API and all the PATCH operations for Conversations but none of them jumped out as what I needed. Thanks



    ------------------------------
    Kyle Russell
    Senior Manager of Sales Technology
    ------------------------------



  • 6.  RE: Resume web messaging conversation - skip bot

    Posted 11-19-2024 15:13
    No replies, thread closed.

    I think yes out of the box, digital channels are routed to the previous agent if they are available, if not then it will find the next agent in the queue, but when it looks for that previous agent it doesn't care if they are still on the same queue. 

    From a WEM perspective, if they were on the queue, then they are skilled to handle the interaction, and if they are available isn't it a better customer experience to have the same person responding back?

    From: https://help.mypurecloud.com/articles/about-acd-email-routing/

    But your question is, how do I make it not do that?

    Have no idea if this would work, but since Preferred Agent Routing bypasses the built in last agent routing, can you use preferred agent routing and pick no one, or someone that is always invalid, Which then looks at the wider group.  

    As for clearing the values.. Might be easier with open messaging maybe (haven't done this so purely speculative) to link a specific response/button to creating a new conversation instead. With WebMessaging not so sure.



    ------------------------------
    Anton Vroon
    ------------------------------



  • 7.  RE: Resume web messaging conversation - skip bot

    Posted 11-19-2024 15:45
    Edited by Kyle Russell 11-19-2024 15:47
    No replies, thread closed.

    We're not using preferred agent routing - just standard routing with no skills.

    If the customer wants to resume the convo and I allow them to skip the bot, then what values do I places into the Transfer to ACD task? It requires a queue but at the beginning of the flow I only know this is an existing convo. Would I need a Data Action to pull the queue ID from the API by looking up for conversation?

    If the customer doesn't want to resume the convo then we're still a bit stuck. In the original convo they asked for Tech Support so were routed to the TS queue. Now in this resumed convo, the bot guides them through options and this time they want the B2B queue. How do I send this resume convo back to the ACD but to a completely different queue and hopefully new agent? This is where we end up with the resumed convo going to the previous agent (bad) but the new queue (good). I need a way to clear the original queue and agent values.



    ------------------------------
    Kyle Russell
    Senior Manager of Sales Technology
    ------------------------------



  • 8.  RE: Resume web messaging conversation - skip bot
    Best Answer

    Posted 11-19-2024 18:41
    No replies, thread closed.

    Last Agent Routing is something that is there by default regardless of the routing method you select, this is explained in the following to links, and applies to Messages too:

    https://help.mypurecloud.com/faqs/why-is-an-email-routed-from-a-queue-to-an-agent-no-longer-in-that-queue/

    https://help.mypurecloud.com/articles/about-acd-email-routing/

    There isn't an off switch that I know off. 

    So to solve your two use cases

    1st one for a returning customer continuing the same conversation. - If you set participant data the first time round you could look that up assuming it is available on subsequent sessions that are part of the same conversation, otherwise as others have suggested use a Data Action to get the last queue.

    2nd one for returning customer wanting a new conversation.  - A few levers here, you really want to look out your threading timeline, and potentially allow customers to clear messages and encourage/educate them to do so when starting new conversations. If you are using Open Messaging instead then you might have some more flexibility there, but ideally you want new conversations for new topics. Otherwise and this is only in theory for me, by using Preferred Agent Routing, this cancels out the Last Agent Routing. So by using the feature you didn't want, you could actually achieve the outcome you want.

    I'm not sure if there are any other means of clearing the Last Agent Routing target.



    ------------------------------
    Anton Vroon
    ------------------------------



  • 9.  RE: Resume web messaging conversation - skip bot

    Posted 11-19-2024 18:47
    No replies, thread closed.

    Just wanted to add this Idea

    Disable Last Agent Routing - https://genesyscloud.ideas.aha.io/ideas/DIG-I-1161

    This is marked as Upcoming Development, so it is a feature being worked on, subscribe/vote to get updates as they are posted on the idea



    ------------------------------
    Anton Vroon
    ------------------------------