Sharepoint - Using Flow with SharePoint 2013 on prem
You can use the Data Management Gateway to connect Flow/PowerApps/PowerBI to on-prem resources.
Flow and PowerApps won't be able to access all data types in SharePoint pre-2019 on-prem, however. Test your specific scenario to see if it works.
You need to configure the onprem gateway and you should have the global admin account to create flow and configure gateway.
- Access to download and install the On-Premises data gateway on a server.
- Access to a SharePoint 2013 or 2016 environment.
- Already have a subscription set up with PowerApps and Flow.
SharePoint Gateway: PowerApps and Flow