Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Interaction not disconnecting correctly during Architect flow

    Posted 08-08-2023 17:02
    No replies, thread closed.

    On our SMS channel, we have a bot that collects non-PII demographic data. After the inbound message flow validates that the person sent an appropriate keyword, a 1 question bot flow is called to request a language preference (1 for Eng, 2 for Esp) and then the demographic bot flow is called. The one field we require in the demographic blot flow is age since we don't provide digital services to people under the age of 13. In the digital bot flow, once the age slot is collected, it tests for >=13. If it is not, then it sets a flow variable in and returns to the flow. The calling inbound message flow evaluates the variable and if it contains a specific phrase indicating the person said they are younger than 13, then it sends a message informing them of our policy and gives them directions to call us or another child-specific helpline. It then goes to a disconnect action.

    Everything works fine, except if the person responds to our message with ANY words, it restarts the demographic bot flow all over again.  The Threading Timeline value for all of our messaging channels is disabled so it should be ending the interaction immediately and any new message should create a brand new interaction that starts with the language preference bot question.

    Has anyone see this behavior with the SMS channel?

    Thanks


    #ConversationalAI(Bots,AgentAssist,etc.)
    #DigitalChannels

    ------------------------------
    Marty Hand
    National Domestic Violence Hotline
    ------------------------------


  • 2.  RE: Interaction not disconnecting correctly during Architect flow

    Posted 08-08-2023 17:23
    No replies, thread closed.

    Small update. Turns out it is creating a new interaction but the 2nd interaction is not starting at the beginning of the inbound message flow. You can see the timeline headers show the difference. This is from the first one.

    and this is the second.  It isn't testing for the appropriate keyword either, which is the first thing in the flow.

     

    This has to be a bug, right? Just want to be sure I'm not missing something simple before I submit a trouble ticket.



    ------------------------------
    Marty Hand
    National Domestic Violence Hotline
    ------------------------------



  • 3.  RE: Interaction not disconnecting correctly during Architect flow

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

    Your first example seems to be calling a bot for language selection and the second does not.  Maybe the answer is how that second bot is called. Is the language bot exiting and then calling the other bot?  



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



  • 4.  RE: Interaction not disconnecting correctly during Architect flow

    Posted 08-08-2023 19:25
    No replies, thread closed.

    Thanks Robert. That is correct. Right after checking for a valid keyword, a one question bot runs to get the language. It then exits the bot and does some quick testing to be sure there are agents on queue in the appropriate language queue (Eng and Esp are separate queues.) Assuming it passes that test it then runs the demographic bot.

    Also, if I wait a couple of minutes and send a valid keyword from the same phone number, it works as expected and asks for the correct language again.



    ------------------------------
    Marty Hand
    National Domestic Violence Hotline
    ------------------------------



  • 5.  RE: Interaction not disconnecting correctly during Architect flow

    Posted 08-08-2023 19:48
    No replies, thread closed.

    Do you have a slot that is the same in both bots?  If you run just the second bot in front of the other, is it consistent?



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



  • 6.  RE: Interaction not disconnecting correctly during Architect flow

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

    You actually bring up a good point.  With Web Messaging, we have the ability now to end sessions (not including the session timeout) when the user disconnects the session, but with SMS, we don't have that option.  The session stays open for that 72 hours.  I know many times in demos when I try to send to myself, the system says that a session is open and I can't send the SMS.  Of course, I have no way of knowing without a lot of research what to disconnect to clear that or wait 72 hours.  If I reply in that timeout period, I either get a new bot session or continue where it left off.  There seems to be no rhyme or reason.  I think that if we are trying to create a consistent experience across all channels, we need to address this.  Asynchronis messaging has its benefits, but there are so many instances of the need for closing sessions on disconnect, especially from the agent side.  Perhaps routing other messaging channels through a messaging configuration is an option.  @Angelo Cicchitto, we should discuss this.

    As for your problem, what is the "any words" slot or Intent you have.  Is this a bot or just a messaging flow?  What it sounds like is the input you have is failing and the failure is set to go to a flow, possible the same flow.  Check the failure route in the options.  



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