
* Create a new cloud flow in a solution and add a Get items action.
* In the solution, create an environment variable where Data Type equals Data source and Parameter Type equals Site. This will store the SharePoint site URL as a variable.
* In the solution, create another environment variable where Data Type equals Data source and Parameter
* Type equals List. This will store the SharePoint list name as a variable.
* Choose a SharePoint site and list from available environmental variables in the Get items action. You can use the parameters function to reference the variables by name.
* Enter custom values for the target SharePoint site and list in each environment where you deploy the flow. You can do this while importing the solution or by editing the environment variables.