Skip to content

babylonhealth/slack011y-bus

Repository files navigation

slack011y-bus

A tool can connect to public Slack channels for storing messages with threads and interacts with specific slack actions eg:

  • can reply for main or thread a message
  • can create and print basic statistics
  • can pop up a custom form where you can a specific question for a requestor
  • etc. If you use Slack channel as support channel this tool should perfectly fit for you.

Features:

  • Monitoring Slack channel - e.g. you can control your slack support channel
  • Framework intercepts Slack messages, labels and stores messages
  • Allows granular monitoring types of requests
  • Results can be presented using Grafana framework(some examples attached)

Installation:

Configuration:

  • The configuration can be handled by
    • api
    • swagger - http:///admin/api/v1/swagger/
  • Add a channel to the slack-bus app
    • use swagger "channels" to see more options
    • curl -X 'POST' \
      'http://<slack011y-bus-url>/admin/api/v1/channels/' \
      -H 'accept: application/json' \
      -H 'Content-Type: application/json' \
      -d '{
      "channel_id": "BOGUS_CHANNEL_ID",
      "channel_name": "slack011y-bus-test"
      }'

Features

- Labelling messages using emojis

  • track messages with emojis (swagger can help with this as well) - set action for specific emoji(request type)
    • swagger - http:///admin/api/v1/swagger/ - "types" to see more options
    • curl -X 'POST' \
      'http://<slack011y-bus-url>/admin/api/v1/channels/' \
      -H 'accept: application/json' \
      -H 'Content-Type: application/json' \
      -d '{
      "types": {
        "not_selected_response": "You haven't selected a type for your message.",
        "emojis": {
          "additionalProp1": {
            "emoji": "U+1F198",
            "alias": "sos",
            "image": "cloud-pr.png",
            "color": "#619BFF",
            "meaning": "Need help"
        }
      }

- Daily report

  • img.png
  • Shows unclosed requests

- Question form

  • img.png
  • adding custom question form for getting some more details about asking issue
  • recommendations - based on questions form answers we can prepare common recommendations for requestors
    • swagger - http:///admin/api/v1/swagger/ - "types" to see more options

- Start reactions

  • a custom emoji reaction which we can add to main message - it triggers changing reqeust status from "initial" to "working"
    • swagger - http:///admin/api/v1/swagger/ - "start_reactions" to see more options

- Completion reactions

  • a custom emoji reaction which we can add to main message - it triggers changing reqeust status from "working" to "completed"
    • swagger - http:///admin/api/v1/swagger/ - "completion_reactions" to see more options

- Close idle request

  • crom job which change status to "closed" for unclosed idle messages - if there is no any thread reaction for the request in defined period of time, the user will be informed and the message will be closed

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages