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
------------------------------
Original Message:
Sent: 09-30-2026 10:11
From: Leonardo Correa
Subject: Best approach to identify repeat callers without an external analytics solution
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.
------------------------------[
------------------------------
Original Message:
Sent: 09-30-2026 09:37
From: Marcello Jabur
Subject: Best approach to identify repeat callers without an external analytics solution
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
------------------------------