Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Bot Flow Builtin Date Slot Type Supported DTMF Entry

    Posted 8 hours ago

    I have been searching and I cannot find a definitive answer to this question. What DTMF entry is supported for the builtin:date slot type in an Architect Bot Flow? I've seen mention of 8 digits in YYYYMMDD format, but other places suggest other supported input formats. Any assistance would be greatly appreciated.


    #Architect

    ------------------------------
    Jeff Werner
    Interactive Northwest, Inc.
    ------------------------------


  • 2.  RE: Bot Flow Builtin Date Slot Type Supported DTMF Entry

    Posted 7 hours ago

    Hello, @Jeff Werner.

    I have not found a clear Genesys document that lists every supported DTMF format for builtin:date in a bot flow.

    The built-in date slot is documented mainly with spoken/natural language examples, like "June 15" or "next Tuesday," and the resolved value is returned in ISO format, such as 2021-06-15.

    For DTMF, I would be careful relying on multiple possible formats. If you need a predictable customer experience, I would use a fixed numeric format, such as YYYYMMDD, and validate it yourself before converting it to a date.

    For example, collect 8 digits, validate that the value is a real date, then convert it to the format Architect needs, such as YYYY-MM-DD.

    So instead of depending on builtin:date to interpret different DTMF date formats, I would probably handle DTMF dates as numeric input and normalize the value in the flow or with a Data Action/Function.

    That gives you more control over validation, retries, and customer prompts.



    ------------------------------
    Arthur Pereira Reinoldes
    ------------------------------



  • 3.  RE: Bot Flow Builtin Date Slot Type Supported DTMF Entry

    Posted 7 hours ago

    Thanks for the quick reply. I completely understand. We'll just do some experimenting and land on the best instructions to provide callers. Thanks again.



    ------------------------------
    Jeff Werner
    ------------------------------