Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Workflow Send Notification using HTML email body with Variables

    Posted 01-10-2024 10:51
    No replies, thread closed.

    Hi all,

    Hopeful the experts here can assist.

    We are attempting to setup a Trigger that calls a workflow when a certain conversation variable is set. We have this part functional. In the Architect workflow we want to send an HTML email using Send Notification. What we are struggling with is how to send an HTML formed email body that includes variables within. Has anyone done this?

    Something like the below seems to work and allow for some HTML email formatting, but we cannot figure out if possible to add a variable to our email body? 

    We have attempted several different iterations using the HTML tag <var>, $variablename, variablename. Hopefully we're overlooking something simple to include a variable.

    "<!DOCTYPE html> <html> <body> <b>Testing send HTML email notification from a workflow</b> </br> </body> </html>"

    Thanks as always,

    Shane


    #ArchitectureandDesign
    #Implementation
    #PlatformAdministration

    ------------------------------
    Shane
    ------------------------------


  • 2.  RE: Workflow Send Notification using HTML email body with Variables
    Best Answer

    Posted 01-11-2024 07:26
    No replies, thread closed.

    Hello Shane,

    If you wanna add an Architect variable you would enter the HTML Body something like this

    "<!DOCTYPE html><html><body><b>Testing variable: " + Flow.variable + "</b></br></body></html>"



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



  • 3.  RE: Workflow Send Notification using HTML email body with Variables

    Posted 01-11-2024 11:13
    No replies, thread closed.

    Thanks Jan! This indeed worked.

    One last question that you may be able to help with. Do you know if it is possible to change the font color in an HTML formed email? I believe we should be all set if we can adjust font colors.

    Thanks again,

    Shane



    ------------------------------
    Shane
    ------------------------------



  • 4.  RE: Workflow Send Notification using HTML email body with Variables

    Posted 01-12-2024 04:31
    No replies, thread closed.

    You can use <font color> or <style> or inline CSS to do it.



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



  • 5.  RE: Workflow Send Notification using HTML email body with Variables

    Posted 01-17-2024 12:51
    No replies, thread closed.

    For more advanced email templating needs, check out: https://appfoundry.genesys.com/filter/genesyscloud/listing/59c44a27-fb86-4806-8640-18a99c7f544f



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