Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

medivo/slack-responder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published