Genesys Cloud - Main

 View Only

Sign Up

Expand all | Collapse all

Bot is skipping first Ask Slot despite Clear slot and Slot variable NOT_SET

  Thread closed by the administrator, not accepting new replies.
  • 1.  Bot is skipping first Ask Slot despite Clear slot and Slot variable NOT_SET

    Posted 10-18-2023 19:34
    No replies, thread closed.

    The long and short is my bot is supposed to ask for first name, last name, phone, and email, but sometimes it skips the first name ask and sometimes it doesn't. I even have logic set to see if the slot is defined and if not to ask the question if the question is skipped, but it skips that too and goes straight to last name. The initial point goes directly to this task/state.


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

    ------------------------------
    Nathan McKay
    Insite Support Services, Inc.
    ------------------------------


  • 2.  RE: Bot is skipping first Ask Slot despite Clear slot and Slot variable NOT_SET

    Posted 10-18-2023 19:57
    No replies, thread closed.

    Are you sure it is not hearing background noise?  Do you see it hearing anything in the utterance history?



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



  • 3.  RE: Bot is skipping first Ask Slot despite Clear slot and Slot variable NOT_SET

    Posted 10-18-2023 20:10
    No replies, thread closed.

    Ah, I should have clarified, this is a Web Messenging/digital bot.



    ------------------------------
    Nathan McKay
    Insite Support Services, Inc.
    ------------------------------



  • 4.  RE: Bot is skipping first Ask Slot despite Clear slot and Slot variable NOT_SET

    Posted 10-18-2023 20:46
    No replies, thread closed.

    Yes, that would make a difference.  When calling the bot, are you sending in initial text?  Is First_Name set as an Input variable and is it possible that is being set?



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



  • 5.  RE: Bot is skipping first Ask Slot despite Clear slot and Slot variable NOT_SET

    Posted 10-19-2023 09:41
    Edited by Nathan McKay 10-19-2023 09:43
    No replies, thread closed.

    Best I can tell, first name is not a input variable defined before this state/task. If it was (And Ill be the first to admit, I am stumbling through this a bit), shouldn't the clear slot function resolve such? Variable locations are in the below pictures:

    The variable itself--All 3 of the spots it references are in the first post

    Bot--All variables

    Flow that calls the bot --All variables

    Arch Flow action that calls the bot ?including variables digested by such?

    As for the the initial text, I wondered about that too so I tried having it ask for phone number first thinking that due to the regex that is present, if it was intercepting the initial text and using that as the answer, it should complain because the initial text would not be in the format expected but it didn't, so I'm ?Guessing? that is not going on, although I can't say that for sure as my test may be flawed in a way I didn't anticipate. 



    ------------------------------
    Nathan McKay
    Insite Support Services, Inc.
    ------------------------------



  • 6.  RE: Bot is skipping first Ask Slot despite Clear slot and Slot variable NOT_SET

    Posted 10-22-2023 23:51
    No replies, thread closed.

    Did you get anywhere with this?  I might suggest putting a communication step before the ask.



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



  • 7.  RE: Bot is skipping first Ask Slot despite Clear slot and Slot variable NOT_SET

    Posted 10-23-2023 00:09
    Edited by Nathan McKay 10-23-2023 00:10
    No replies, thread closed.

    There is a communication step before it on a different step that introduces the bot--Its the only other thing before the asks on the bot. I am 80% sure its the clear slot step not working as intended or me not setting it up correctly. I have it setup now to display the name and other details on a script and found that even when it skips the first name ask, it shows up in the script. (The slot exports to participant details). I also found that the rate of the issue appearing seems to be significantly less if the chat is set to auto start, but still occasionally occurs. 

    Everything points towards the slot being filled with a name from a prior attempt, but If I can't rely on clear slot I am rather confused on what to do.



    ------------------------------
    Nathan McKay
    Insite Support Services, Inc.
    ------------------------------



  • 8.  RE: Bot is skipping first Ask Slot despite Clear slot and Slot variable NOT_SET

    Posted 10-23-2023 00:55
    No replies, thread closed.

    Are you part of the Execution History beta?  It is not showing bots yet, but at least you would see what is passing between the bot and the flow.  Also, try saving as a different flow and/or export/import.  



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



  • 9.  RE: Bot is skipping first Ask Slot despite Clear slot and Slot variable NOT_SET

    Posted 10-23-2023 02:28
    Edited by Robert Niblock 10-23-2023 02:28
    No replies, thread closed.

    Hi Nathan,

    I've had the same issue myself and to get around this issue I've put a digital menu at the top of the bot flow.  People suggested to me to clear slot before the first slot and everything I tried, nothing worked.  Someone suggested a Digital menu first and after doing that, the skipping slot bug stopped.  I'd suggest altering your wording coming into this flow and using this in a digital menu.  

    Hopefully that will help.  



    ------------------------------
    Robert Niblock
    APM
    ------------------------------



  • 10.  RE: Bot is skipping first Ask Slot despite Clear slot and Slot variable NOT_SET

    Posted 10-25-2023 16:56
    No replies, thread closed.

    Hi Nathan,

    We had a similar issue but in our case the Bot always skipped the first question. Genesys suggested in the Call Digital Bot Flow to remove the default  message.message.body under 'Bot Input Text' and set it to no value. This fixed our issue. Not sure if that will help here but figured I'd post it. 



    ------------------------------
    Diana Godinez
    Bridgecrest Acceptance Corporation
    ------------------------------