Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen

Junsheng Wu
Beigetreten 01. Feb. 2023
·
Letzte Aktivität 12. Feb. 2023
Folge ich
0
Follower
0
Gesamtaktivitäten
9
Stimme
1
Abonnements
2
AKTIVITÄTSÜBERSICHT
BADGES
BEITRÄGE
POSTS
COMMUNITY-KOMMENTARE
BEITRAGSKOMMENTARE
AKTIVITÄTSÜBERSICHT
Neueste Aktivität von Junsheng Wu
Junsheng Wu hat einen Kommentar hinterlassen
Thank you so much Ahmed Zaid. That works as I expect.
Kommentar anzeigen · Gepostet 12. Feb. 2023 · Junsheng Wu
0
Follower
0
Stimmen
0
Kommentare
Junsheng Wu hat einen Post erstellt
Hi Zendesk Support,
When we are calling Zendesk API to interact with our system:
- When our end-user sends comment to our system, our system call Zendesk API to create Zendesk ticket or add new comment to an existing Zendesk ticket;
- The Support representative will view the comment on Zendesk platform and add comment via UI to response.
My question is: how do we know which comment were added by end-user, which comment were added by Support representative?
I know by click `Events` on the ticket page we can see the difference; however, the `Events` are invisible by default. What is the better way to distinguish both sources?
Here is the link to view the ticket snapshot that I captured from Zendesk platform:
https://docs.google.com/document/d/1-zefsCGOgFIfr7kmW8Kx0BrUJwsq9GWgLO30_XOro6w/edit
(It seems image upload does not function when creating the post.)
Thanks,
Junsheng from Wunderkind
Bearbeitet 10. Feb. 2023 · Junsheng Wu
0
Follower
4
Stimmen
2
Kommentare
Junsheng Wu hat einen Kommentar hinterlassen
Thank you Jack. Yes, you are right. It works after wrapping with "trigger" node. In the meanwhile, I found a issue when creating a trigger with this condition:
{
"field":"current_via_id",
"operator":"is",
"value":0
}
After creation, the UI shows:
It suppose to be:
But anyway, this condition works as expected just a UI issue I guess.
Junsheng
Kommentar anzeigen · Gepostet 02. Feb. 2023 · Junsheng Wu
0
Follower
0
Stimmen
0
Kommentare
Junsheng Wu hat einen Kommentar hinterlassen
Thank you for reply, but I don't think that's the reason since I tested by following json with operator in the condition, it did not work:
{"title":"Test trigger","active":true,"conditions":{"all":[{"field":"current_tags","value":"wunderkind","operator":"includes"}]},"actions":[{"field":"notification_webhook","value":["abc","123"]}]}
update_type | Omit the operator property |
"Create" or "Change" |
comment_is_public | Omit the operator property |
true, false, "not_relevant" (present), or "requester_can_see_comment" (present and requester can see comment) |
ticket_is_public | Omit the operator property |
"public", "private" |
Kommentar anzeigen · Gepostet 02. Feb. 2023 · Junsheng Wu
0
Follower
0
Stimmen
0
Kommentare
Junsheng Wu hat einen Kommentar hinterlassen
It doesn't work even if I added `any`:
Kommentar anzeigen · Gepostet 02. Feb. 2023 · Junsheng Wu
0
Follower
0
Stimmen
0
Kommentare
Junsheng Wu hat einen Post erstellt
I am following this instruction to create a trigger by calling this endpoint:
POST https://wunderkindtest.zendesk.com/api/v2/triggers
The request body:
{"title":"Test trigger","active":true,"conditions":{"all":[{"field":"comment_is_public","value":true},{"field":"update_type","value":"Change"}]},"actions":[{"field":"notification_webhook","value":["abc","123"]}]}
{"error": "RecordInvalid","description": "Record validation errors","details": {"base": [{"description": "Invalid conditions. You must select at least one condition."}]}}May I know what's wrong on my request body? How should I correct it? Thanks,Junsheng
Gepostet 01. Feb. 2023 · Junsheng Wu
0
Follower
2
Stimmen
6
Kommentare