Zum Hauptinhalt springen

Article 1 min read

Tip of the week: Showing who’ has been cc’'d in email notifications

Zuletzt aktualisiert: November 4, 2011

Have you ever wished that you could allow end-users to see who’s been CC’d on a ticket? This tip shows you how. Using a very simple chunk of Liquid markup, you can include this information in email notifications. All you have to do is add it to your notification triggers.

As an example, let’s modify the Notify requester of comment update trigger.

Normally, it looks like this (unless you customized yours of course):

This ticket #{{ticket.id}} has been updated.
To review the status of the ticket and add updates, follow the link below:

To include whoever has been CC’d, you add this Liquid markup:

{% if ticket.cc_names != empty %}  People CC’d on this ticket: {{ticket.cc_names}}{% endif %}

It’s a simple statement: if people have been CC’d, list their names.

We added this code above the first line of text in the email body but you can place it anywhere you’d like. And of course, reword the text as you see fit.

In email notifications, this looks like this to the end-user:

If you also wanted to show that no one has been CC’d, you just need to add two more lines of code:

{% if ticket.cc_names != empty %}  People CC’d on this ticket: {{ticket.cc_names}}{% elsif ticket.cc_names == empty %}  No one has been CC’d on this ticket.{% endif %}

When no one has been CC’d, your email notifications will look like this:

To learn more about Liquid markup and how it can be used in Zendesk, see Using Liquid markup to customize comments and email notifications.

Ähnliche Beiträge

17 min read

What is brand advocacy? (+ 8 strategies to boost referrals)

Turn the people who know your business best into brand advocates with head-turning reward programs and impressive customer service.

14 min read

Customer analytics 101: What it is and how it works for growth

Customer analytics helps businesses deeply understand their audience to make smarter business decisions and improve CX.

10 min read

15 customer service resume examples and writing tips for 2024

Land the job you’re looking for with a perfectly crafted customer service resume.

2 min read

ShareFile, Levitate co-founder Jesse Lipson: Trust yourself

From bootstrapping through acquisition, Lipson advises balancing conventional wisdom with entrepreneurial spirit.