Based on what you mentioned, you want to get the data from microflow. Which means, you want work with dataSource.
https://docs.mendix.com/apidocs-mxsdk/apidocs/property-types-pluggable-widgets#datasource
Microflow type was earlier used for actions and in latest version, it was named as ‘action’ itself.
https://docs.mendix.com/apidocs-mxsdk/apidocs/property-types-pluggable-widgets#action