Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Regular Expression for collecting 6 digit input using slot throwing error(Please remove restricted characters and try again)

    Posted 02-26-2025 09:42
      |   view attached
    No replies, thread closed.

    Hi,

    I am building a voice bot for collecting a 6 digit number using a regular expression. But when i put the regex it throws this error. Can someone guide me what i am doing wrong. I am attaching the error screenshot.

    regards,

    Mahesh


    #ConversationalAI(Bots,AgentAssist,etc.)

    ------------------------------
    Mahesh Kumar
    Senior Business Systems Engineer
    ------------------------------


  • 2.  RE: Regular Expression for collecting 6 digit input using slot throwing error(Please remove restricted characters and try again)
    Best Answer

    Posted 02-26-2025 10:22
    No replies, thread closed.

    Hi Mahesh,

    Try the syntax like below



    ------------------------------
    Thanks!

    Ganesh S
    ------------------------------



  • 3.  RE: Regular Expression for collecting 6 digit input using slot throwing error(Please remove restricted characters and try again)

    Posted 02-26-2025 11:07
    No replies, thread closed.

    Thanks Ganesh for your response. But it looks like you are asking me to add this in the Intent and not in slot. i was trying to add regex on slot.

    regards

    Mahesh



    ------------------------------
    Mahesh Kumar
    Senior Business Systems Engineer
    ------------------------------



  • 4.  RE: Regular Expression for collecting 6 digit input using slot throwing error(Please remove restricted characters and try again)

    Posted 02-27-2025 05:09
    No replies, thread closed.

    Hi, 

    Thats not where the regex is defined. Thats the name of Slot Type. Give it a name like "6digits" then within the Slot Type, define your regex



    ------------------------------
    Cheers
    Zubair
    ------------------------------