Pesquisas recentes


Sem pesquisas recentes

Send notifications to Slack



Publicado 11 de jan. de 2017

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 

 
 

0

35

35 comentários

Por favor, entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação