最近搜索


没有最近搜索

McCabe Tonna's Avatar

McCabe Tonna

已加入2021年4月15日

·

最后活动2022年2月04日

关注

0

关注者

0

活动总数

41

投票

1

订阅

27

活动概览

的最新活动 McCabe Tonna

McCabe Tonna 进行了评论,

社区评论 Q&A - Tickets and email

I was able to use Colin's suggestion and with some tweaks got it working perfectly.

This was so we can use triggers/automations to bulk notify people from a no-reply email address.

We use our no-reply email for specific escalations. 

1) Channels > Email .. Create a no-reply@yourdomain 

2) Settings > Extensions > HTTP Target

     a) https://yourdomain.zendesk.com/api/v2/tickets/{{ticket.id}}.json

     b) Method: Put, JSON data, Basic auth.. your username/token API token

3) this part must be 2 triggers

    a) First part is you need to update your ticket to utilize the proper recipient (the "from" part of the email)

    b)

c) This trigger waits for the previous trigger to finish

 

Hope this helps

查看评论 · 已于 2019年6月13日 发布 · McCabe Tonna

0

关注者

0

投票

0

评论


McCabe Tonna 进行了评论,

社区评论 Developer - Zendesk APIs

The default fields type follow their title

Subject = subject, description = description, status = status, group = group.. etc

All custom fields follow those field types listed above.

Do you have an example of something you'd want to search for?

 

 

查看评论 · 已于 2019年4月23日 发布 · McCabe Tonna

0

关注者

0

投票

0

评论


McCabe Tonna 进行了评论,

社区评论 Discussion - Tips and best practices from the community

Okay I got it working. This was for articles (article_page,hbs) where the class is known as "comment-author".

 

Added this to the script.js file(plain text to add at bottom)

the css

 

and I didn't change anything to the article_page.hbs or any other page. 

 

(added to bottom of script.js file)

 $(document).ready(function() {
 
  var moderators = ["McCabe", "McCabe T", "Adam Pepper", "Another Person"];
 
var supportManagers = ["Samantha Flaherty", "Christian Colding", "Jesper Petersson"];
  $('.comment-author').each(function(index) {
    
    var name = ($.trim($(this).text()).split('\n')[0]) //select name, stop at new line
    
if ($.inArray(name, moderators) > -1) {
$(this).addClass('moderator');
}
  })
 
 
});
 
 
/////******** CSS 
/***** USER CUSTOM ****/
.moderator:after, .support-manager:after {
 
content: "Community Moderator";
 
background-color: grey;
 
border-radius: 3px;
 
color: white;
 
margin-left: 8px;
 
padding: 2px 5px;
 
font-size: 10px;
 
}
 
.support-manager:after {
 
content: "Support Manager";
 
}
 
 
--- FWIW using this method, if someone mirrored another users' name, they too could be a community moderator

查看评论 · 已于 2019年4月23日 发布 · McCabe Tonna

0

关注者

0

投票

0

评论


McCabe Tonna 进行了评论,

社区评论 Discussion - Tips and best practices from the community

@jeremy 

I'm trying to see if i can replicate the correct and your issue

Seeing if anyone who has implemented this recently can help out

 

update: i see the script.js isn't passing the data (moderators) to our template pages

trying to pass the data. pretty new to hbs

查看评论 · 已于 2019年4月23日 发布 · McCabe Tonna

0

关注者

0

投票

0

评论


McCabe Tonna 进行了评论,

社区评论 Discussion - Tips and best practices from the community

@Jeremy, Makes sense. 

If you're saying everyone who comments gets the tag, that means it's always True.

Can you try updating it from -1 to 0? 

查看评论 · 已于 2019年4月23日 发布 · McCabe Tonna

0

关注者

0

投票

0

评论


McCabe Tonna 进行了评论,

社区评论 Discussion - Tips and best practices from the community

@Jeremy Robinson 

I haven't tested this, but wouldn't this always be true?

if ($.inArray($.trim($(this).text()), moderators) > -1)

 

查看评论 · 已于 2019年4月23日 发布 · McCabe Tonna

0

关注者

0

投票

0

评论


McCabe Tonna 进行了评论,

社区评论 Developer - Zendesk APIs

I'm not sure I follow

What do you see when you enter yourzendesksite.com/api/v2/ticket_fields.json ?

And what are you expecting to see

 

 

查看评论 · 已于 2019年4月23日 发布 · McCabe Tonna

0

关注者

0

投票

0

评论


McCabe Tonna 进行了评论,

社区评论 Q&A - Tickets and email

HI Laura,

In your triggers, swap the placeholders that state {{ticket.public_comments_formatted}} to {{ticket.latest_public_comment_formatted}}

I believe that will solve your issue.

Also, I highly recommend testing this before fully rolling this out to your customers. 

Hope this helps.

Thanks,

McCabe

查看评论 · 已于 2015年7月06日 发布 · McCabe Tonna

0

关注者

1

投票

0

评论


McCabe Tonna 进行了评论,

社区评论 Q&A - Tickets and email

I'm a little confused - Are you saying anytime you update the ticket, you are removing the tag?

查看评论 · 已于 2015年3月22日 发布 · McCabe Tonna

0

关注者

0

投票

0

评论


McCabe Tonna 进行了评论,

社区评论 Q&A - Tickets and email

I put some thought into this.

1. You can create a trigger that adds a tag, every time a private comment is made.

2. Create a view to search for that tag

3. Create a second trigger that removes the tag when you update a ticket with that tag.

This will allow for you to find these tickets without all the emails.

Hope this helps,

McCabe

查看评论 · 已于 2015年3月19日 发布 · McCabe Tonna

0

关注者

0

投票

0

评论