My customers will be posting alerts I must route to a mail distribution
system. These alerts will contain a warning or error message, and they will
contain a tag such as NIFI dictating the audience for the alerts.

The customers want to manage the audience in a simple configurable system
csv file, something like this:
NIFI,12345
NIFI, 891011
CONF,666666
APP_A,987654
APP_B,11111
APP_B,22222
The system file allows them to easily modify their distribution lists. The
tags indicate the intended recipient group, the second parm is the ID for
the intended recipient - a value known to the mail system

The customer will POST a simple JSON object to NiFi whenever required on a
specific port. The posted json will include the tags for the groups they
want the mail message alert to reach - NIFI, CONF, etc etc. The post will
also include the alert message and other information.

How can I set up a workflow that will read from the system file and merge
the appropriate distribution list of recipients into the JSON each time I
receive a posted JSON alert and based on the tag(s) embedded in the
incoming JSON?

Thanks very much for your assistance.

Reply via email to