최근 검색
최근 검색 없음

Craig Wilding
가입한 날짜: 2021년 10월 22일
·
마지막 활동: 2021년 10월 22일
팔로잉
0
팔로워
0
총 활동 수
3
투표
1
가입 플랜
1
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Craig Wilding
Craig Wilding님이 에 댓글을 입력함
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.
댓글 보기 · 2016년 7월 12일에 게시됨 · Craig Wilding
0
팔로워
0
투표 수
0
댓글