f-klubben / jvm

A smtp server for handling the emails from Wittenborg 9100
0 stars 0 forks source link

Make notification logic and glue to services #1

Open falkecarlsen opened 2 years ago

falkecarlsen commented 2 years ago

Would be great to have both Slack and mail notification-channels and a flow for issues that needs action:

  1. Send msg to Slack-channel for coffee-machine guys
  2. If no user has reacted to msg with :+1: within timeframe, send also mail to treo-mailinglist
  3. If user has reacted to msg with :+1: does not also react with :fixd:/:fritfit: within timeframe, also send mail.

This is less spammy than just always mails, and enables some form of 'assignment' of issues to solve for the coffee-machine guys.

hrjakobsen commented 2 years ago

I've implemented almost exactly this workflow previously with Slack. I used the blocks api buttons to trigger a callback to my service that could then do further processing. In this callback you can update the message (remove buttons etc). It works quite well.