An open API service indexing awesome lists of open source software.

https://github.com/slack-samples/bolt-js-triage-bot

Triage Channel Stats w/ Bolt for JS & Shortcuts ⚡️
https://github.com/slack-samples/bolt-js-triage-bot

bolt slack-api triage-bot

Last synced: 6 months ago
JSON representation

Triage Channel Stats w/ Bolt for JS & Shortcuts ⚡️

Awesome Lists containing this project

README

          

# Triage Bot and Channel Stats w/ Bolt for JS & Shortcuts ⚡️

## Overview

This repository implements a 'triage bot' that can help you analyze messages in a public channel to make sure requests are being looked at and resolved. [Learn more about what a triage channel is from Slack's help center here](https://slack.com/help/articles/360000384726-Prioritize-tasks-quickly-with-triage-channels).

This application has a few entry points and features to help you keep track of requests in public channels:

| Name and Description | Visual |
|------------------------ |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **1. Scheduled Reminders**
You can invite the bot to public channels and it will monitor for and remind the channel about messages that fit specific criteria on a scheduled basis.

All messages, except those posted by the app are counted, so this works great with [Slack's Workflow Builder](https://slack.com/slack-tips/quickly-field-requests-for-your-team) and any other monitoring integration that you use that uses the emojis you configure. | [![](docs/assets/func_1_scheduled_reminders.png)](docs/assets/func_1_scheduled_reminders.png) |
| **2. Ad-hoc Reporting**
You can use the global shortcut :zap: to create ad-hoc reports on any public channel. It'll give you top-line message counts by urgency and status and provide a CSV for offline analysis too. 


  1. Trigger the modal with a [global shortcut](https://slackhq.com/speed-up-work-with-apps-for-slack) and configure your report in the resulting modal

  2. Triage stats bot will be added to the specified channel and run its analysis

  3. Triage stats will be delivered to you in a DM from the bot

| [![](docs/assets/func_2_ad_hoc_reports.gif)](docs/assets/func_2_ad_hoc_reports.gif) |
| **3. View Configuration**
The app's [Slack App Home](https://api.slack.com/surfaces/tabs) offers users a view into the configuration of the application | [![](docs/assets/func_3_app_home.png)](docs/assets/func_3_app_home.png) |

## Steps to get your own app running:
- Head over to [`docs/SETUP.md`](docs/SETUP.md) for steps to get your app running on a traditional server or your laptop
- Check out [`docs/DEPLOY_Heroku.md`](docs/DEPLOY_Heroku.md) for instructions for deploying to Heroku, a platform-as-a-service, so you dont have to run anything locally.

## Additional documentation
Additional documentation is available in the `docs/` folder of this repository

## Credits and acknowledgements
- Built off of [Bolt (v2) + Shortcuts glitch](https://glitch.com/~slack-shortcuts-bolt)
- Slack Developer Relations / Tools team for `@slack/bolt`, `@slack/oauth`, and more
- O.G. [`triagebot-example` by @johnagan](https://github.com/johnagan/triagebot-example)