I understand that are a lot of requests at the same time, but it was the only way we found to have a dataset with this data:
Conversation ID
CSAT
Followers
Conversation Date
Maybe you know another way, or you can give me an advice.
Page 1 / 1
Thanks for providing the context. So I understand you're trying to extract CSAT responses. I think there is a more effective way to achieve this. The method you're using returns all Conversations which contain a comment matching your search, so then for each Conversation you need to perform queries to fetch Comments.
I think the better option is to run Analytics Exports.
You can run analytics exports via the API (see API docs). You'll need to run the "events" type of export to fetch all events which could match.
In the CSV export that you download from this, there will be columns which contain the CSAT survey message, rating, and teammate who received the rating.
This screenshot shows a little snippet of some of the data that can be extracted in this way:
The analytics export can be specified to run on specific inboxes if necessary, and over any period of time (though running them for longer than 6-12 months often takes a very long time)
I hope this is helpful - Please let me know if you have any further questions
--Jason
Hi Jason! Thanks, I'm considering downloading as a csv that way, but it's a really heavy file and it's difficult to update.
Else, I filtered by events but the csv has messages as well, so it had nearly 2 million rows. Is there a way to filter just by comments?
Regarding the analytics export, if you want to do one large backfill export, you can do it via the UI, and specify only "comment" type events are exported, and even limit the columns returned. When running them via the API you don't have as much flexibility, but the files should not be as heavy if you're running this as a regularly scheduled job (daily, for example)