Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  v2.detail.events.conversation.{id}.user.end trigger not firing

    Posted 06-17-2025 09:27

    Hi Community!

    I'm in the process of setting up two triggers that use the following topics;

    • v2.detail.events.conversation.{id}.user.end
    • v2.detail.events.conversation.{id}.user.start

    My start trigger is working correctly and I can see the resulting data in my request catcher. I've copied the same code for the `v2.detail.events.conversation.{id}.user.end` topic but I never see the event.

    This is what I have setup:
    Trigger

    I've created the workflow;
    In the workflow I have under the variables section;
    - GetJsonObjectProperty(Flow.jsonData, "participantId")
    - GetJsonObjectProperty(Flow.jsonData, "conversationId")
    I've added the variable `jsonData` in the Data section;
    Finally, I have my call data action setup as follows;
    Is there something I've missed? The variables are pretty much the same as the ones I need for the user start event so I'm pretty sure there's no typo.

    Any help is appreciated :) 
    Thanks,

    #API/Integrations
    #PlatformAdministration
    #SystemAdministration

    ------------------------------
    Alex Richards
    Co-founder
    ------------------------------


  • 2.  RE: v2.detail.events.conversation.{id}.user.end trigger not firing

    Posted 06-17-2025 15:06

    Hello Alex,

    I have moved your question to the Genesys Cloud - Developer Community. Hopefully one of the experts there will be able to assist you with this.



    ------------------------------
    Jason Kleitz
    Online Community Manager/Moderator
    ------------------------------



  • 3.  RE: v2.detail.events.conversation.{id}.user.end trigger not firing

    Posted 06-18-2025 03:33

    Hi Alex,

    Not sure what exactly you are trying to do, but here is a blueprint example that may help.
    https://developer.genesys.cloud/blueprints/update-gc-presence-on-communicate-call-activity-blueprint/

    Regards



    ------------------------------
    Vineet Kakroo
    Senior Technical Consultant
    ------------------------------



  • 4.  RE: v2.detail.events.conversation.{id}.user.end trigger not firing

    Posted 06-18-2025 05:45

    Hi Alex,

    Do you have "input" enabled on the variable jsonData?

    It also seems like in your Update action you're replacing jsonData with a property from itself.
    I would expect this to break things, but maybe I'm missing something not seeing the entire picture.



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------



  • 5.  RE: v2.detail.events.conversation.{id}.user.end trigger not firing

    Posted 06-18-2025 07:20

    Hi Vineet, Jan,

    What we're trying to achieve - we have a third party platform that we need to get an event sent to when a call starts and ends in Genesys PC. We thought that subscribing to those topics and using the Web Action to trigger our webhook endpoint.

    This was the guide I followed to setup a Workflow and Trigger; https://help.mypurecloud.com/articles/retrieve-the-conversation-summary-and-wrap-up-code-that-virtual-agent-generates-for-a-bot-interaction/

    That's the settings I have configured for the variable (this is on the end call event). Those settings match the start call event which works fine.
    Thanks,
    Alex


    ------------------------------
    Alex Richards
    Co-founder
    ------------------------------



  • 6.  RE: v2.detail.events.conversation.{id}.user.end trigger not firing

    Posted 07-08-2025 16:56
    Edited by Paul McGurn 07-08-2025 17:02

    Your input property called jsonData is not actually set to be an input, in Architect (input checkbox is unchecked), per the screenshot.

    ------------------------------
    Paul McGurn
    Senior Manager, Telecom & DevOps
    Persistent Systems
    ------------------------------



  • 7.  RE: v2.detail.events.conversation.{id}.user.end trigger not firing

    Posted 07-09-2025 10:07

    I believe that there should have been a message sent to your operational console indicating that the trigger was disabled due to the jsonData variable not being configured as an input variable.



    ------------------------------
    --Jason
    ------------------------------



  • 8.  RE: v2.detail.events.conversation.{id}.user.end trigger not firing

    Posted 07-09-2025 10:26
    Edited by Vineet Kakroo 07-09-2025 10:26

    Hi Alex,

    You have defined the Flow.jsonData correctly as JSON element but you have also to set this variable as "Input to Flow". Once done, the trigger should work.

    Regards



    ------------------------------
    Vineet Kakroo
    Senior Technical Consultant
    ------------------------------