This sounds great! I would recommend taking a look at the Drupal ECA module - https://www.drupal.org/project/eca , and the BPMN modeler: https://www.drupal.org/project/bpmn_io .
BPMN.io is a standalone JS modeler for managing events, conditions, actions, and gateways, all through an interface that essentially lets you draw flow charts, and is gaining traction across other projects.
Drupal's ECA module uses BPMN with Drupal's standard plugin system, providing Event, Condition, and Action plugins that can be defined in code, and easily added/configured/implemented through BPMN with no code.
This would be tremendous for adding things like payroll rules, taxes, etc.
Originally posted by @freelock in #7770 (comment)