I was a little sad that no one had any thoughts on this.. I'm sure there will be other examples in the future. You could include the map pairs as parameters maybe but that seems a little limiting.
My work around is to have a virtual switch that an external service can set via maker that my app will respond to, querying the external service as to what to do next then do it.. if that makes any sense.