Can I use markdown in email notifications sent by triggers or automations?

Have more questions? Submit a request

4 Comments

  • Anna Stern
    Comment actions Permalink

    This would be very useful!!

    3
  • Lila Kingsley
    Comment actions Permalink

    To be clear, email notification triggers can use the placeholder {{ticket.comments_formatted}} in the email body.  If you have the agent auto signature set up with markdown (as we do for our company logo), this populates the agent signature with the logo just fine. So, if that is what you are trying to achieve, just add your logo to the agent signature...

    0
  • David
    Comment actions Permalink

    Hi,

     

    Any reason why the HTML here didn't work?  

     

    Here is the content of the automation message body:

    Did you have the chance to see the response to your last email regarding ticket (#{{ticket.id}})?
    We have not heard from you since we replied to your support request:

    <div align="center">
    {{ticket.latest_comment_formatted}}
    </div>

    If you still require assistance, please reply to this message.

    Thank you!



    And here is how it appeared in the email:

    0
  • Gentry Geissler
    Comment actions Permalink

    Hi David, thank you for your question. I tested that same code out on my end and I am wondering if your email client you're working in is set up for reading HTML? 

    Also, centering latest_comment_formatted won't work properly because it has its own formatting it will try to do in the background. You'd be better off trying to center latest_comment. That, however, won't have formatting.

    0

Please sign in to leave a comment.

Powered by Zendesk