Git Product home page Git Product logo

slack-responder's Introduction

Slack Responder

The slack-responder app responds to Trello POST requests and creates Trello cards ๐Ÿ˜„. Our Slack Slash Command blog post provides a detailed walkthrough to get this app up-and-running to create cards on Trello backlog boards that correspond with Slack channels. Here's the TL;DR:

Demo

Here is a video of the slack-responder app in action.

Deployment

Deployment to Heroku

slack-responder is set up to easily be deployed to Heroku.

  1. Deploy the app to Heroku (you can deploy elsewhere, but the app is all set up for Heroku).

  2. Get the environment variables that are required to run the app.

  • Log into Trello & go to this site to get the TRELLO_DEV_PUBLIC_KEY.

  • Go to this page to get the TRELLO_MEMBER_TOKEN: https://trello.com/1/authorize?key=[THE_APP_KEY]&name=trello-show&expiration=never&response_type=token&scope=read,write slack-responder will be creating cards, so it's imperative that scope=read,write is set.

  • Go to https://[YOUR_TEAM_DOMAIN].slack.com/services/new/incoming-webhook to get the SLACK_WEBHOOK_URL. It forces you to choose a default channel, but this will be overriden, so it doesn't matter.

  • Go to https://[YOUR_TEAM_DOMAIN].slack.com/services/new/slash-commands and create a custom slash command. Type in /work, click the button, and grab the token from the next screen. Route the POST request to http://[HEROKU_APP_NAME]/slack/work. Use this token to set the SLACK_WORK_COMMAND_TOKEN. Create two more custom slash commands for /retro and /card and use the tokens that are provided to set SLACK_RETRO_COMMAND_TOKEN and `SLACK_CREATE_CARD_COMMAND_TOKEN'.

  1. Set the environment variables in Heroku.

Deployment with Docker

codelitt created a Sinatra application with the same functionality as this Rails application that is meant to be deployed with Docker.

Additional features will be added soon!

Contributing

Feel free to submit a pull request if you have any improvements.

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.