Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Count number of call transferred to external number

    Posted 12 days ago

    Hello,

    Is there a way to count the number of call transferred to a specific number from Inbound call Architect strategy?

    The use case is quite simple, the caller calls a specific number (DNIS) then he is transfered to specific number.

    I would like retrieve statistical regarding which external number he has been used and the number of time with API, like we can see in the performance view Flow destination with the field Exits Number which shows  the external number  and number of time used for the transfert.

    thanks for your hints!

    thanks

    jeremy


    #Architect

    ------------------------------
    Jeremy
    ------------------------------


  • 2.  RE: Count number of call transferred to external number

    Posted 11 days ago

    Hi,

    You can add Flow Milestones for each destination in your inbound flow then use Flow Milestone report to get the count.

    Cheers



    ------------------------------
    Cheers
    Zubair
    ------------------------------



  • 3.  RE: Count number of call transferred to external number

    Posted 11 days ago

    Hi Jeremy,

    We have similar IVR where a call can be transferred to another external number. We have setup some participant attributes or external tags to check this.
    Using an API, I think API GET /api/v2/analytics/conversations/details should give you the information under a tag "transferTargetAddress" which should be part of the participant purpose = IVR for a conversation. Additionally you should be able to also use the API POST /api/v2/analytics/conversations/details/jobs to run a generic query for a specific period and then analyse the the results using API GET /api/v2/analytics/conversations/details/jobs/{jobId}/results

    Hope this helps.

    Regards



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



  • 4.  RE: Count number of call transferred to external number

    Posted 11 days ago

    Hello,

    thanks for your input.

    My goal is to limit the usage of API, because I need to distribute fairly the calls to external number. Due to the fact there is no standard metric to get this result, I will use flow outcome + POST Analytics for achieve the expected behavior.

    jeremy



    ------------------------------
    Jeremy
    ------------------------------



  • 5.  RE: Count number of call transferred to external number

    Posted 9 days ago

    Hi,
    when it's about distributing calls fairly between multiple targets you can use RandomInt().
    For 3 numbers you would use RandomInt(2), this produces values from 0 - 2.

    Kind regards,

    Christian



    ------------------------------
    Christian Karpp
    Principal PS Consultant
    ------------------------------



  • 6.  RE: Count number of call transferred to external number

    Posted 9 days ago

    Hi Christian,

    I thought about this feature but is not enough, because it introduces randomness.

    besides the target can be important (10), we are far from fairness from my point of view.

    jeremy



    ------------------------------
    Jeremy
    ------------------------------



  • 7.  RE: Count number of call transferred to external number

    Posted 7 days ago

    Hi Jeremy,

    Yes - this can be tracked directly in the UI without needing an API.

    For transfers to external numbers from an inbound Architect flow, you can use the DNIS Performance view.

    Path: Analytics → Performance → DNIS

    In this view you can see:

    • The inbound DNIS

    • The Exit Number (external number used in the transfer)

    • The number of times each external number was used

    This is the native way to analyze which external numbers were dialed and how often they were used for transfers from an inbound flow.

    Hope that helps!



    ------------------------------
    Mateus Nunes
    Tech Leader Of CX at Solve4ME
    Brazil
    ------------------------------



  • 8.  RE: Count number of call transferred to external number

    Posted 5 days ago

    Hi @Mateus Nunes,

    Its great to know that there is a way to look at these numbers, but I could not find the "Exit Number" column in my DNIS Performance tab. Maybe I am missing something. Can you please share a screen-shot where you can see this and I will check again at my end.

    Regards



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



  • 9.  RE: Count number of call transferred to external number

    Posted 2 days ago

    There isn't a single "Flow Destinations view = API" endpoint, but you can reproduce the metric by pulling Conversation Details and grouping by the transfer destination:

    • Use GET /api/v2/analytics/conversations/{conversationId}/details for a single conversation, or (better for reporting)

    • Use the async bulk job:

      • POST /api/v2/analytics/conversations/details/jobs

      • then GET /api/v2/analytics/conversations/details/jobs/{jobId}/results

    • In the conversation detail record, look for transferTargetAddress (commonly on the participant with purpose = IVR) and then count/group by that value to get "external number → number of transfers".

    This matches the use case you described (DNIS comes in → Architect uses Transfer to Number to an external destination).



    ------------------------------
    Alex Sander Felicio
    ------------------------------