Genesys Cloud - Main

 View Only

Discussion Thread View

Dynamic slot and Array of information

  • 1.  Dynamic slot and Array of information

    Posted 08-04-2022 11:05
    We have requirement to post 4 date options for a payment.  We could get back more dates from our back end search. i.e. could get back 10 eligible dates in the array.  Asking best way in our bot to cycle through all the items in array.  So, bot would say would you like (then in quick reply bubbles - date 1, date 2, date 3, date 4, other). if they press other, we want to present date 5, date 6, etc.

    Here is my current code, which works for static amount of dates":
    MakeList(Flow.eligibleDates_String[0], Flow.eligibleDates_String[1], Flow.eligibleDates_String[2], Flow.eligibleDates_String[3], Flow.eligibleDates_String[4])

    any thought on how to cycle through if more dates are in the array?

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

    ------------------------------
    Clayton Curtis
    Enova Online Services, Inc.
    ------------------------------


Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources