Notification

Sends an email from the workflow to the given recipient list.

Options

  • Send To - Recipient emails in comma-separated values

  • Subject - Subject line of the email. Keep it short.

  • Character Set - To be interpreted in the emails. Options: US-ASCII, ISO-8859-1, UTF-8

  • Content Transfer Encoding - Mail encoding method. Options: Quoted Printable, Base64, 7Bit, 8Bit, Binary

  • Message Type - Plain Text for sending string messages. HTML for sending mail as per a template

  • Dynamic Data - Only for the HTML message type to pass the dynamic data. Provide in JSON format.

  • Message - Email Content or Body.

Examples

Plain Email

  • Subject: Plain Text Mail Demo

  • Character Set: US-ASCII (Default Value)

  • Content Transfer Encoding: 7 bit (Default Value)

  • Message Type: Plain Text

  • Message:

    Dear Sir,
    This is to inform you that we received your ticket.

HTML Email without dynamic content

  • Subject: HTML Static Mail Demo

  • Character Set: US-ASCII (Default Value)

  • Content Transfer Encoding: 7 bit (Default Value)

  • Message Type: HTML

  • Message:

    <html>
       <head>
          <h1> Line1 </h1>
       </head>
       <body>
          <i>This is a mail to communicate that we are working on your ticket </i>
       </body>
    </html>

HTML Email with dynamic content

  • Subject: Dynamic HTML Mail Demo

  • Character Set: US-ASCII (Default Value)

  • Content Transfer Encoding: 7 bit (Default Value)

  • Message Type: HTML

  • Dynamic Data

    {
        "keys": ["Name","Age","Company"],
        "records": [
            {"name": "Alex", "age": 25, "company": "DCKAP"},
            {"name": "David", "age": 28, "company": "DCKAP"}
        ]
    }
  • Message:

    <!DOCTYPE html> 
    <html>
       <head>
          <style> 
             table, th, td { border: 1px solid black; } 
          </style>
       </head>
       <body>
          <table>
             <tr>
                {% for key in keys %}
                <td>{{key}}</td>
                {% endfor %} 
             </tr>
             <tr>
                   {% for dict_item in records %}
                          {% for key, value in dict_item.items() %} 
                                  <td>{{value}}</td>
                          {% endfor %}
                          <tr></tr>
                   {% endfor %} 
             </tr> 
          </table>
       </body>
    </html>

Base-64 HTML Combination and occasionally Base-64 plain text combinations don't work as expected. This will be addressed in the upcoming releases.

Last updated