Giter VIP home page Giter VIP logo

slack-zendesk-poc's Introduction

Zendesk-Slack POC

โš ๏ธ The code in this repo is for exploration purpose, not production ready and likely to have serious security flaws.

A proof-of-concept Slack app built in Go to send messages to/from Slack. Built on top of Slack's event API and Zendesk's Channel Framework

Install dependencies.

This project uses glide to manage dependencies.

glide install

Configure the app by editing config/parameters.json

{
    "slack_verification_token": "see-app-credentialzes-in-slack",
    "slack_app_client_id": "see-app-credentials-in-slack",
    "slack_app_client_secret": "see-app-credentials-in-slack",
    "database_host": "localhost",
    "database_port": 3306,
    "database_username": "root",
    "database_password": null,
    "database_name": "slack_zendesk"
}

Migrate the database schema by executing.

Create your database before hand and then execute

go run migrate.go

Start the app by executing:

go run server.go --queues=zendesk

Start the goworker by executing

This requires that you have a redis service running in your machine. For this POC, this simply connects to a localhost instance with no authentication.

go run worker.go --queues=zendesk

Package the zat app in the /zat directory

zat package
  1. Upload the package as a private app
  2. Go to the channels integration section in Zendesk and configure the integration Installation Flow

What does it support

  • Slack OAuth, initiated from Channels Framework app
  • Add bot user to channel, then send message to create a new ticket in Zendesk. (Does not perform any kind of message filtering)
  • Replies from Zendesk are automatically sent to Slack

Slack App Set-up

OAuth Setup Bot Events Event Subscription

slack-zendesk-poc's People

Contributors

samgavinio avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.