Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  How to find keyword from email subject

    Posted 12-04-2023 18:46

    Greetings, Community,

    My task is to locate the phrases stored in the Data Table within the subject line of an email.

    For instance, the specified keywords include payment, Credit Card, and Loan. I am required to identify these words in the email subject. As an illustration, if the email subject is "I need a loan," the keyword "loan" should be identified in the subject line.

    Looking forward to your feedback on my above scenario. 


    #ArchitectureandDesign
    #Implementation

    ------------------------------
    Noman Hassan
    Tykans Group Inc
    ------------------------------


  • 2.  RE: How to find keyword from email subject
    Best Answer

    Posted 12-05-2023 08:16

    Hello Noman,

    You can use for example Contains(Lower(Email.Message.subject), "loan") to check if the subject contains a specific word in the flow.

    I don't know if it makes sense to use a Data Table, since you would need to check each word in the subject against the Data Table, or you would need to get all keys and check the subject against those in the flow.



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------



  • 3.  RE: How to find keyword from email subject

    Posted 12-05-2023 12:14

    Thanks Jan! 

    The "contains" function operates as intended. The Data table I've established holds the keywords, with each keyword associated with a Queue ID for transferring calls to the respective queue.

    Regards,



    ------------------------------
    Noman Hassan
    Tykans Group Inc
    ------------------------------



  • 4.  RE: How to find keyword from email subject

    Posted 12-06-2023 18:51

    Just for my curiosity, are you then trying to route the email to specific queues or skills depending on what keywords have been identified?



    ------------------------------
    Maksim Gill
    Eccentex (Advanced Case and Email Management Platform for Genesys)
    https://www.eccentex.com/genesys
    ------------------------------



  • 5.  RE: How to find keyword from email subject

    Posted 12-07-2023 11:01

    Hello Max, 

    That is correct. The keywords are stored in the Data Table. Each keyword is associated with the Queue ID and Call Reason. 

    Regards,

    Noman



    ------------------------------
    Noman Hassan
    Tykans Group Inc
    ------------------------------



  • 6.  RE: How to find keyword from email subject

    Posted 03-04-2024 15:08

    Hello Noman,  Were you able to get this to work?  I am in the process of setting up something similar and having some trouble.  Could you perhaps share the Input expression used in the Data Table look up action?    Also, can a look up in the email body and subject both be handled in the same data table look up action?   Thanks in advance!



    ------------------------------
    Alyssa Bollman
    Kennametal Inc.
    ------------------------------



  • 7.  RE: How to find keyword from email subject

    Posted 07-05-2024 03:09

    Hi @Jan Heinonen

    I have a similar requirement, however my keyword for search is RegEx and need to capture that matching value in another variable. 

    could you suggest if we have any out of box solution with in genesys cloud. 

    Thank you !



    ------------------------------
    Hanumantha Rao
    Vodafone International Services L.L.C.
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources