Regarding OpenStack and something similar, there is the underlying workflow service (not quite the same I know) called Mistral. A project called StackStorm that is related but adds event handling and a rule engine launched a couple weeks ago.
Could you use it more generically, meaning not "just" within an app but also as part of an overall control plane, sending commands to other APIs like a notification system?