Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Inbound Email Flow

    Posted 05-15-2018 05:58
    No replies, thread closed.
    Hello team,

    I try to build my first inbound email flow in Purecloud, I have add my Email domain, with email adresses into Purecloud configuration
    In this email addresses, I route them to my flow
    I create my a queue Email
    The incoming email with some keywords should arrive at this email addresses, for this I have setup Flow with Email Builder through Decision block to check (Subjet and body) if they contain this keywords, if yes it routes to the queue, if no it disconnect

    My question is: how to determine the language of the email before making decision ?

    Thank you in advance


  • 2.  RE: Inbound Email Flow

    Posted 05-15-2018 08:40
    Edited by George Ganahl 05-15-2018 08:57
    No replies, thread closed.
    I usually create an email address for each language, then use the email address to determine the language in Architect.

    For example, if I have a website with a Customer Feedback page, the site will have a way of designating the language, and thus can send to the correct language email address when someone fills out a form on the site.

    If you just post an email address on the site for people to contact, you will have to make it clear which address to use for which language (have a link, for example, for each language).

    (Lucie's solution sounds better to me...I wasn't aware of that function.)
    ------------------------------
    George Ganahl
    Principal Program Manager
    Genesys
    ------------------------------



  • 3.  RE: Inbound Email Flow

    Posted 05-15-2018 08:46
    No replies, thread closed.
    You can use the DetectLanguage function within an expression to determine the language, i.e. DetectLanguage(Email.Message.body, ""). You can either switch from using the rules builder to an expression or you can add the logic to a different action.

    ------------------------------
    Lucie DeCristofaro
    Genesys - Employees
    ------------------------------



  • 4.  RE: Inbound Email Flow

    Posted 05-15-2018 08:58
    No replies, thread closed.
    Thank you guys,

    Yes for the moment, I use this function DetectLanguage("this is test to detect the language.","EN")
    within Decision block, if Yes it route email to the next steps with English skills if no it will check for another langauge

    is this correct ?

    Thank you


  • 5.  RE: Inbound Email Flow
    Best Answer

    Posted 05-15-2018 09:04
    No replies, thread closed.
    "Yes for the moment, I use this function DetectLanguage("this is test to detect the language.","EN")
    within Decision block, if Yes it route email to the next steps with English skills if no it will check for another langauge

    is this correct ?"

    Not exactly. That will try to detect the language within the first set of quotes. If the language is recognized, the variable gets set to the language detected. If it cannot determine the language, it would be set to the designated default of EN.


    ------------------------------
    George Ganahl
    Principal Program Manager
    Genesys
    ------------------------------



  • 6.  RE: Inbound Email Flow

    Posted 05-15-2018 09:01
    No replies, thread closed.
    Follow-on to Lucie's comment:
    Help for DetectLanguage function

    ------------------------------
    George Ganahl
    Principal Program Manager
    Genesys
    ------------------------------



  • 7.  RE: Inbound Email Flow

    Posted 05-15-2018 09:24
    No replies, thread closed.
    Thank you George, it's very clear now