Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Passing Slot Data to Script

    Posted 12-08-2024 23:04

    Hi all,

    I need some help with my Digital Bot Flow.

    I am using Slots to capture input from the user and then scheduling a call back if it's after office hours. The thing that I am stuck with is how can I use this Slot data to pass it to a script that pops up when the callback is made.

    Please let me know what I am missing. Thanks,


    #ArchitectureandDesign

    ------------------------------
    Essam
    ------------------------------


  • 2.  RE: Passing Slot Data to Script

    GENESYS
    Posted 12-09-2024 07:29

    Hello Essam! 

    You may want to post this question in the developer forums as well. 

    I did some digging around them and found this post, it looks similar to what you are trying to accomplish. 

    Hope this helps!

    Cheers, 



    ------------------------------
    Cameron
    Online Community Manager/Moderator
    ------------------------------



  • 3.  RE: Passing Slot Data to Script
    Best Answer

    Posted 12-09-2024 14:27

    You could pass this back to the Call Flow and then to the In Queue Call Flow to receive that variable and then use it in the Callback tool.  One other option is to use a Data Action to create the callback in the bot itself.  That will allow that number to be used and presented to the agent when they accept the callback. 



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 4.  RE: Passing Slot Data to Script

    Top 25 Contributor
    Posted 12-09-2024 17:02

    If this is a Digital Bot Flow, not a Bot Flow for voice, then you won't have access to the callback action, so will need to use the APIs through Data Actions to create the callback.

    So, assuming you are using a Data Action to create the callback in your digital bot flow, (post /api/v2/conversations/callbacks)

    As part of that API call to create the callback you can set data you want to pass along

    From there in your Agent Script you can use Inputs (maybe) or another Data Action to access those values to display them to your agents. 



    ------------------------------
    Anton Vroon
    ------------------------------



  • 5.  RE: Passing Slot Data to Script

    Posted 12-10-2024 04:57

    I think you can use Set Screen pop action and pass the data as input to the script in Digital Bot flow also.



    ------------------------------
    Antti Mikkola
    Common Product Manager
    Telia Company
    ------------------------------



Need Help finding something?

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