Genesys Cloud - Main

 View Only

Discussion Thread View
Expand all | Collapse all

Getting the conversation ID for agent's current call

  • 1.  Getting the conversation ID for agent's current call

    Posted 09-12-2019 19:16
    Hi, we have a requirement to get the conversation Id for the agent's current call that we will store externally to purecloud.

    If there an easy way to get this other than running an analytics query using the user ID?

    They haven external fat client but will have genesys desktop controls

    #Integrations
    #Telephony

    ------------------------------
    Mike Hardie
    CALLSCAN AUSTRALIA PTY. LTD.
    ------------------------------


  • 2.  RE: Getting the conversation ID for agent's current call

    GENESYS
    Posted 09-16-2019 16:25
    You can use a Script to do it (modify the Basic Inbound script, or create your own custom script and assign it to calls in Architect).

    There is a Scripter variable named Scripter.Interaction Id that holds the Conversation Id.

    You could create a Custom Action using a Data Actions Integration to write the data to the external store. Use a Data Action run as the Page Load Action to write the data out


    ------------------------------
    George Ganahl GCP (PureCloud) ICCE CCXP
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 3.  RE: Getting the conversation ID for agent's current call

    Posted 09-17-2019 05:30
    Hi Mike, 

    Do you require this for every interaction and to be automatic? 

    To manually achieve this can be done through Queue Activity. 

    Thanks, 
    Jasmin

    ------------------------------
    Jasmin Jenkinson
    Tonik Energy
    ------------------------------



  • 4.  RE: Getting the conversation ID for agent's current call

    Posted 09-18-2019 18:53
    Thanks Guys, I was actually hoping that there was some top secret use API that allowed it. It is unfortunate that the agent routing status tells you they agent is interaction but does not supply the interaction ID for that interaction. This would be a great solution

    ------------------------------
    Mike Hardie
    CALLSCAN AUSTRALIA PTY. LTD.
    ------------------------------



  • 5.  RE: Getting the conversation ID for agent's current call

    GENESYS
    Posted 09-19-2019 10:11
    Mike, tell me more of the use case and what you are really trying to accomplish. There is stuff you can get through the API, but I need to know a bit more about exactly what info you want and where you want to access it from.

    ------------------------------
    George Ganahl GCP (PureCloud) ICCE CCXP
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 6.  RE: Getting the conversation ID for agent's current call

    Posted 09-24-2019 23:49
    Hi George, the basic requirement is for a third party to be able to identify the agent and the conversation Id for that agent's current call. This is logged to an external system in order to map the call information and recording with what the agent is doing on the external desktop. I have been able to locate this data using conversation/analytics API but was looking to see if there might be a simpler method to get this information


    ------------------------------
    Mike Hardie
    CALLSCAN AUSTRALIA PTY. LTD.
    ------------------------------



  • 7.  RE: Getting the conversation ID for agent's current call

    GENESYS
    Posted 09-25-2019 07:03
    You can log this information via the desktop, as George mentioned, or you can have an external routine that is using the API to extract this information. You can obtain this information historically or through notifications, such as subscribing to queue or user conversations based upon your need.

    Can you provide a bit more background on the use case - specifically the PureCloud details is correlated with what external system(s) and data? This will help me understand if we have other customers that have performed similar integrations.

    Don

    ------------------------------
    Don Huovinen
    Genesys - Employees
    ------------------------------



  • 8.  RE: Getting the conversation ID for agent's current call

    Posted 09-26-2019 16:44
    How can you get the conversation ID through the desktop app? I thought the only way is through the browser (nonAPI)

    ------------------------------
    Ly Tran
    Cardinal Health 5, LLC
    ------------------------------



  • 9.  RE: Getting the conversation ID for agent's current call

    GENESYS
    Posted 09-26-2019 16:49
    You can display the conversation id in a script. See https://help.mypurecloud.com/articles/built-in-script-variables/

    Regards,
    Don

    ------------------------------
    Don Huovinen
    Genesys - Employees
    ------------------------------



  • 10.  RE: Getting the conversation ID for agent's current call

    GENESYS
    Posted 09-26-2019 16:52
    Edited by George Ganahl 09-26-2019 16:52
    Easily in a script. using the Scripter.Interaction ID variable. Agents can see the value if you put it in a script.

    But. just through any of the Interactions views (Performance>Interactions, or under Queues Activity detail views, etc.) turn on the Conversation ID column and you can see it there.

    Obviously, that doesn't work for Agents with the default permissions.

    ------------------------------
    George Ganahl GCP (PureCloud) ICCE CCXP
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 11.  RE: Getting the conversation ID for agent's current call

    Posted 09-26-2019 17:34
    Wow. I did not know that. Thank you so much.

    ------------------------------
    Ly Tran
    Cardinal Health 5, LLC
    ------------------------------



  • 12.  RE: Getting the conversation ID for agent's current call

    GENESYS
    Posted 09-26-2019 17:59
    You're quite welcome! (Note that @Donald Huovinen beat me to the Scripter reference :-) )​

    ------------------------------
    George Ganahl GCP (PureCloud) ICCE CCXP
    Principal Technology Consultant
    Genesys
    ------------------------------



Need Help finding something?

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