Recent searches


No recent searches

Send notifications to Slack



Posted Jan 11, 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 comments

image avatar

Paolo

Zendesk Engineering

Hi Josh,
 
Unfortunately, this is not a feature of our integration. Appreciate for sharing your use case!
 
Best,
Paolo | Technical Support Engineer | Zendesk

0


Hi all, 

 

Noticing that triggers do work well with the Slack<>Zendesk integration. With that said, I notice I cannot use the Zendesk integration with "Automations" - hence I cannot notify a slack channel with time-based type of alerts (x hours since the last udpate) etc.

 

Is there a way to solve it via the Slack/ Zendesk integration, or do I need to set up bots in Slack etc? 

 

 

0


image avatar

Mike DR

Zendesk Customer Care

Hi Andy! I just checked my test environment and it's possible to notify a webhook in an Automation. The automation action would be named "Notifications: Active Webhook".

0


as I live and breathe! it magically appeared on my Automation actions! thanks Mike DR!

0


image avatar

Mike DR

Zendesk Customer Care

Hi Andy!

You're most welcome and Happy Holidays!

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post