chirp icon indicating copy to clipboard operation
chirp copied to clipboard

Build out a rule-based engine for notifications

Open 9b opened this issue 6 years ago • 2 comments

Users should have the ability to receive notifications from Chirp. Queries could be built out to look for the presence of specific tags or combinations of metadata in order to generate an in-platform alert or email alert.

Exposed tokens:

  • Monitor tag
  • Monitor category
  • Monitor term
  • Article source
  • Article tag
  • Article text

Evaluation criteria:

  • Contains
  • Does not contain
  • Equals
  • Not equals

Actions to support:

  • Send email
  • Tag monitor
  • Post to domain
  • Delete or hide

9b avatar May 20 '18 20:05 9b

denb2rev4aapqsr

9b avatar Jun 04 '18 18:06 9b

Note to self: Managed to work out the full rule concept at scale using elasticsearch and the percolator concept. Unfortunately, official python ES clients have dropped percolator support making it unclear how to best achieve the rules engine. It may be worth just issuing commands via requests and moving on versus finding a truly supported method.

9b avatar Jul 01 '18 20:07 9b