최근 검색


최근 검색 없음

Mauricio Diaz's Avatar

Mauricio Diaz

가입한 날짜: 2025년 1월 23일

·

마지막 활동: 2025년 2월 05일

팔로잉

0

팔로워

0

총 활동 수

6

투표 수

0

플랜 수

2

활동 개요

님의 최근 활동 Mauricio Diaz

Mauricio Diaz님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

I just noticed that I've got a Legacy plan (Essential). That explains why I'm not able to see those options when clicking on Apps and integrations. 

 

Is this the reason why I'm getting that response when creating the trigger?

댓글 보기 · 2025년 2월 05일에 게시됨 · Mauricio Diaz

0

팔로워

0

투표 수

0

댓글


Mauricio Diaz님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

Hi Christopher.

 

Thanks for replying :^)

 

I follow that guide, but here:

"In Admin Center, click Apps and integrations in the sidebar, then select Actions and webhooks > Webhooks."

 

After clicking on the admin center I could not find any “Actions and Webhooks” options. All the available options that appear are in the attached screenshot: apps_and_integration.png

 

Instead, I was able to check its status by listing my webhooks in API to confirm that it is active (attached picture: webhook.png)

 

댓글 보기 · 2025년 2월 05일에 게시됨 · Mauricio Diaz

0

팔로워

0

투표 수

0

댓글


Mauricio Diaz님이 에 게시물을 만듦

게시물 Developer - Zendesk APIs

Steps to reproduce

 

1. Create a webhook as listed here: 

https://developer.zendesk.com/api-reference/webhooks/webhooks-api/webhooks/#create-or-clone-webhook 

Setting “subscriptions” property as: 

"subscriptions": [

                "conditional_ticket_events"

],

 

2.  Send a POST request to:  https://my-subdomain.zendesk.com/api/v2/triggers

Create the body according to:

https://developer.zendesk.com/api-reference/ticketing/business-rules/triggers/#create-trigger

Set the action as suggested here to notify a webhook when trigger is fired:

https://developer.zendesk.com/documentation/ticketing/reference-guides/actions-reference/#additional-actions-for-ticket-triggers-and-automations

 

The body remains as:

{
  "trigger": {
    "title": "Testing",
    "description": "Test Trigger to Notify Webhook",
    "actions": [
      {
        "field": "notification_webhook",
        "value": [
        "My Webhook ID",
        "{\"ticket-title\": \"{{ticket.title}}\",\"test\": \"Sample\"}"
         ]
      }
    ],
    "conditions": {
      "all": [
        {
          "field": "status",
          "operator": "is",
          "value": "new"
        }
      ],
      "any": []
      }
    }
}

 

Expected behavior:

Trigger is created succesfully

 

Current behavior:

I'm getting the following response:

{

    "error": "RecordInvalid",

    "description": "Record validation errors",

    "details": {

        "base": [

            {

                "description": "Invalid rule target: notification_webhook"

            }

        ]

    }

}

 

 

Am I doing something wrong?

2025년 1월 24일에 편집됨 · Mauricio Diaz

0

팔로워

2

투표 수

4

댓글


Mauricio Diaz님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

Is “notification_webhook” still available? When trying to create a trigger through the API, I've got the following error: 

{

    "error": "RecordInvalid",

    "description": "Record validation errors",

    "details": {

        "base": [

            {

                "description": "Invalid rule target: notification_webhook"

            }

        ]

    }

}

 

Also, in the zendesk admin panel, when I create a trigger and define the action, I don't see the notification_webhook option.

I'm guessing it does not work anymore, does it?

 

The body request I'm sending is literally the same as the one above (excluding category_id param and obviously changing the webhook id)

댓글 보기 · 2025년 1월 23일에 게시됨 · Mauricio Diaz

0

팔로워

0

투표 수

0

댓글