Genesys Cloud - Main

 View Only

Discussion Thread View
  Thread closed by the administrator, not accepting new replies.
  • 1.  Data table update from Slot inputs

    Posted 01-22-2025 02:14
    No replies, thread closed.

    I have created Movie ticket booking bot in Genesys Cloud CX, with Slot input CustomerName, Date, MovieName, ShowTime, TicketCount, How can I write a Booking order details with slot inputs in a Data Table name BookinOrder?


    #API/Integrations
    #ConversationalAI(Bots,AgentAssist,etc.)

    ------------------------------
    Debashis Bhakta
    ------------------------------


  • 2.  RE: Data table update from Slot inputs
    Best Answer

    Posted 01-22-2025 03:24
    No replies, thread closed.

    You can achieve this by using a Data Action and /api/v2/flows/datatables/{datatableId}/rows to create a new row in the datatable using your Slot values as inputs.

    https://help.mypurecloud.com/articles/create-custom-action-integrations/



    ------------------------------
    Savino Ricci
    Technical Consultant
    ------------------------------



  • 3.  RE: Data table update from Slot inputs

    Posted 03-31-2025 17:09
    No replies, thread closed.

    Hello Savino

    Can you clarify the steps related to this action? I am facing the same situation, and I am not able to pass the slots input to the data table.



    ------------------------------
    Bodor Hassan
    Conversation Designer
    ------------------------------



  • 4.  RE: Data table update from Slot inputs

    Posted 04-01-2025 03:41
    No replies, thread closed.

    Hi

    So first create your Data Action:


    Then call the Data Action in your flow and use the slot variables as inputs:


    Result:

    (Sorry for the flood of screenshots!)



    ------------------------------
    Savino Ricci
    Technical Consultant
    ------------------------------



  • 5.  RE: Data table update from Slot inputs

    Posted 04-01-2025 15:31
    No replies, thread closed.

    Debashis,

    Obviously, it is possible to do this (as has been described here) but you have to ask if you actually want to do it!

    Data Tables are not meant to be used as Databases. There is a reason that there are not update actions built into Architect and you have to resort to Data Actions to achieve this. Their purpose is to provide quick lookup tables.

    How busy is your system likely to be? A Data Table has a limited size (according to this article, 5000 rows.) It also lacks any standard database functionality for querying and so on which will make it difficult to extract the data to do anything meaningful with it.

    I would look at using a database with a REST API interface and then use Data Actions to update that. You are likely to experience better performance and have a lot more tools at your disposal.

    HTH



    ------------------------------
    Paul Simpson
    Views expressed are my own and do not necessarily reflect those of my employer.
    ------------------------------



Need Help finding something?

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