Skip to content

cognits/dbot

Repository files navigation

taskbot

taskbot is a chat bot built on the Hubot framework. It was initially generated by generator-hubot, and configured to be deployed on Heroku to get you up and running as quick as possible.

This README is intended to help get you started. Definitely update and improve to talk about your own instance, how to use and deploy, what functionality he has, etc!

To Do's

Doing

  • Get confirmation of messages being sent/received
  • Verify bot interaction in Slack Channels and Groups (will probably need to change from hear to respond?)

Done

Finished

  • Correctly send attachments from Zendesk to Slack

  • Implement "satisfied with care" for a given task

  • Improve Bot's messages to design User Flow

    • Add intro first time message "Hi, this is how you use me"
    • Add "Working hard right now..."
  • Implement "Waiting" user flow

  • Integrate Parse to save all conversation

  • Integrate Keen io for Analytics

Backlog

  • Make bot work in Channels (means multiple users can create 1 task)

  • First time show instructions on how to use (commands)

  • Implement help function that shows commands

  • Add tests

  • Automate testing

  • Automate deployment

  • Let two tasks be created at same time.

  • Check tone of task (urgent or normal)

  • Permit more complex and accurate user interactions (not happy with work, complaint)

    • Vary questions depending on design task (infograph, presentation)
  • Emergency real person chatting override

  • Bot learns about users. Ability learning curve (teaches new functionalities after some time)

  • Have memory of history of tasks (taskbot get me the history)

  • Learn about users and teams (brands, preferences...)

  • Progressive mastery design (while users learn to use taskbot, more features are unlocked)

  • Implement dynamic conversations with SETS of messages

  • Schedule repeating Tasks ("Taskbot I will need conversion images every Tuesday")

Running taskbot Locally

You can test your hubot by running the following, however some plugins will not behave as expected unless the environment variables they rely upon have been set.

You can start taskbot locally by running:

% HUBOT_SLACK_TOKEN=xoxb-8449788979-T3av6Q6gHKNUXMKZG0fI0Z5X ./bin/hubot --adapter slack

Deploy Steps

  1. Clone this repository

  2. Create Heroku App

heroku create APP_NAME

  1. Add Redis

heroku addons:add redistogo:nano

  1. Set Heroku Configs (HUBOT_SLACK_TOKEN & URL)

heroku config:add HUBOT_SLACK_TOKEN=xoxb-1234-5678-91011-00e4dd

heroku config:add HUBOT_SLACK_TOKEN=xoxb-8449788979-T3av6Q6gHKNUXMKZG0fI0Z5X

  1. Add Heroku Configs (Keen.io) https://keen.io/docs/integrations/heroku/

heroku config:add KEEN_PROJECT_ID=55d37a75d2eaaa7a100e12aa

heroku config:add KEEN_WRITE_KEY=91b603f7d5025a307e6f32f248b0b4a819f960fe3986c0cf486ffe5737d7946c7fffbdc94ca6041a0320f38b64616cb75530b056c060a635db94cf4e540c323131122ad4032560e77c4246073058ca81e791e7738e5a65e4bf9dd2b88f048b7d1b61c0ecbbc4d42cff4493de5d106029

  1. Add Heroku:addon https://devcenter.heroku.com/articles/scheduler

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published