As the SharePoint 2016 farm is built in the VM, you cannot use your O365 flow service in a different on-premise farm.
Microsoft Flow is a cloud service. You can use it against SharePoint
2016 however you must deploy the Data Management Gateway and use that
gateway when making connections from Flow.
There are limitations when using the Data ...