Question
Why are the {{ticket.link}}
and {{ticket.url}}
placeholders not rendering?
Answer
For these placeholders to render within tickets, you must have an active Help Center. The placeholders generate links so end users can check their requests. If you encounter a use case where want to generate a ticket link, but keep your Help Center inactive, use HTML to create the hyperlink:
<a href="https://SUBDOMAIN.zendesk.com/agent/tickets/{{ticket.id}}">Click here to view the ticket</a>
For more information about placeholders, see the article: Using placeholders.
14 comments
Max Kane
What about if you have an active help center and the place holders are still not rendering
I am trying to update the message format of our slack integration. I’d like to include the following data in the message:
{
"attachments":[
{
"fallback":"Ticket Updated:bangbang:",
"pretext":"Ticket Updated:bangbang:",
"color":"#D00000",
"fields":[
{
"title":"Subject: {{ticket.title}}",
"value":"{{ticket.url}}",
"requester":"Requester: {{ticket.requester.email}}",
"status":"Status: {{ticket.status}}",
"comment":"Comment: {{ticket.latest_comment_html}}",
"short":false
}
]
}
]
}
But only the "title":"Subject: {{ticket.title}}" and "value":"{{ticket.url}}" appear in the message
0
Andres
I haven't activated the help desk yet but still want users to be able to see ticket details, but when I use the HTML provided it looks like it goes to the agent login, not the customer login.
What do I need to put into my automated "bump" email so that the customer can see their request?
Does the customer need to create an account / password to see info?
If so, is there a way to remind them what they contacted us about without making them create a password?
Thank you
0
Walter
Hi Andres,
You can make an email notification that include information from the ticket.
With an email notification, they won't need to login to see their request. Their account should be already created when they submit their first request. However, their password will not be set until they do so.
0
Gabriel Manlapig
Adding on Walter's advice, to use notification emails that contain data from the ticket. There are placeholders available in Zendesk, as well as containers for user and ticket data that is generated dynamically.
For reference, please see below article:
Zendesk Support placeholders reference
I hope that helps. Thank you!
0
Andres
As I tried to explain originally, when I tried to include the
{{ticket.url}} - the field in the email is empty, I found an article that said that it only works if you have help desk set up, which I don't.
So what shortcode can I put in the bump email that works? i.e. allows the customer a reminder about what the open issue is (ideally a link to the ticket that they can see without having to crate a login/pw).
Thanks
0
Walter
Hi Andres,
If I understand correctly, you want to email a link to a deactivated help center.
What you're trying to do does not seem possible because the only way for a customer to see a ticket is in the help center.
I believe the only thing you can do if you don't want to activate a help center is send their ticket information via email.
For example:
0
Andres
Thank you for your help Walter, but no I do not want to send a user to a deactivated help center.
The point is that I do not have the help center activated, and because of that the {{ticket.url} and {{ticket.link}} shortcode does'nt work. In the bump email there it just shows nothing.
After researching I found that the reason was because I don't have help center activated.
I'm trying to create an automated "bump" email on pending tickets to remind the customer we are waiting for their responce, and I want them to be able to see what the open question is (whether that's sending them to a link or including it in the emali). And it would be great if they didn't need te create an account / password.
So my question is, what are my options to let the customer review the ticket info and see what our question is **that works without the help center being activated.**
Thank you!
0
Gabriel Manlapig
As mentioned by Walter, since you didn't want your Help Center activated, I'm afraid the only option that you have is to create an automated bump email using placeholders to append ticket data.
For example:
For a list of all the placeholders available for ticket data, see our article on Zendesk Support placeholders reference.
I hope that helps. Thank you!
0
Andres
Thank You Gabriel, that makes sense.
So if I understand corretly, without the help desk being activated there's no way for the user to see information about their request?
How can I see what the "ticket.latest_public_comment_html " looks like for the end user?
Thank you
0
Gabriel Manlapig
Yes, that is correct! Since the help center portal offers the option for end users to submit requests by default. End users who submit requests can also manage their support requests in the customer portal.
As of the moment, there is no native way to preview placeholders. That being said, there are a couple of workarounds, but you could add the placeholders (and any other context) you would like to test into a macro and then apply that macro to a sample or test ticket.
And for placeholders that don't resolve in macros, you could create a trigger that sends you an email containing your placeholder structure and have it fire only when you test. This should give you immediate feedback and allow you to make adjustments.
Thank you!
0
Colin Hutzan
I am missing something very clear, I am sure
But I don't know how to link a DIFFERENT ticket for a customer using a placeholder. For example if I am communicating with a customer in one ticket and want to present them a link to a different one, what exactly do I need to type to do that?
0
Walter
Hi Colin Hutzan,
I believe that Ticket placeholders are only for the current ticket.
There's no way to reliably use the Ticket placeholders for a different ticket.
0
Colin Hutzan
Walter, there is a way to generate an external link to a different ticket. I read about it some weeks ago and did it successfully. I am having trouble finding it again now.
0
Walter
Hi Colin,
Certainly, if you can find the information, I'd be interested in knowing this technique as well. But using only ticket placeholders, I don't think it is possible.
Do you remember if you used Liquid markup when you did it successfully?
0