We had module Rewards module for Dolphin and going to transfer it on UNA. Looks like it is exactly what you are looking for.
About documentation: we have no detailed documentation right now, it should be available soon. We can describe you how to do this.
Contact us please via PM and describe what kind of actions you would like to add.