Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Match Exact keyword

    Posted 07-26-2022 11:00
    No replies, thread closed.
    Hi All,

    We are trying to match keywords as exact to a email content (subject+body), we are using contains at the moment, but there is problem in this.

    If the keyword contains for ex. 'PO' then if any other words in the email has PO it matches that. for ex. "Post"

    But it should not happen, since contains() just checks for the first match. Any other suggestions on this. We have also tried the FindString(). it works the same way.

    Any help will be much appreciated.

    Thanks,
    Sreekand.
    #ArchitectureandDesign
    #Conversational AI (Bots, Agent Assist, etc.)
    #DigitalChannels
    #Connect with a Customer (NEW)
    #Implementation
    #API/Integrations
    #Omni-Channel Desktop/User Interface
    #Outbound
    #Platform Administration
    #Quality Management
    #Remote Work Enablement
    #Reporting/Analytics
    #Roadmap/New Features
    #Routing (ACD/IVR)
    #Security
    #SIP/VolP
    #System Administration
    #Telephony
    #Unsure/Other
    #Community Videos (TAM, QA, etc.)

    ------------------------------
    Sreekand Muthukrishnan
    Conn3ct (Connect Managed Services (UK) Limited)
    ------------------------------


  • 2.  RE: Match Exact keyword
    Best Answer

    Posted 07-27-2022 03:42
    No replies, thread closed.
    Hi,

    If you are sure PO is always written in upper case letters you could use the contains function with ignoreCase, for example Contains(message+subject, "PO", false)
    otherwise you could use the FindString function to get the position of the PO string and then extract the next character directly after the PO string with the Substring function and then compare this substring for possible next characters like ":" " " or if a number follows. Or check the other way arround as if it continues with "st" you have found the word "Post", which of cause is not a match.

    Hope this help! 


    ------------------------------
    Peter Faust
    Genesys - Employees
    ------------------------------



  • 3.  RE: Match Exact keyword

    Posted 07-27-2022 11:38
    No replies, thread closed.
    Hi Peter, 

    Thanks for the input, the keyword 'PO' is currently matched in lowercase, I am converting both the keywords and the content to check(subject+body) into lower case and then only doing a contains(). so we are good in this point.

    However, Let me try the second part which you have mentioned above.

    Regards,
    Sreekand

    ------------------------------
    Sreekand Muthukrishnan
    Conn3ct (Connect Managed Services (UK) Limited)
    ------------------------------



  • 4.  RE: Match Exact keyword

    Posted 07-27-2022 07:19
    No replies, thread closed.
    May I ask what you are using this for, our Call Center would like to be able to match certain words so that emails can be sent to certain Queues based upon the match

    ------------------------------
    Michael Schimento
    Zenith Insurance Company
    ------------------------------



  • 5.  RE: Match Exact keyword

    Posted 07-27-2022 15:42
    No replies, thread closed.
    You can use the ServiceJourney app from AppFoundry and set a Regular Expression search rather than just a keyword search. This would ensure you find "PO" rather than "Post"

    ------------------------------
    Maksim Gill
    Eccentex, Inc.
    ------------------------------