최근 검색


최근 검색 없음

How to get the latest agent comment from a ticket when sending a webhook event



2025년 1월 09일에 게시됨

We are trying to send a webhook event in which a webhook is triggered  when a ticket moves to closed or resolved status. In the webhook event data we would like to include the tickets last comment from an agent (or even include an additional field that indicates what type of user the last comment was sent from. E.g. support agent, or the requester for example. Is this possible.

 

 

My attempt to do this is doing the following in the body of the webhook

 

```

{
  "ticket_id":"{{ticket.id}}",
  "ticket_subject":"{{ticket.title}}",
  "ticket_status":"{{ticket.status}}",
  "last_agent_response":"{{ticket.latest_public_comment}}",
  "closed_at":"{{ticket.updated_at}}"
}

```

 

Esentially I want to store in by backend service when a zendesk ticket is closed or resolved, what was the last comment left by a zendesk admin or agent that was visible to the end user / requester


1

0

댓글 0개

댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물