Have the ability (maybe in a Flow) to write variables (data) to a text file.
Tasker could then read this file, process the data and then send back some information to the widget.
This seems like a good alternative to the intent URI in flows which is not working.