ข้ามไปยังเนื้อหาหลัก

Article 1 min read

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

อัปเดตล่าสุด 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:
http://{{ticket.url}}
{{ticket.comments_formatted}}

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.

เรื่องที่เกี่ยวข้อง

Article
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.

Article
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.

Article

20 customer service resume examples + tips for 2024

Take the next step in your CX career with a customer service resume that stands out. Use one of our 20 templates below to get started.

Article
2 min read

ShareFile, Levitate co-founder Jesse Lipson: Trust yourself

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