Skip to content

Instantly share code, notes, and snippets.

@itsmikelynch
Created January 15, 2016 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itsmikelynch/f031dd57771d4170c993 to your computer and use it in GitHub Desktop.
Save itsmikelynch/f031dd57771d4170c993 to your computer and use it in GitHub Desktop.
Custom Slack notification from Zendesk
{
"username": "Zendesk Mentions",
"channel": "@username",
"icon_emoji": ":zendesk:",
"attachments": [{
"fallback": "@username: You've been mentioned by {{current_user.name}} in the following Zendesk ticket: <https://{{ticket.url}}|Ticket ID #{{ticket.id}}>",
"pretext": "@username: You've been mentioned by {{current_user.name}} in the following Zendesk ticket: <https://{{ticket.url}}|Ticket ID #{{ticket.id}}>",
"color": "good",
"fields": [{
"title": "{{ticket.title}}",
"short": false
}]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment