Skip to content

Slackbot made with Node, Bolt.js storing data in CockroachDB with Sequelize ORM

Notifications You must be signed in to change notification settings

khloe-r/MarketingRequestBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marketing Request Bot

This Slack bot was created for LEAP Canada's marketing department to help streamline the process of creating and completing tasks.

Built with Node, Bolt.js, CockroachDB and Sequelize ORM

Commands:

/new-request

  • allows users to fill in a request form and inserts task in SQL database
  • sends message to responsible department channel to complete task
  • sends direct message to member sending request to confirm it has been created

Direct message from bot

/view-tasks

  • generates a report of all not completed tasks to help check status

Task report

Preview Bot message for task request

Each message contains a In Progress button (reacts to message with 👀) and Complete button (reacts to message with ✅ and deletes task from database)

Confirmation message

How to Use

  • Visit api.slack.com for instructions to set up your bot on your desired Slack workspace
  • Clone this repo and run npm install
  • Create environmental variables for SLACK_SIGNING_SECRET, SLACK_BOT_TOKEN and SLACK_APP_TOKEN from the Slack API website
  • Set up a CockroachDB cluster and create another environmental variable for your DATABASE_URL

About

Slackbot made with Node, Bolt.js storing data in CockroachDB with Sequelize ORM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published