Skip to content

arjunpaliath/hipchat_freshdesk_addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Freshdesk HipChat Addon

Freshdesk HipChat addon is a middleware app to notify the HipChat room when tickets in freshdesk are created or updated.

This integration is written as a rails app. The tutorial explains deploying the app on heroku--alternatively, you can deploy this in any other host. The app must be web-accessible (cannot run in a internal network / localhost). After deploying, HipChat needs to be configured--covered in section after deployment.

1. Deploying app on heroku:

  1. Signup for Heroku.
  2. Download Heroku Toolbelt. This is the heroku commandline tool.
  3. Clone the freshdesk hipchat addon from github with git clone [email protected]:freshdesk/hipchat_freshdesk_addon.git.
  4. Edit config/environment.rb and change the ENV["DOMAIN"] with the heroku app name, eg http://your-hipchat-addon.herokuapp.com.
  5. Do git init.
  6. Do git add .
  7. Do git commit -m "Initial import of freshdesk hipchat addon"
  8. Do heroku login
  9. Once authenticated, you will be requested to configure and share your public key with heroku.
  10. Do heroku create <your-hipchat-addon>. <your-hipchat-addon> is the app name in heroku also which is mentioned in environment.rb.
  11. Do git push heroku master
  12. Do heroku logs to see the logs from heroku.

To test if the addon is deployed successfully, point your browser to http://your-hipchat-addon.herokuapp.com/hipchat. You should see a JSON response.

2. Configuring HipChat to use freshdesk-hipchat addon

  1. Login to HipChat. Go to the rooms tab, and select the room where Freshdesk notifications needs to be published.
  2. Select Integrations menu link in the left navigation.
  3. Click on the link Build and install your own integration.
  4. You will be prompted to provide the integration URL. Give the URL http://your-hipchat-addon.herokuapp.com/hipchat. Click on Add integration.
  5. You will be shown the Freshdesk configuration screen, where you need to provide:
    1. Freshdesk domain and API key.
    2. Choose on what event the notifications must be triggered--only on ticket create or on update too.

Releases

No releases published

Packages

No packages published