Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Not able to identify intent using ASK FOR INTENT for collecting account number

    Posted 07-22-2025 13:09
    No replies, thread closed.

    Hi Team,
    I am working on Genesys Bot flow where i need to collect and classify account number based on their length 6 digit ,8 digit , 10 digit etc.

    Initially i tried using multiple intent (eg. sixdigitintent, eightdigitintent , tendigitintent) with regex based slot types ,however it is misclassification when user enters the number .For example , if user enters 8 digit in ask for intent , still it sometimes identifies sixdigitintent which is wrong.
    I explored using ask for intent block to capture number but unable to classify numeric utterances with its length ,please let me know any best practice to achieve this functionality.
    Thanks for help in advance.


    #ConversationalAI(Bots,AgentAssist,etc.)

    ------------------------------
    Shubham Dhareshwar
    NA
    ------------------------------


  • 2.  RE: Not able to identify intent using ASK FOR INTENT for collecting account number

    Posted 07-22-2025 13:52
    No replies, thread closed.

    Hello Shubham,

    You may want to revisit your regex. If you are searching for a 6 digit number, it will be found within an 8 or 10 digit number. 

    For instance, ^[0-9]{6} will check for a 6 digit number at the beginning of a line. This will include the first 6 digits of an 8 and 10 digit number as well.

    If you are looking specifically for ONLY 6 digits, you would need something like this ^[0-9]{6}$ to exclude any further digits afterwards. I've included a link to regex101 for both of those expressions that show how the expressions will include and exclude a few different digit lengths.



    ------------------------------
    Jason Kleitz
    Online Community Manager/Moderator
    ------------------------------



  • 3.  RE: Not able to identify intent using ASK FOR INTENT for collecting account number

    Posted 07-23-2025 03:13
    Edited by Shubham Dhareshwar 07-23-2025 03:14
    No replies, thread closed.

    Thanks for the reply Jason.
    Initially the regex that i was using was ^\d{6}$ and still it was not working .Now as per your suggestion i used ^[0-9]{6}$ as well still the issue persists the same. It is not classifying as the utterances are numeric for all intents ,might be Genesys inbuilt NLU model not able to classify.
    Could you please help me further solution as I am doing the correct regex pattern earlier as well.



    ------------------------------
    Shubham Dhareshwar
    NA
    ------------------------------



  • 4.  RE: Not able to identify intent using ASK FOR INTENT for collecting account number
    Best Answer

    Posted 07-23-2025 09:25
    No replies, thread closed.

    Hello Shubham,

    You may need to open a case with Product Support so that they can check what is happening on the backend. Please share your case number so that I can monitor the issue as well.



    ------------------------------
    Jason Kleitz
    Online Community Manager/Moderator
    ------------------------------



  • 5.  RE: Not able to identify intent using ASK FOR INTENT for collecting account number

    Posted 07-24-2025 19:05
    Edited by Cameron Stone 07-24-2025 19:06
    No replies, thread closed.

    Hi Shubham,

    This sounds like an issue we had when we originally moved our IDV into a Genesys bot, we ended up switching to and "Ask for Slot" action instead of an "Ask For Intent" action as this appears to pick up digits better than an Ask for Intent action.

    If you do it this way then change the regex look for between 6 and 10 digits, then have a switch after the Ask for Slot, to determine the next step based on the length of the slot e.g Length(Slot.AccountNumber) == 6

    this might work for your situation.



    ------------------------------
    Cam Stone
    ------------------------------