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
------------------------------
Original Message:
Sent: 07-23-2025 03:13
From: Shubham Dhareshwar
Subject: Not able to identify intent using ASK FOR INTENT for collecting account number
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
------------------------------
Original Message:
Sent: 07-22-2025 13:51
From: Jason Kleitz
Subject: Not able to identify intent using ASK FOR INTENT for collecting account number
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