The best way to do this is to this is to run a rule from the widget and pass the input variables to the rule using the rule context property of the rule action. The rule can then process the values however you wish and send the results to any items.
It is possible to do this all within the widget system however, so the fully widget way of doing this would follow
But will be kind of ridiculous for five separate items.