Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Best approach to identify repeat callers without an external analytics solution

    Posted 09-30-2026 08:52

    I'm currently working on a use case where we want to identify customer reincidence (repeat callers) directly within Genesys Cloud, without relying on a dedicated analytics platform.

    The challenge is determining whether a customer has contacted us recently for the same issue and making that information available during routing, reporting, or post-call analysis.

    I've been evaluating a few possible approaches:

    • Using a Data Table to store interaction history and check for recent contacts during the customer journey.
    • Leveraging an external CRM as the system of record and querying previous interactions through APIs.
    • Using Journey Management to track customer behavior and identify repeat contact patterns.
    • Exporting interaction data to a Data Lake and calculating reincidence metrics externally.

    In my scenario, the goal is to flag customers who have contacted us multiple times within a configurable period (for example, 7, 15, or 30 days) and potentially use that information for routing, escalation, or reporting.

    I'm interested in hearing how others have implemented this in production:

    • Which approach proved the most scalable?
    • How are you handling interaction matching (ANI, customer ID, CRM ID, etc.)?
    • Have you successfully implemented this using only native Genesys Cloud capabilities?
    • What limitations or lessons learned would you share?

    Looking forward to hearing real-world experiences and best practices from the community. This seems like a common challenge, and I'm curious which architecture has delivered the best results for everyone.


    #Architect
    #DataActions
    #Integrations
    #PlatformAPI

    ------------------------------
    ------------------------------
    Leonardo Correa,
    Architect Developer.
    ------------------------------[
    ------------------------------


  • 2.  RE: Best approach to identify repeat callers without an external analytics solution

    Posted 09-30-2026 09:38

    Hi Leonardo, how are you?

    I have implemented something like that in the past. But I only used the results for routing purposes (So everything was done through Call Flows using Data Actions, basically querying the Analytics APIs from Genesys itself).

    It really depends on what exactly you need and what information you would be using to confirm the repeating contacts.

    If you're only using ANI, the Analytics Details Query API should be enough I believe.

    You could query specifically the last 7, 15 or 30 days, for a specific ANI, and you would have the total number of interactions there. Which you can check further to confirm if they were ever routed to queues or specific flows, etc.

    ------

    If you would be using any custom data different than ANI (for example, a customer ID, etc.), I believe a good approach to keep it on Genesys is using CCAs (Custom Conversation Attributes).

    You can add an attribute to each conversation with the Customer ID, and then query the results with the CCA search API. It will return to you all conversations that have that ID, including the date in which the conversation happened, so you can check for the past X days.

    ------

    I wouldn't really use Data Tables for this kind of thing.
    It could work, depending on the volume of calls, but I don't think it's a very reliable approach.



    ------------------------------
    Marcello
    Senior PS Consultant
    ------------------------------



  • 3.  RE: Best approach to identify repeat callers without an external analytics solution

    Posted 09-30-2026 10:11

    Thanks, Marcello.

    That's very helpful. My use case goes a bit beyond identifying whether the customer is a repeat caller. I'd also like to retrieve information from the most recent interaction, such as the last queue, flow, outcome, wrap-up code, or even custom attributes that could help explain why the customer is calling again.

    Based on what you described, the Analytics Details Query API seems like a strong candidate since it would allow me to both count interactions within a given period and retrieve details from the latest conversation for additional context.

    The CCA approach is also interesting, especially if we need to track recurrence using a customer identifier instead of ANI. Being able to search previous conversations and retrieve attributes from the last interaction would be very valuable.

    Have you ever used either approach to surface information from the previous interaction during routing or agent handling? I'm curious how much of that context can realistically be retrieved in real time without introducing noticeable latency in the flow.

    Thanks again for the insights. I agree that Data Tables probably aren't the best fit once volume and data consistency become concerns.



    ------------------------------
    ------------------------------
    Leonardo Correa,
    Architect Developer.
    ------------------------------[
    ------------------------------



  • 4.  RE: Best approach to identify repeat callers without an external analytics solution

    Posted 09-30-2026 11:21

    Leonardo,

    I used it in the past for a few things, as far as I recall it shouldn't cause much latency, but they weren't very complex scenarios. I was usually querying the last 24 hours or 1 week at most. And mostly checking if the same ANI has gotten in contact recently.

    In the end, it will depend on how complex your API query is, and how much data you are querying (like how many days, etc.).

    But you can absolutely check the last queue, flow, and wrap-up codes in there.
    I'm not so sure about outcomes (if you are talking about flow outcomes), as I have barely used them in the past.
    Attributes (if you talking about participant data) might be an issue, as they don't show up in the Analytics API in real time, it's usually D-1.

    But the CCA should be real time, but I don't think they show up in the Analytics API (haven't tested), but for them there is the CCA search API.



    ------------------------------
    Marcello
    Senior PS Consultant
    ------------------------------