최근 검색
최근 검색 없음

EdgeStar Support
가입한 날짜: 2021년 4월 15일
·
마지막 활동: 2021년 10월 27일
팔로잉
0
팔로워
0
총 활동 수
11
투표 수
0
플랜 수
7
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 EdgeStar Support
EdgeStar Support님이 에 댓글을 입력함
Winston - You are correct - but that is where the HTTP Target comes into play. As long as you can establish the correct conditions for the trigger to run on the ticket where you would like the organization to be set for that requester - then the HTTP Target and JSON code I pasted above will set the Organization. In our instance of ZenDesk, The below trigger was something I tested successfully yesterday - the conditions are very simple for my test - just needs to contain a specific tag, so you would want to determine the right set of conditions in your use case. But...once the condition is met - that JSON code will update the organization for that ticket requester.
댓글 보기 · 2018년 8월 24일에 게시됨 · EdgeStar Support
0
팔로워
5
투표 수
0
댓글
EdgeStar Support님이 에 댓글을 입력함
You can use an HTTP target to accomplish this provided you can set the condition properly to fire a trigger. I assume that based on brand / form or other requester level attribute etc you can set a tag that can be used for the correct condition to fire the trigger.
If you have an existing HTTP Target for .../api/v2/users/{{ticket.requester.id}}.json then you can simply call that, otherwise you will want to create a new one by going to Extensions / Add Target / HTTP target
Name: whatever you want to call it, i.e. "Update Requester"
Url: https://your-zendesk-domain.com/api/v2/users/{{ticket.requester.id}}.json
Method = Put
Content Type = JSON
Choose your authentication type for the API call and create
Next, find the organization id. Simply go to People / Organizations and click the one you want - get the ID that is in the url, i.e. https://your-zendesk-domain.com/agent/organizations/123456789/tickets
Next, create a new trigger for updating the organization field - set the correct conditions, i.e. ticket created and tag must contain xyz etc etc. Add the action to Notify Target - and select the appropriate target that you just created (i.e. Update Requester). Use the below JSON body - just update the value to be the organization id you found in the above step in place of what I have listed below.
{
"user":{
"organization_id" : 123456789
}
}
NOTE: You must be sure to have a condition that will only be met once. As an example, one of the ALL conditions might be that Tags | Contains None of the Following | org_updated (as an example). Then just add an action so that the trigger adds that tag after it executes the JSON. With the tag now added to that ticket the Trigger will not fire again.
댓글 보기 · 2018년 8월 23일에 게시됨 · EdgeStar Support
0
팔로워
5
투표 수
0
댓글
EdgeStar Support님이 에 댓글을 입력함
Hi - I am wondering if anyone can help with JSON for a future date. Specifically, I am less concerned about when the last satisfaction was sent and more interested in when the next satisfaction might be sent. I was hoping that the JSON referenced above could be 'now' + 30 days but I am unsure how to alter the JSON body correctly. Any ideas? Thanks!
댓글 보기 · 2018년 8월 07일에 게시됨 · EdgeStar Support
0
팔로워
0
투표 수
0
댓글