Recherches récentes


Pas de recherche récente

McCabe Tonna's Avatar

McCabe Tonna

Adhésion le 15 avr. 2021

·

Dernière activité le 04 févr. 2022

Suivis

0

Abonnés

0

Activité totale

41

vote

1

Abonnements

27

APERÇU DES ACTIVITÉS

Dernière activité effectuée par McCabe Tonna

McCabe Tonna a ajouté un commentaire,

Commentaire de la communauté 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

Afficher le commentaire · Publication le 13 juin 2019 · McCabe Tonna

0

Abonnés

0

Votes

0

Commentaire


McCabe Tonna a ajouté un commentaire,

Commentaire de la communauté 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?

 

 

Afficher le commentaire · Publication le 23 avr. 2019 · McCabe Tonna

0

Abonnés

0

Votes

0

Commentaire


McCabe Tonna a ajouté un commentaire,

Commentaire de la communauté 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

Afficher le commentaire · Publication le 23 avr. 2019 · McCabe Tonna

0

Abonnés

0

Votes

0

Commentaire


McCabe Tonna a ajouté un commentaire,

Commentaire de la communauté 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

Afficher le commentaire · Publication le 23 avr. 2019 · McCabe Tonna

0

Abonnés

0

Votes

0

Commentaire


McCabe Tonna a ajouté un commentaire,

Commentaire de la communauté 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? 

Afficher le commentaire · Publication le 23 avr. 2019 · McCabe Tonna

0

Abonnés

0

Votes

0

Commentaire


McCabe Tonna a ajouté un commentaire,

Commentaire de la communauté 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)

 

Afficher le commentaire · Publication le 23 avr. 2019 · McCabe Tonna

0

Abonnés

0

Votes

0

Commentaire


McCabe Tonna a ajouté un commentaire,

Commentaire de la communauté 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

 

 

Afficher le commentaire · Publication le 23 avr. 2019 · McCabe Tonna

0

Abonnés

0

Votes

0

Commentaire


McCabe Tonna a ajouté un commentaire,

Commentaire de la communauté 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

Afficher le commentaire · Publication le 06 juil. 2015 · McCabe Tonna

0

Abonnés

1

vote

0

Commentaire


McCabe Tonna a ajouté un commentaire,

Commentaire de la communauté Q&A - Tickets and email

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

Afficher le commentaire · Publication le 22 mars 2015 · McCabe Tonna

0

Abonnés

0

Votes

0

Commentaire


McCabe Tonna a ajouté un commentaire,

Commentaire de la communauté 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

Afficher le commentaire · Publication le 19 mars 2015 · McCabe Tonna

0

Abonnés

0

Votes

0

Commentaire