Add Feedback Field to Zendesk Guide with Slack notification

Setting for Slack Integration

Get Incoming Webhook url based on the following article.

Setting for Zendesk Guide

The following files to be updated.

  • article_page.hbs
  • script.js
  • script.css

article_page.hbs

In article_page.hbs, there is the following code.

style.css

Add the following style to the bottom of style.css.

script.js

Put it at the end in document.addEventListener(‘DOMContentLoaded’, function() {} in script.js. Also, set the WebHook settings retrieved by Slack in the url variable

Result

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store