Recherches récentes
Pas de recherche récente

Craig Wilding
Adhésion le 22 oct. 2021
·
Dernière activité le 22 oct. 2021
Suivis
0
Abonnés
0
Activité totale
3
vote
1
Abonnement
1
APERÇU DES ACTIVITÉS
BADGES
ARTICLES
PUBLICATIONS
COMMENTAIRES DE LA COMMUNAUTÉ
COMMENTAIRES SUR L’ARTICLE
APERÇU DES ACTIVITÉS
Dernière activité effectuée par Craig Wilding
Craig Wilding a ajouté un commentaire,
Greetings. I think this may help if your business case matches ours.
We need to be able to "bounce" or forward a ticket onto a 3rd party who isn't a Zendesk user. We want the 3rd-party group to be able to comment on the ticket and have their response visible to the original requester (our employee) and the Support Agent.
Facing solutions fraught with unnecessary complexities, we instead did the following:
- Created a Macro that added a unique tag
- Created an HTTP Target, dogfooding the Zendesk Ticket API
- Created a Trigger to invoke the Target based on the tag
- Added a 2nd tag to prevent the trigger from firing on next updates
Here's how:
- We created a "Bounce to Group XYZ" Macro, which adds a tag specific to the 3rd-party - i.e. "group_xyz." The tag is added when a Support Agent wishes to manually bounce the ticket to our XYZ folks, but still wants the requester to be part of the conversation.
- Created an HTTP Target (Extensions >> Targets >> Add Target >> HTTP) with the PUT verb and JSON content type. The URL is the Ticket API endpoint with a placeholder tag for the TicketID: https://yourdomain.zendesk.com/api/v2/tickets/{{ticket.id}}.json.
- Created a "Route Request to XYZ" Trigger, which fires upon both a ticket update and when the "group_xyz" tag is present. The trigger immediately adds an extra tag to flag that the request was dispatched. Subsequent ticket updates don't fire the trigger because it checks for the absence of the dispatch flag.
- The Trigger payload (JSON body) includes the additional CC user(s) and a comment for the new CC user(s) to see: {"ticket": {"additional_collaborators": [ { "name": "Group XYZ", "email": "group@xyz.com" } ], "comment": { "body": "Ticket #{{ticket.id}} assigned to [Group XYZ] from [{{ticket.requester.name}}] by [{{ticket.assignee.name}}]." }}}
This is a simple use case for using the Zendesk API, which is very robust. Hopefully we'll be able to continue using it this way because it's an ideal workaround.
Best,
Craig.
Afficher le commentaire · Publication le 12 juil. 2016 · Craig Wilding
0
Abonnés
0
Votes
0
Commentaire