Legacy Dev Forum Posts

 View Only

Sign Up

Saving Emails to be searched

  • 1.  Saving Emails to be searched

    Posted 06-05-2025 18:25

    paulsmith3 | 2023-02-11 07:09:48 UTC | #1

    Hi Team,

    We have a customer that is moving to Genesys from Mitel MiCC, in the Mitel email offering, they use Elastic Search, so you can search back every email using key worked that are found in the to, from, subject and body.

    We need to replicate this in Genesys somehow.

    I started with Grabbing all the conversation IDs for a given time, then getting the message id for each conversion ID (to get the body of the email) then just looping through each entry looking for the search term.

    I have run into 2 problems, first issue is I can only get the message id back within 60 days, they need all the data the second issue will be rate limits, pulling back 5000 emails, then one API call for every message to get the message-id will surely run into rate limit issues

    So my next thought was, to grab all emails for each day and store them in a local db, then when the agent does a search, they are searching our local database, the issue I see with that is you need to be Code Authorization to be able to use /api/v2/analytics/conversations/details/jobs so can't run a script that will pull them every night

    Any ideas on what we can do on this one? could lose the deal if we cant replicate the Mitel

    Cheers


    Declan_ginty | 2023-02-13 14:35:51 UTC | #2

    Hi Paul,

    The recording API's should be able to help with getting the email bodies. As for the rate limits, this article should be able to help

    Regards, Declan


    system | 2023-03-16 14:36:00 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 18376