Links in the trigger responses | Community
Skip to main content

Links in the trigger responses

  • May 20, 2015
  • 13 replies
  • 0 views

Hi,

I'd like to include html links in the body of the messages sent by triggers.

For example the standard reply (see below) could include a section with useful links - is that possible?

Your request ({{ticket.id}}) has been received and is being reviewed by our support staff.

To add additional comments, reply to this email.

{{ticket.comments_formatted}}

This topic has been closed for replies.

13 replies

  • May 20, 2015

Hi Nikos,

Have you looked into using markdown for this purpose?

https://support.zendesk.com/hc/en-us/articles/203691016-Formatting-text-with-Markdown

Phil


  • Author
  • May 20, 2015

Thanks Phil,

I tried it but doesn't seem to work - it doesn't parse the markdown.. the trigger email text seems to be plain text..?


  • May 20, 2015

Hi Nikos,

That's strange. And you have enabled markdown, right?

https://support.zendesk.com/hc/en-us/articles/203661586-Enabling-Markdown

If so, you might need to contact support@zendesk.com.

Phil
Nexmo


ZZ55
  • May 21, 2015

You cannot use markdown within the trigger response. Instead, use HTML.

 


  • August 28, 2015

Very useful Graeme Carmichael, thank you!


  • August 1, 2017

Graeme,

 

We have a similar need... where do you input this HTML code, in the body of the trigger response?

 

Thanks for the help!

Sahar

 


ZZ55
  • August 2, 2017

Sahar

Yes that is correct, place the code in the body of your trigger response.


  • August 17, 2018

I was initially using the following to send hyperlinked ticket titles in Teams notification automations but it's just sending a blank payload now.  Has something changed or did I screw something up?

{ "text" : " <{{ticket.url}}|{{ticket.title}}> " }


  • August 22, 2018

Hi Ben! I answered your question in another thread, but for everyone else's reference the above syntax won't render in trigger or automation email notifications. You'll need to use HTML:

<a href="{{ticket.link}}">{{ticket.title}}</a>


  • January 2, 2019

why doesn't the default trigger response (to an initial ticket submission) use the standard formatting?

 

For example, this below does not seem to create a link (as I expect it should), in the email sent to the requestor:

  • Your request (#{{ticket.id}}) has been received and is being reviewed by our support staff.

 

Neither does this:

  • Your request <a href="{{ticket.link}}">{{ticket.title}}</a> has been received and is being reviewed by our support staff.

 

Simple question:  how do I create LINKS to the ticket for the requestor, in the initial response email??

 


  • January 3, 2019

 Hello Joe,

With some testing, I was able to create a trigger that sent the initial link as described in our comments above.  

I am going to create a ticket on your behalf in Support and see if I can get some more account specific information to help see what is happening in your testing.


  • February 1, 2019

Hey! I tried adding <a href="link">link</a> to my trigger but when I tested it, the link wasn't clickable and just reads as plain text - does anyone know what I can do about this?


Brett13
  • Community Manager
  • February 1, 2019

Hi Gaaya,

Triggers do support HTML so that is a bit odd that this did not work on your end. The best option here will be for us to generate a ticket on your behalf so we can dig into this further for you and take a look at some ticket examples. You'll receive a follow-up email from us after your ticket has been created.

Thanks!