Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  RegEx in Inbound Email flows or equivalent

    Posted 11-01-2023 18:34
    No replies, thread closed.

    Greetings.  I am looking for a way to parse Email.message.subject for specific keywords, such as "car" or "Car" but not "carbon" or "NASCAR" or "Carbohydrate" or "mascara".  It's easy enough to do with RegEx, but RegEx seems to be limited to bot flows, and I can't find a way to call a bot flow in an inbound email flow.  Suggestions?


    #DigitalChannels
    #Routing(ACD/IVR)

    ------------------------------
    Vikki Papesh
    Sr. Genesys Cloud Developer II
    Tandem Diabetes Care, Inc.
    ------------------------------


  • 2.  RE: RegEx in Inbound Email flows or equivalent

    Posted 11-01-2023 20:33
    No replies, thread closed.

    Hi Vikki

    I would love to use RegEx too, but you can always use the Contains() function

    eg Contains(lower(Email.message.subject), "car") and !Contains(Email.message.subject, "carbon") etc

    You could also create a data table of the key words pipe delaminated per queue / mailbox etc and then loop through them.



    ------------------------------
    Anton Vroon
    ------------------------------



  • 3.  RE: RegEx in Inbound Email flows or equivalent

    Posted 11-01-2023 22:01
    No replies, thread closed.

    You can also use spaces to denote before or after like " car " to just get car, but of course that does not take into account punctuation.  Vote for this in the meantime:  Regular Expression support in Email and | Genesys Cloud Ideas Portal (aha.io)



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 4.  RE: RegEx in Inbound Email flows or equivalent

    Posted 11-02-2023 04:45
    No replies, thread closed.

    I agree with Robert on the idea. Until something like that is available you can always use a lambda function to run a regex. Bear in mind this will incur AWS usage charges and email bodies may be too large to pass through a data action.



    ------------------------------
    Richard Chandler
    Connect
    ------------------------------



  • 5.  RE: RegEx in Inbound Email flows or equivalent

    Posted 11-14-2023 22:45
    No replies, thread closed.

    We have just implemented a Lambda function to do exactly this function on email subject. Works really well, easy to setup, test and manage. But need to keep a close eye on the charges.. very minimal at the moment.



    ------------------------------
    Paul Wild
    BCD Travel Germany GmbH
    ------------------------------



  • 6.  RE: RegEx in Inbound Email flows or equivalent

    Posted 11-06-2023 12:09
    No replies, thread closed.

    You can always use something like this: 

    https://appfoundry.genesys.com/filter/genesyscloud/listing/59c44a27-fb86-4806-8640-18a99c7f544f

    It has the ability to analyze RegExp and do other extraction of content from emails. Then use it to route or automate things in Genesys. 



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