Genesys Cloud - Main

 View Only
Discussion Thread View
Expand all | Collapse all

Different information for a interaction when using conversation or job

  • 1.  Different information for a interaction when using conversation or job

    Posted 07-16-2024 07:33

    Hello everyone,

    We have recently identified an information gap between the "conversation" and "job" APIs of Genesys and we would like to know if other customers have encountered the same problem. Have you noticed any discrepancies in the data provided by different Genesys APIs? If so, have you found a workaround to ensure data consistency?

    Thank you in advance for sharing your information.


    #API/Integrations
    #Reporting/Analytics

    ------------------------------
    Lionel Florence
    Helpline SAS
    ------------------------------


  • 2.  RE: Different information for a interaction when using conversation or job

    GENESYS
    Posted 07-16-2024 16:21

    Hey Lionlel,

    Do you have any examples of your own? That may help other in the community help with sharing their workarounds.



    ------------------------------
    Jason Kleitz
    Genesys - Employees
    ------------------------------



  • 3.  RE: Different information for a interaction when using conversation or job

    Posted 07-17-2024 02:42
    Hello Jason,

    Here is the Conversation API's response :
    {
     "id": "@@@@@@@@@@-bdeba5adb4f0",
     "startTime": "2024-06-18T07:30:24.262Z",
     "endTime": "2024-06-18T07:32:36.273Z",
     "address": "tel:+@@@@@@@",
     "participants": [
       {
         "attributes": {
           "HLBI_Skill_Name": "Bureautique Calls #NXT#",
           "HLBI_ITSM_Username": "@@@@@",
           "HLBI_Dissuaded": "0",
           "HLBI_Trigram": "NXT",
           "HLBI_Queue_Name": "Bureautique Calls #NXT#",
           "HLBI_Debug": "232 GotoDebut",
           "HLBI_Callback_On_Queue_Created": "1",
           "HLBI_CallBack_On_Queue_Created": "-",
           "HLBI_ITSM_Remind_Failed": "-",
           "HLBI_Overflow_No_Agent": "0",
           "HLBI_ITSM_Remind": "-",
           "HLBI_CallBack_On_Queue": "1",
           "HLBI_HNO_State": "0",
           "HLBI_ITSM_ValidationTel": "-",
           "HLBI_Callback_Number": "+@@@@@@@",
           "HLBI_CallBack_On_Queue_Refused": "-",
           "HLBI_ITSM_Remind_Success": "-",
           "HLBI_Error_Info": "No Error",
           
           "HLBI_Callback_Id": "@@@@@@@@-1d50515877d9",
     
           "HLBI_Entity": "Bureautique",
           "HLBI_Welcome_OK": "1",
           "HLBI_Callback_proposal_count": "1",
           "HLBI_Flow": "#NXT# - Inbound Calls v2 7.0",
           "HLBI_ITSM_Parent_Title1": "-",
           "HLBI_VoiceBot_Activated": "1",
           "HLBI_ITSM_Lastname": "Pas de contact identifié",
           "HLBI_ITSM_Parent_Number1": "-",
           "HLBI_ITSM_UserInc1_Concerned": "-",
           "HLBI_Survey_Proposed": "0",
           "HLBI_Overflow_Success": "0",
           "HLBI_Info_Msg_On_Queue": "0",
           "HLBI_Info_Msg": "1",
           "HLBI_Division": "#NXT#",
           "HLBI_User_End": "0",
           "ScreenPopName": "Nexity v3",
           "HLBI_Error": "0",
           "HLBI_Queued": "1",
           "HLBI_ITSM_Child_Success": "-",
           "HLBI_ITSM_UserInc_Number1": "-",
           "HLBI_ITSM_UserInc_Title1": "-",
           "HLBI_ITSM_ParentInc_Concerned": "-",
           "HLBI_ITSM_ParentInc1_Concerned": "-",
           "HLBI_CallBack_On_Queue_Accepted": "1",
           "HLBI_ITSM": "ITSM_PHONE_NO_IDENTIFICATION_LOGIN_NO_IDENTIFICATION",
           "HLBI_Info_VIP": "-",
           "HLBI_ITSM_ReconnaissanceLogin": "0",
           "HLBI_Callback_Schedule_Open": "1",
           "HLBI_Period": "HO",
           "HLBI_ITSM_Email": "-",
           "HLBI_Recording": "0",
           "HLBI_ITSM_UserInc_Concerned": "-",
           "HLBI_ITSM_ValidationLogin": "-",
           "HLBI_CallBack_Activated": "1",
           "scriptId": "@@@@@@@@@-2cdb9f0b3968",
           "HLBI_ITSM_Child_Number1": "-",
           "HLBI_ITSM_ReconnaissanceTel": "0",
           "HLBI_Survey_Response": "-"
     
    And here is th Jobs API's response :
     
    "conversationEnd": "2024-06-18T07:32:36.273Z",
    "conversationId": "@@@@@@@@@@-bdeba5adb4f0",
    "conversationStart": "2024-06-18T07:30:24.262Z",
    "divisionIds": [ "@@@@@@-75a4850110de",
    "@@@@@@-35a630bef6de",
    "@@@@@@@@@@-6629e8e64e7a" ],
    "knowledgeBaseIds": [ "@@@@@@@@-42835e58431f",
    "@@@@@@@@@@-42835e58431f" ],
     
    "attributes": {
    "HLBI_Skill_Name": "Bureautique Calls #NXT#",
    "HLBI_ITSM_Username": "@@@@@",
    "HLBI_Dissuaded": "0",
    "HLBI_Trigram": "NXT",
    "HLBI_Queue_Name": "Bureautique Calls #NXT#",
    "HLBI_Debug": "232 GotoDebut",
    "HLBI_CallBack_On_Queue_Created": "-",
    "HLBI_ITSM_Remind_Failed": "-",
    "HLBI_Overflow_No_Agent": "0",
    "HLBI_ITSM_Remind": "-",
    "HLBI_CallBack_On_Queue": "-",
    "HLBI_HNO_State": "0",
    "HLBI_ITSM_ValidationTel": "-",
    "HLBI_CallBack_On_Queue_Refused": "-",
    "HLBI_ITSM_Remind_Success": "-",
    "HLBI_Error_Info": "No Error",
     
    "HLBI_Callback_Id": "-",
     
    "HLBI_Entity": "Bureautique",
    "HLBI_Welcome_OK": "1",
    "HLBI_Flow": "#NXT# - Inbound Calls v2 7.0",
    "HLBI_ITSM_Parent_Title1": "-",
    "HLBI_VoiceBot_Activated": "1",
    "HLBI_ITSM_Lastname": "Pas de contact identifié",
    "HLBI_ITSM_Parent_Number1": "-",
    "HLBI_ITSM_UserInc1_Concerned": "-",
    "HLBI_Survey_Proposed": "0",
    "HLBI_Overflow_Success": "0",
    "HLBI_Info_Msg_On_Queue": "0",
    "HLBI_Info_Msg": "1",
    "HLBI_Division": "#NXT#",
    "HLBI_User_End": "0",
    "ScreenPopName": "Nexity v3",
    "HLBI_Error": "0", "HLBI_Queued": "1",
    "HLBI_ITSM_Child_Success": "-",
    "HLBI_ITSM_UserInc_Number1": "-",
    "HLBI_ITSM_UserInc_Title1": "-",
    "HLBI_ITSM_ParentInc_Concerned": "-",
    "HLBI_ITSM_ParentInc1_Concerned": "-",
    "HLBI_CallBack_On_Queue_Accepted": "-",
    "HLBI_ITSM": "ITSM_PHONE_NO_IDENTIFICATION_LOGIN_NO_IDENTIFICATION", "HLBI_Info_VIP": "-",
    "HLBI_ITSM_ReconnaissanceLogin": "0",
    "HLBI_Period": "HO",
    "HLBI_ITSM_Email": "-",
    "HLBI_Recording": "0",
    "HLBI_ITSM_UserInc_Concerned": "-",
    "HLBI_ITSM_ValidationLogin": "-",
    "HLBI_CallBack_Activated": "-",
    "scriptId": "@@@@@@@@@-2cdb9f0b3968",
    "HLBI_ITSM_Child_Number1": "-",
    "HLBI_ITSM_ReconnaissanceTel": "0",
    "HLBI_Survey_Response": "-"
     
    The missing information in the Jobs API is "HLBI_Callback_id", it is a Custom attributes, it is set with a "Set Participant Data" block in a common module that we call at the end of the "In-queue Call Flow" Script.
     
    Kind regards





  • 4.  RE: Different information for a interaction when using conversation or job
    Best Answer

    GENESYS
    Posted 07-17-2024 09:06

    Your example is expected and documented here:  https://developer.genesys.cloud/analyticsdatamanagement/analytics/jobs/conversation-details-job#differences-to-conversation-detail-queries

    The more real time details endpoint does not contain custom participant attribute data.



    ------------------------------
    Ryan Legner
    Staff Product Manager, Genesys Cloud CX
    ------------------------------



  • 5.  RE: Different information for a interaction when using conversation or job

    Posted 07-17-2024 10:23

    Hello Ryan,

    To sum up: if I need information quickly it's better to use API/Conversation, if I need a lot of data and I'm not in a hurry I should use API/Job. The limit is that API/Conversation may not be complete, whereas API/Job will be if my data interval is earlier than D-1.



    ------------------------------
    Lionel Florence
    Helpline SAS
    ------------------------------



  • 6.  RE: Different information for a interaction when using conversation or job

    GENESYS
    Posted 07-17-2024 10:39

    The way I would subdivide the different options:

    • EventBridge
      • Individual events for data updates that stream in as they happen.  Ideal for high volume and requires timely data delivery.
      • https://developer.genesys.cloud/analyticsdatamanagement/analytics/detail/analytics-detail-events
    • Conversation detail query
      • Updates in near real-time and ideal for searching for conversations.  Can be used to gather data in realtime for mid to low volume customers.
      • https://developer.genesys.cloud/analyticsdatamanagement/analytics/detail/conversation-query
    • Conversation detail job
      • Batch job that updates nightly.  Large bulk download support.  Ideal for loading historical data sources that can be tolerant to 24-48 hour delays.
      • https://developer.genesys.cloud/analyticsdatamanagement/analytics/jobs/conversation-details-job


    ------------------------------
    Ryan Legner
    Staff Product Manager, Genesys Cloud CX
    ------------------------------



  • 7.  RE: Different information for a interaction when using conversation or job

    Posted 07-17-2024 10:51

    Thank you for your advice. We're going to follow them.

    But the initial question remains: the logs I posted were captured on 15 July, more than 48 hours after the end of interaction - 18 June. Why do we have different results?



    ------------------------------
    Lionel Florence
    Helpline SAS
    ------------------------------



  • 8.  RE: Different information for a interaction when using conversation or job

    Posted 19 days ago

    Hello Ryan,

    Any news regarding this issue ?

    Regards,

    Lionel



    ------------------------------
    Lionel Florence
    Helpline SAS
    ------------------------------



  • 9.  RE: Different information for a interaction when using conversation or job

    GENESYS
    Posted 19 days ago

    The only known issue I can think of that you could be facing is if you are setting the participant attribute value after the participant you're attaching to has left the conversation.  We have an idea enhancement tracking that request here: https://genesyscloud.ideas.aha.io/ideas/ANLS-I-1293

    The analytics stack we have is not built with the expectation that data can update after the participant has left the conversation.  If this happens, we'll ignore those events since they're being added to immutable participants. 

    Alternatively, we have an EventBridge topic available to consume attribute updates in realtime.  https://developer.genesys.cloud/notificationsalerts/notifications/available-topics v2.detail.events.conversation.{id}.attributes

    If you are updating the participant attribute while the session is active, then this would be worthwhile to dig further into with our support team.



    ------------------------------
    Ryan Legner
    Staff Product Manager, Genesys Cloud CX
    ------------------------------



  • 10.  RE: Different information for a interaction when using conversation or job

    Posted 8 days ago

    Hello Ryan,

    I find this idea today https://genesyscloud.ideas.aha.io/ideas/ANLS-I-1293

    I hope the triage will put this idea on the top of the priorites. With the post call surveys, this will happen more frequently.

    Regards.



    ------------------------------
    Lionel Florence
    Helpline SAS
    ------------------------------



  • 11.  RE: Different information for a interaction when using conversation or job

    Posted 07-18-2024 03:28

    I cannot agree. In the example data the attribute is missing in the response from API/Job, but exists in API/Conversation. 



    ------------------------------
    ---------------------------------------------
    Hans-Gerd Sandhagen
    Software Developer
    Fiebig GmbH
    ---------------------------------------------
    ------------------------------



Need Help finding something?

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