最近搜索


没有最近搜索

Arturo Moral Santiago's Avatar

Arturo Moral Santiago

已加入2021年4月15日

·

最后活动2022年2月01日

关注

0

关注者

0

活动总数

6

投票

1

订阅

4

活动概览

的最新活动 Arturo Moral Santiago

Arturo Moral Santiago 创建了一个帖子,

帖子 Discussion - Tips and best practices from the community

Setting up the notification target

  • Create a Slack incoming webhook using the channel you want to send the notifications to
  • From Zendesk, navigate to Settings > Extensions > Targetsadd target
  • Click on HTTP Target
  • Setup the target to integrate with the previously created incoming webhook
    • Title: A descriptive title 
    • URL: use previously created incoming webhook’s URL
    • Method: POST
    • Content Type: JSON 
    • Basic Authentication: not necessary 

Example application: setting up notifications within triggers 

  • Under the Perform these actions: section, select Notifications: Notify target
 
  • Select the target previously created 
  • In the Message: text box, add the notification message in the request form formatted as JSON.  
    Example:
    {
    "attachments":[
    {
    "fallback":"New problem ticket created:bangbang:",
    "pretext":"New problem ticket created:bangbang:",
    "color":"#D00000",
    "fields":[
    {
    "title":"Subject: {{ticket.title}}",
    "value":"{{ticket.url}}",
    "short":false
    }
    ]
    }
    ]
    }
  • Test it! It should look similar to this 

 
 

已于 2017年1月11日 发布 · Arturo Moral Santiago

0

关注者

32

投票

35

评论