Genesys Cloud - Developer Community!

Sign Up

  • 1.  Reporting on Outbound Predictive Dialer Calls

    Posted 08-19-2025 15:39
      |   view attached

    We have a very unique requirement from our reporting admins where they need specific codes associated with all system dispositions, as well as calls that hit an outbound predictive flow, and the customer hangs up before they are connected to an agent.

    I have been tinkering with triggers that leverage a data action that inputs the codes to a....contact list...yes, a contact list.  That contact list is extracted by a third party system which uses the codes along with the conversation IDs to map interaction outcomes.  The only issue is when the customer, in that brief second, hangs up when traversing an outbound call flow associated with a predictive campaign.  I have attached a trigger I thought would work, yet every interaction initiates it.  I use a script to set the value for the attribute.  I was thinking that the conversation had to end before this trigger would analyze the conditions and take appropriate action.  If the customer hits the script, the attribute is updated, therefore the trigger should not initiate.  Anyone?


    #Architect
    #Triggers

    ------------------------------
    Daniel White
    Sr. Software Engineer
    ------------------------------


  • 2.  RE: Reporting on Outbound Predictive Dialer Calls

    Posted 08-23-2025 16:57

    Does that attribute exist on the conversation before it gets to the script? If not, have you tried it with Exists == False?



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 3.  RE: Reporting on Outbound Predictive Dialer Calls

    Posted 08-25-2025 10:49


    Which topic would you be referring to?

     

     

     

     

    Daniel Fox White

    Sr Engineer - Software Eng

    C3 (Customer Care & Communications)

    Jacksonville, FL
    Office: 704-444-5340

    Daniel.White@Ally.com

          

     

          

     







  • 4.  RE: Reporting on Outbound Predictive Dialer Calls

    Posted 08-25-2025 11:02

    This would not work because it would not exist initially which would fire the trigger on every outbound call, even if it makes it to an agent.



    ------------------------------
    Daniel White
    Sr. Software Engineer
    ------------------------------



  • 5.  RE: Reporting on Outbound Predictive Dialer Calls

    Posted 08-25-2025 13:19

    I took another look and you are using the customer.end topic, so should only evaluate when the customer disconnects anyhow...and you said it is triggering for every call as-is...so no help there whichever way you slice it.

    Have you used the API Explorer to monitor the notifications coming through for a conversation to see exactly what is being sent for the two situations, one where it does reach an agent and another where it does not?



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 6.  RE: Reporting on Outbound Predictive Dialer Calls

    Posted 08-25-2025 13:43


    How would I use it?  It needs a conversation ID and I want to see every piece of data from the time the dialer places the call?

     

     

     

     

    Daniel Fox White

    Sr Engineer - Software Eng

    C3 (Customer Care & Communications)

    Jacksonville, FL
    Office: 704-444-5340

    Daniel.White@Ally.com

          

     

          

     







  • 7.  RE: Reporting on Outbound Predictive Dialer Calls

    Posted 08-25-2025 15:04

    It will be a bit kludgy, but doable in that you are keying on the customer end notification so you won't see any notifications until the customer disconnects.

    Sorry in advance for the long-winded answer...

    For my own testing, I would set up a Contact List that has multiple contacts but all using my own cell phone as the number to dial.

    I'd have the campaign running, then set one user On Queue to get the campaign to dial.

    As soon as my cell starts ringing I'd take the user Off Queue for the first test to make sure nothing routes to the user.

    Answer the call on my cell, get into the outbound Call flow

    I'd also have the Interactions page open so I can see the new outbound call as soon as it dials, copy the conversationId and create a monitoring session in the API Explorer with it

    Once the monitor is set up, disconnect the call on my cell. That should send a notification to the monitor session. I copy that out and paste it into VS Code so I can save it/examine it

    I'd then run a second test...put the agent On Queue to generate the call to the cell, but stay On Queue. Navigate the Outbound Call flow from my cell, go to the agent. Verify the attribute gets set.

    While still connected to the agent copy the conversationId and set up another monitor session in API Explorer. 

    Disconnect from my cell, which should generate another notification that I can copy to VS Code and use for analysis/comparison.

    The nice thing with having the notification messages saved is that they can then be used in the trigger config to test the trigger and make sure it works as expected.



    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------