[eluser]WanWizard[/eluser]
I needed something similar, my workflow engine allows triggering a workflow by table operations (p.e. insert of a new user).
As DMZ uses the standard CI Active Record methods, I solved this in my AR extension, by overloading the insert, update and delete methods. A hook would have been easier though, as extending the database classes requires core hacking too...