Genesys Cloud - Developer Community!

 View Only

Sign Up

Expand all | Collapse all

Hotel booking use case

  • 1.  Hotel booking use case

    Posted 8 days ago

    I'm new to Genesys Cloud CX. I'm planning to start with a new inbound call flow.  A simple hotel booking use case.

    Start

    Play_Welcome

    Main_Menu
    1️ Check Existing Booking
     → Collect_BookingID → Call_GetBooking
     → Decision (found?) → Play Booking Details / Not Found
     → Return to Main Menu
    2️ Create New Booking
     → Collect Details → Call_CreateBooking → Play Confirmation → Return
    3️ Cancel Booking
     → Collect_BookingID → Call_CancelBooking → Decision → Play Result → Return
    0️ Speak to Agent
    → Transfer to ACD (Hotel Booking Queue)

    Can someone please help me doing it or if someone can share their i3inboundflow (something relative). It would be very helpful. So that I can import and refer them. 


    #Archy

    ------------------------------
    Prathap Daniel
    -
    ------------------------------


  • 2.  RE: Hotel booking use case

    Posted 4 days ago

    Hi Prathap Daniel

    I came across your post in another community as well:
    https://community.genesys.com/discussion/hotel-booking-use-case

    They shared quite a bit of useful information there. How are your studies going so far?
    If you have any questions, feel free to reach out - I'm available to help.



    ------------------------------
    Luiz Rosa
    Full stack developer
    ------------------------------



  • 3.  RE: Hotel booking use case

    Posted 4 days ago

    Hi @Luiz Rosa - Thank you for your kind response. I have progressed and completed the flow. But when I tested the flow, the flow is working properly. But create hotel booking API is not being called or the values are not passed. Would it be possible to help to triage the issue.

    Regards,

    Prathap Daniel



    ------------------------------
    Prathap Daniel
    -
    ------------------------------



  • 4.  RE: Hotel booking use case

    Posted 4 days ago

    Hi Prathap Daniel,

    Sure, I can help troubleshoot this. Could you check a few things first?

    1. Is the Call Data Action block actually being executed during the test?

    2. Is the error path being triggered?

    3. Are the values you expect to send to the API showing correctly in the outputs before the call?

    If possible, you can share the execution log or a screenshot of the execution path - just make sure to hide any sensitive data. This will help me understand where the issue is happening.



    ------------------------------
    Luiz Rosa
    Full stack developer
    ------------------------------



  • 5.  RE: Hotel booking use case

    Posted 4 days ago
      |   view attached

    Hi @Luiz Rosa - I have attached the screenshot and let me know for any queries.



    ------------------------------
    Prathap Daniel
    -
    ------------------------------

    Attachment(s)

    docx
    HotelBooking_Genesys.docx   588 KB 1 version


  • 6.  RE: Hotel booking use case

    Posted 3 days ago

    Hi Prathap Daniel,

    I noticed that the variables in the data action input are set as "literal." Change them to "expression" so they get triggered.

    Here's an example:

    Literal: 

    Expression: 

    Change it to expression. You're dealing with system variables, and this feature will retrieve their values.

    You can see more details on this page:

    Literal and expression modes overview - Genesys Cloud Resource Center



    ------------------------------
    Luiz Rosa
    Full stack developer
    ------------------------------



  • 7.  RE: Hotel booking use case

    Posted 3 days ago

    Thank you @Luiz Rosa. I have changed it to expression now. But still it is not working. Do you have any idea?

     



    ------------------------------
    Prathap Daniel
    -
    ------------------------------



  • 8.  RE: Hotel booking use case

    Posted 3 days ago

    Hi Prathap Daniel,

    Be careful with the quotation mark " - you don't need to use it for the variable.



    ------------------------------
    Luiz Rosa
    Full stack developer
    ------------------------------



  • 9.  RE: Hotel booking use case

    Posted 3 days ago

    yes you are right. That's my mistake. I have corrected it now and tried again. But no luck. It didn't work. Kindly help.

    Just to let you know that I have tested the POST API endpoint from the data action and it worked. Please find the screenshot below.



    ------------------------------
    Prathap Daniel
    -
    ------------------------------



  • 10.  RE: Hotel booking use case

    Posted 3 days ago

    Hi Prathap Daniel

    You can set the log level to all to get more details.

    With this detail level enabled, you'll be able to verify whether the inputs are being sent correctly.

    Take a look at this article: Historical execution data overview - Genesys Cloud Resource Center



    ------------------------------
    Luiz Rosa
    Full stack developer
    ------------------------------



  • 11.  RE: Hotel booking use case

    Posted 3 days ago

    Thank you very much @Luiz Rosa for your help. I have enabled the data flow level as you mentioned. We could see that the values are NOT SET to the variable.

    Sorry for the basic questions. Where could we check now?



    ------------------------------
    Prathap Daniel
    -
    ------------------------------



  • 12.  RE: Hotel booking use case

    Posted 3 days ago

    Hi Prathap Daniel,

    The NOT_SET status means that the variable did not receive any value during the flow execution. If no action assigns a value to that variable, it will remain as NOT_SET.
    You may want to check the points in the flow where the variable is supposed to be populated (for example, Set Variable) to ensure the value is actually being assigned.



    ------------------------------
    Luiz Rosa
    Full stack developer
    ------------------------------



  • 13.  RE: Hotel booking use case

    Posted 3 days ago
      |   view attached

    Hi @Luiz Rosa - Thank you. I have now added Set participant data which was missing earlier. Now, I have attached the screenshots collect Input, Set Participant data and Call data action of this hotel booking. Could you please check and assist me to move forward.



    ------------------------------
    Prathap Daniel
    -
    ------------------------------

    Attachment(s)

    docx
    HotelBookingFlow.docx   618 KB 1 version


  • 14.  RE: Hotel booking use case

    Posted 2 days ago

    Hello Prathap, 

    I am looking into this as well. When I find something I will get back to you. 

    Cheers. 



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



  • 15.  RE: Hotel booking use case

    Posted 2 days ago

    Hi Prathap Daniel,

    Try using Update Data instead of Set Participant.
    Set Participant only populates the data in the participant object.
    Update Data updates the state of the global variables you specified.
    Could you run a new test showing this?

    Update Data action - Genesys Cloud Resource Center



    ------------------------------
    Luiz Rosa
    Full stack developer
    ------------------------------