Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Control flow based on "email.message.to".

    Posted 02-15-2024 10:54

    I have a flow functioning to send Auto Replies to a sender of a specific mailbox using a Canned Response.  I would like to modify the flow so I can use the 1 flow for several different mailboxes where a different canned response is sent based on the email.message.to attribute. 

    I've tried some different settings using the Decision and Switch functions, but I have not had much luck.  I keep getting a warning that there is no implementation that accepts parameters of Email Address Collection and String.

    Does anybody know of a way to accomplish what I'm attempting?


    #Routing(ACD/IVR)

    ------------------------------
    Tom Mullen
    Boehringer Ingelheim GmbH
    ------------------------------


  • 2.  RE: Control flow based on "email.message.to".

    Posted 02-16-2024 11:24

    Hi Tom,

    The Email.Message.to is a collection (or array) and can contain several addresses if entered in the To field of an e-mail.

    Easiest to check if it contains something if used in a Switch is probably with

    FindFirst(Email.Message.to, "emailaddress") >= 0

    FindFirst returns the index (0 or greater) if found and -1 if not found.



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



Need Help finding something?

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